garf-executors 0.0.1__tar.gz → 0.0.2__tar.gz

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.
Files changed (21) hide show
  1. {garf_executors-0.0.1 → garf_executors-0.0.2}/PKG-INFO +1 -1
  2. {garf_executors-0.0.1 → garf_executors-0.0.2}/garf_executors/entrypoints/utils.py +4 -2
  3. {garf_executors-0.0.1 → garf_executors-0.0.2}/garf_executors.egg-info/PKG-INFO +1 -1
  4. {garf_executors-0.0.1 → garf_executors-0.0.2}/pyproject.toml +1 -1
  5. {garf_executors-0.0.1 → garf_executors-0.0.2}/README.md +0 -0
  6. {garf_executors-0.0.1 → garf_executors-0.0.2}/garf_executors/__init__.py +0 -0
  7. {garf_executors-0.0.1 → garf_executors-0.0.2}/garf_executors/api_executor.py +0 -0
  8. {garf_executors-0.0.1 → garf_executors-0.0.2}/garf_executors/bq_executor.py +0 -0
  9. {garf_executors-0.0.1 → garf_executors-0.0.2}/garf_executors/entrypoints/__init__.py +0 -0
  10. {garf_executors-0.0.1 → garf_executors-0.0.2}/garf_executors/entrypoints/cli/__init__.py +0 -0
  11. {garf_executors-0.0.1 → garf_executors-0.0.2}/garf_executors/entrypoints/cli/api.py +0 -0
  12. {garf_executors-0.0.1 → garf_executors-0.0.2}/garf_executors/entrypoints/cli/bq.py +0 -0
  13. {garf_executors-0.0.1 → garf_executors-0.0.2}/garf_executors/entrypoints/cli/gaarf.py +0 -0
  14. {garf_executors-0.0.1 → garf_executors-0.0.2}/garf_executors/entrypoints/cli/sql.py +0 -0
  15. {garf_executors-0.0.1 → garf_executors-0.0.2}/garf_executors/sql_executor.py +0 -0
  16. {garf_executors-0.0.1 → garf_executors-0.0.2}/garf_executors.egg-info/SOURCES.txt +0 -0
  17. {garf_executors-0.0.1 → garf_executors-0.0.2}/garf_executors.egg-info/dependency_links.txt +0 -0
  18. {garf_executors-0.0.1 → garf_executors-0.0.2}/garf_executors.egg-info/entry_points.txt +0 -0
  19. {garf_executors-0.0.1 → garf_executors-0.0.2}/garf_executors.egg-info/requires.txt +0 -0
  20. {garf_executors-0.0.1 → garf_executors-0.0.2}/garf_executors.egg-info/top_level.txt +0 -0
  21. {garf_executors-0.0.1 → garf_executors-0.0.2}/setup.cfg +0 -0
@@ -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
@@ -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
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "garf-executors"
7
- version = "0.0.1"
7
+ version = "0.0.2"
8
8
  dependencies = [
9
9
  "garf-core",
10
10
  "garf-io",
File without changes
File without changes