garf-executors 0.0.1__py3-none-any.whl → 0.0.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.

Potentially problematic release.


This version of garf-executors might be problematic. Click here for more details.

@@ -299,14 +299,16 @@ class ParamsParser:
299
299
  if not identifier or identifier not in key:
300
300
  return None
301
301
  provided_identifier, key = key.split('.')
302
- if provided_identifier.replace('--', '') not in self.identifiers:
302
+ provided_identifier = provided_identifier.replace('--', '')
303
+ if provided_identifier not in self.identifiers:
303
304
  raise GarfParamsException(
304
305
  f'CLI argument {provided_identifier} is not supported'
305
306
  f", supported arguments {', '.join(self.identifiers)}"
306
307
  )
308
+ if provided_identifier != identifier:
309
+ return None
307
310
  key = key.replace('-', '_')
308
311
  if len(param) == 2:
309
- # TODO: b/337860595 - Ensure that writer params are converted to int
310
312
  return {key: param[1]}
311
313
  raise GarfParamsException(
312
314
  f'{identifier} {key} is invalid,'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: garf-executors
3
- Version: 0.0.1
3
+ Version: 0.0.2
4
4
  Summary: Executes queries against API and writes data to local/remote storage.
5
5
  Author-email: "Google Inc. (gTech gPS CSE team)" <no-reply@google.com>
6
6
  License: Apache 2.0
@@ -18,13 +18,13 @@ Requires-Python: >=3.8
18
18
  Description-Content-Type: text/markdown
19
19
  Requires-Dist: garf-core
20
20
  Requires-Dist: garf-io
21
- Provides-Extra: all
22
- Requires-Dist: garf-executors[bq,sql] ; extra == 'all'
23
21
  Provides-Extra: bq
24
- Requires-Dist: garf-io[bq] ; extra == 'bq'
25
- Requires-Dist: pandas ; extra == 'bq'
22
+ Requires-Dist: garf-io[bq]; extra == "bq"
23
+ Requires-Dist: pandas; extra == "bq"
26
24
  Provides-Extra: sql
27
- Requires-Dist: garf-io[sqlalchemy] ; extra == 'sql'
28
- Requires-Dist: pandas ; extra == 'sql'
25
+ Requires-Dist: garf-io[sqlalchemy]; extra == "sql"
26
+ Requires-Dist: pandas; extra == "sql"
27
+ Provides-Extra: all
28
+ Requires-Dist: garf-executors[bq,sql]; extra == "all"
29
29
 
30
30
  # Gaarf Executors
@@ -3,14 +3,14 @@ garf_executors/api_executor.py,sha256=axB7msuZ7LXFk_f3MjIyGM2AhDILyu7g70zqNW0hG6
3
3
  garf_executors/bq_executor.py,sha256=JBPxbDRYgUgpJv6SqYiFPypTFjZGIZ-SOOb6dS2sZQY,3822
4
4
  garf_executors/sql_executor.py,sha256=vBNQ4HZZYxP_EYAh8Z4BerzLESfsNpXdhENzXIw-OIo,2532
5
5
  garf_executors/entrypoints/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- garf_executors/entrypoints/utils.py,sha256=07SUDnnjznO8o3r2qHsVFAz8TDbvv6T8MhtLdWxv8rc,15085
6
+ garf_executors/entrypoints/utils.py,sha256=C-XbXunnt7HN27eHcTAO7iytu6rM4eWNKApxL345Z6g,15116
7
7
  garf_executors/entrypoints/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
8
  garf_executors/entrypoints/cli/api.py,sha256=0QzB7KdXyZnHhaMEGsFhj2B8hyNxV-F5JW6zC90rTcQ,7118
9
9
  garf_executors/entrypoints/cli/bq.py,sha256=Rk3nTkcGhyp1hnSSFsLFIFPXo33l_B_O1MiCK2fdZM8,3824
10
10
  garf_executors/entrypoints/cli/gaarf.py,sha256=0QzB7KdXyZnHhaMEGsFhj2B8hyNxV-F5JW6zC90rTcQ,7118
11
11
  garf_executors/entrypoints/cli/sql.py,sha256=tXQwhrLNUvfORxVdaZHnIawAR06oWZGro2vcreJ22Kc,3753
12
- garf_executors-0.0.1.dist-info/METADATA,sha256=ksb0r59ozF1UFEOfQ5zS_-oh3Wus8ByjpVxrN8KmV8M,1180
13
- garf_executors-0.0.1.dist-info/WHEEL,sha256=a7TGlA-5DaHMRrarXjVbQagU3Man_dCnGIWMJr5kRWo,91
14
- garf_executors-0.0.1.dist-info/entry_points.txt,sha256=ksbFBDblKlOYqNyYoL3uaZVYWEYM_KWb0sWrvUamhd4,136
15
- garf_executors-0.0.1.dist-info/top_level.txt,sha256=sP4dCXOENPn1hDFAunjMV8Js4NND_KGeO_gQWuaT0EY,15
16
- garf_executors-0.0.1.dist-info/RECORD,,
12
+ garf_executors-0.0.2.dist-info/METADATA,sha256=rxCpgyIWOUo0tQu3HL4kM3cki8eW__tBPgFm3Ee3xIA,1175
13
+ garf_executors-0.0.2.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
14
+ garf_executors-0.0.2.dist-info/entry_points.txt,sha256=ksbFBDblKlOYqNyYoL3uaZVYWEYM_KWb0sWrvUamhd4,136
15
+ garf_executors-0.0.2.dist-info/top_level.txt,sha256=sP4dCXOENPn1hDFAunjMV8Js4NND_KGeO_gQWuaT0EY,15
16
+ garf_executors-0.0.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.4.0)
2
+ Generator: setuptools (75.6.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5