tellaro-query-language 0.2.1__py3-none-any.whl → 0.2.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tellaro-query-language
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: A flexible, human-friendly query language for searching and filtering structured data
5
5
  Home-page: https://github.com/tellaro/tellaro-query-language
6
6
  License: MIT
@@ -24,6 +24,7 @@ Requires-Dist: opensearch-dsl (>=2.1.0,<3.0.0) ; extra == "opensearch"
24
24
  Requires-Dist: opensearch-py (>=2.4.2,<3.0.0) ; extra == "opensearch"
25
25
  Requires-Dist: pyparsing (>=3.2.1,<4.0.0)
26
26
  Requires-Dist: setuptools (>=80.0.0,<81.0.0)
27
+ Requires-Dist: urllib3 (>=2.5.0,<3.0.0)
27
28
  Project-URL: Documentation, https://github.com/tellaro/tellaro-query-language/tree/main/docs
28
29
  Project-URL: Repository, https://github.com/tellaro/tellaro-query-language
29
30
  Description-Content-Type: text/markdown
@@ -35,7 +35,7 @@ tql/opensearch_components/__init__.py,sha256=_zIZY8Fns7mkEcY6w2p9FNRBXtEmmPFFJEc
35
35
  tql/opensearch_components/field_mapping.py,sha256=fj388cKVyDXLJKi8giSiGHL9zg4cFRzy0VJ6nIsppSo,18102
36
36
  tql/opensearch_components/lucene_converter.py,sha256=OvYTZHNBktPGow1fsVm4TMlvxHSmWrnqo42lFZNxXTo,13175
37
37
  tql/opensearch_components/query_converter.py,sha256=vLoBqv7W3ntqUH6hcuT4PDJkGkAGSQCxMvAWC482c0g,41971
38
- tql/opensearch_mappings.py,sha256=zJCCdMrxK7mswrkxd5LiOhunQ9GIJNZdhktVoGXgVgk,11529
38
+ tql/opensearch_mappings.py,sha256=sVLlQlE3eGD7iNNZ_m4F4j5GVzQAJhZyCqDKYRhLRh8,11531
39
39
  tql/opensearch_stats.py,sha256=aMV__jtlfogGBnFucsNPazORro2mYTz_C_w9uxOqsMI,24384
40
40
  tql/parser.py,sha256=9kewX4IbBL3W5hbq9Xhi4BGrQ4QaoWqz9AJV0Yuf9YA,78665
41
41
  tql/parser_components/README.md,sha256=lvQX72ckq2zyotGs8QIHHCIFqaA7bOHwkP44wU8Zoiw,2322
@@ -49,8 +49,8 @@ tql/scripts.py,sha256=VOr5vCjIvKlW36kwvJx7JGFIRM16IJZlbJcWlBexBtk,3728
49
49
  tql/stats_evaluator.py,sha256=OQZuNLwLHAtWrwAh3utdtr1fQt3tftCs6L-1G1NQCGQ,22318
50
50
  tql/stats_transformer.py,sha256=MT-4rDWZSySgn4Fuq9H0c-mvwFYLM6FqWpPv2rHX-rE,7588
51
51
  tql/validators.py,sha256=e9MlX-zQ_O3M8YP8vXyMjKU8iiJMTh6mMK0iv0_4gTY,3771
52
- tellaro_query_language-0.2.1.dist-info/LICENSE,sha256=zRhQ85LnW55fWgAjQctckwQ67DX5Jmt64lq343ThZFU,1063
53
- tellaro_query_language-0.2.1.dist-info/METADATA,sha256=n6HiYl4OXcSWfbp6y0SsQdPxohSoV4be0S9hWglzHNA,15700
54
- tellaro_query_language-0.2.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
55
- tellaro_query_language-0.2.1.dist-info/entry_points.txt,sha256=H43APfGBMsZkKsUCnFTaqprQPW-Kce2yz2qsBL3dZrw,164
56
- tellaro_query_language-0.2.1.dist-info/RECORD,,
52
+ tellaro_query_language-0.2.2.dist-info/LICENSE,sha256=zRhQ85LnW55fWgAjQctckwQ67DX5Jmt64lq343ThZFU,1063
53
+ tellaro_query_language-0.2.2.dist-info/METADATA,sha256=QsCXKY_0aHeMorc4PepJ84ViZbTK53suxILmr868Lkk,15740
54
+ tellaro_query_language-0.2.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
55
+ tellaro_query_language-0.2.2.dist-info/entry_points.txt,sha256=H43APfGBMsZkKsUCnFTaqprQPW-Kce2yz2qsBL3dZrw,164
56
+ tellaro_query_language-0.2.2.dist-info/RECORD,,
@@ -52,7 +52,7 @@ def extract_field_mappings_from_opensearch(
52
52
  try:
53
53
  # Extract field names from the TQL query
54
54
  field_names = tql_instance.extract_fields(tql_query)
55
- logger.info(f"Extracted {len(field_names)} fields from TQL query: {field_names}")
55
+ logger.debug(f"Extracted {len(field_names)} fields from TQL query: {field_names}")
56
56
 
57
57
  if not field_names:
58
58
  logger.warning("No fields found in TQL query")
@@ -68,7 +68,7 @@ def extract_field_mappings_from_opensearch(
68
68
  # Extract and convert mappings to TQL format
69
69
  tql_mappings = _convert_opensearch_mappings_to_tql_format(mapping_response, field_names)
70
70
 
71
- logger.info(f"Successfully converted mappings for {len(tql_mappings)} fields")
71
+ logger.debug(f"Successfully converted mappings for {len(tql_mappings)} fields")
72
72
  return tql_mappings
73
73
 
74
74
  except Exception as e: