dataflow-core 2.0.8__tar.gz → 2.0.9__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 dataflow-core might be problematic. Click here for more details.

Files changed (31) hide show
  1. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/PKG-INFO +1 -1
  2. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/dataflow/dataflow.py +1 -1
  3. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/dataflow/utils/aws_secrets_manager.py +2 -5
  4. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/dataflow_core.egg-info/PKG-INFO +1 -1
  5. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/setup.py +1 -1
  6. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/README.md +0 -0
  7. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/authenticator/__init__.py +0 -0
  8. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/authenticator/dataflowairflowauthenticator.py +0 -0
  9. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/authenticator/dataflowhubauthenticator.py +0 -0
  10. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/authenticator/dataflowsupersetauthenticator.py +0 -0
  11. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/authenticator/package/__init__.py +0 -0
  12. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/authenticator/package/configuration.py +0 -0
  13. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/authenticator/package/models/__init__.py +0 -0
  14. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/authenticator/package/models/database.py +0 -0
  15. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/authenticator/package/models/session.py +0 -0
  16. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/authenticator/package/models/user.py +0 -0
  17. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/dataflow/__init__.py +0 -0
  18. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/dataflow/configuration.py +0 -0
  19. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/dataflow/environment.py +0 -0
  20. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/dataflow/models/__init__.py +0 -0
  21. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/dataflow/models/database.py +0 -0
  22. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/dataflow/models/environment.py +0 -0
  23. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/dataflow/scripts/clone_environment.sh +0 -0
  24. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/dataflow/scripts/create_environment.sh +0 -0
  25. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/dataflow/utils/__init__.py +0 -0
  26. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/dataflow_core.egg-info/SOURCES.txt +0 -0
  27. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/dataflow_core.egg-info/dependency_links.txt +0 -0
  28. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/dataflow_core.egg-info/entry_points.txt +0 -0
  29. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/dataflow_core.egg-info/requires.txt +0 -0
  30. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/dataflow_core.egg-info/top_level.txt +0 -0
  31. {dataflow_core-2.0.8 → dataflow_core-2.0.9}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dataflow-core
3
- Version: 2.0.8
3
+ Version: 2.0.9
4
4
  Summary: Dataflow core package
5
5
  Author: Dataflow
6
6
  Author-email:
@@ -9,7 +9,7 @@ from authenticator.package.configuration import ConfigurationManager
9
9
 
10
10
  class Dataflow:
11
11
  def __init__(self):
12
- self.secrets_manager = SecretsManagerClient('us-east-1')
12
+ self.secrets_manager = SecretsManagerClient()
13
13
 
14
14
  def auth(self, session_id: str):
15
15
  """Retrieve user information from the auth API."""
@@ -6,16 +6,13 @@ class SecretsManagerClient:
6
6
  """
7
7
  A class to interact with AWS Secrets Manager for managing secrets.
8
8
 
9
- Args:
10
- region_name (str): The AWS region name.
11
-
12
9
  Attributes:
13
10
  client: The Boto3 client for Secrets Manager.
14
11
  json_handler: An instance of JsonHandler for handling JSON operations.
15
12
  """
16
- def __init__(self, region_name: str):
13
+ def __init__(self):
17
14
  try:
18
- self.client = boto3.client('secretsmanager', region_name=region_name)
15
+ self.client = boto3.client('secretsmanager')
19
16
  except EndpointConnectionError as e:
20
17
  self.logger.error(f"Failed to initialize SecretsManagerClient: {e}")
21
18
  raise Exception(f"Failed to initialize SecretsManagerClient: Unable to connect to the endpoint. {e}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dataflow-core
3
- Version: 2.0.8
3
+ Version: 2.0.9
4
4
  Summary: Dataflow core package
5
5
  Author: Dataflow
6
6
  Author-email:
@@ -14,7 +14,7 @@ class PostInstall(install):
14
14
 
15
15
  setup(
16
16
  name="dataflow-core",
17
- version="2.0.8",
17
+ version="2.0.9",
18
18
  packages=find_packages(include=["dataflow", "dataflow.*", "authenticator", "authenticator.*"]),
19
19
  include_package_data=True,
20
20
  package_data={
File without changes
File without changes