garf-executors 0.0.5__tar.gz → 0.0.6__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.

Potentially problematic release.


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

Files changed (20) hide show
  1. {garf_executors-0.0.5 → garf_executors-0.0.6}/PKG-INFO +1 -1
  2. {garf_executors-0.0.5 → garf_executors-0.0.6}/garf_executors/__init__.py +1 -1
  3. {garf_executors-0.0.5 → garf_executors-0.0.6}/garf_executors/sql_executor.py +7 -0
  4. {garf_executors-0.0.5 → garf_executors-0.0.6}/garf_executors.egg-info/PKG-INFO +1 -1
  5. {garf_executors-0.0.5 → garf_executors-0.0.6}/README.md +0 -0
  6. {garf_executors-0.0.5 → garf_executors-0.0.6}/garf_executors/api_executor.py +0 -0
  7. {garf_executors-0.0.5 → garf_executors-0.0.6}/garf_executors/bq_executor.py +0 -0
  8. {garf_executors-0.0.5 → garf_executors-0.0.6}/garf_executors/entrypoints/__init__.py +0 -0
  9. {garf_executors-0.0.5 → garf_executors-0.0.6}/garf_executors/entrypoints/cli.py +0 -0
  10. {garf_executors-0.0.5 → garf_executors-0.0.6}/garf_executors/entrypoints/server.py +0 -0
  11. {garf_executors-0.0.5 → garf_executors-0.0.6}/garf_executors/entrypoints/utils.py +0 -0
  12. {garf_executors-0.0.5 → garf_executors-0.0.6}/garf_executors/exceptions.py +0 -0
  13. {garf_executors-0.0.5 → garf_executors-0.0.6}/garf_executors/fetchers.py +0 -0
  14. {garf_executors-0.0.5 → garf_executors-0.0.6}/garf_executors.egg-info/SOURCES.txt +0 -0
  15. {garf_executors-0.0.5 → garf_executors-0.0.6}/garf_executors.egg-info/dependency_links.txt +0 -0
  16. {garf_executors-0.0.5 → garf_executors-0.0.6}/garf_executors.egg-info/entry_points.txt +0 -0
  17. {garf_executors-0.0.5 → garf_executors-0.0.6}/garf_executors.egg-info/requires.txt +0 -0
  18. {garf_executors-0.0.5 → garf_executors-0.0.6}/garf_executors.egg-info/top_level.txt +0 -0
  19. {garf_executors-0.0.5 → garf_executors-0.0.6}/pyproject.toml +0 -0
  20. {garf_executors-0.0.5 → garf_executors-0.0.6}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: garf-executors
3
- Version: 0.0.5
3
+ Version: 0.0.6
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>, Andrei Markin <andrey.markin.ppc@gmail.com>
6
6
  License: Apache 2.0
@@ -27,4 +27,4 @@ __all__ = [
27
27
  'ApiQueryExecutor',
28
28
  ]
29
29
 
30
- __version__ = '0.0.5'
30
+ __version__ = '0.0.6'
@@ -47,6 +47,13 @@ class SqlAlchemyQueryExecutor(query_editor.TemplateProcessorMixin):
47
47
  """
48
48
  self.engine = engine
49
49
 
50
+ @classmethod
51
+ def from_connection_string(
52
+ cls, connection_string: str
53
+ ) -> SqlAlchemyQueryExecutor:
54
+ engine = sqlalchemy.create_engine(connection_string)
55
+ return cls(engine)
56
+
50
57
  def execute(
51
58
  self,
52
59
  script_name: str | None,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: garf-executors
3
- Version: 0.0.5
3
+ Version: 0.0.6
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>, Andrei Markin <andrey.markin.ppc@gmail.com>
6
6
  License: Apache 2.0
File without changes
File without changes