reach_commons 0.18.41__tar.gz → 0.18.42__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.
- {reach_commons-0.18.41 → reach_commons-0.18.42}/PKG-INFO +1 -1
- {reach_commons-0.18.41 → reach_commons-0.18.42}/pyproject.toml +1 -1
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/reach_aws/db_config.py +4 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/README.md +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/__init__.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/app_logging/__init__.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/app_logging/http_logger.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/app_logging/log_deprecated_endpoints.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/app_logging/logger.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/app_logging/logging_config.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/app_logging/logging_utils.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/clients/__init__.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/clients/event_processor.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/clients/hubspot.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/clients/outscraper.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/clients/reach_data_bridge.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/clients/reach_ops_api.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/mongo/__init__.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/mongo/customer_persistence.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/mongo/customer_persistence_async.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/mongo/validation/__init__.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/reach_aws/__init__.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/reach_aws/commons.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/reach_aws/dynamo_db.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/reach_aws/exceptions.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/reach_aws/firehose.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/reach_aws/kms.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/reach_aws/reach_rate_limiter.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/reach_aws/s3.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/reach_aws/sqs.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/reach_base_model.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/redis_manager.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/sms_smart_encoding.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/utils.py +0 -0
- {reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/validations.py +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# isort .; black .; poetry build; poetry publish
|
|
2
2
|
[tool.poetry]
|
|
3
3
|
name = "reach_commons"
|
|
4
|
-
version = "0.18.
|
|
4
|
+
version = "0.18.42"
|
|
5
5
|
description = "Reach Commons is a versatile utility library designed to streamline and enhance development workflows within the Reach ecosystem."
|
|
6
6
|
authors = ["Engineering <engineering@getreach.ai>"]
|
|
7
7
|
license = "MIT"
|
|
@@ -47,6 +47,7 @@ def get_secret(
|
|
|
47
47
|
region_name: str = "us-east-1",
|
|
48
48
|
host=os.getenv("MYSQL_HOST"),
|
|
49
49
|
db_name=os.getenv("MYSQL_DB_NAME"),
|
|
50
|
+
port=os.getenv("MYSQL_PORT"),
|
|
50
51
|
) -> Dict[str, Any]:
|
|
51
52
|
"""
|
|
52
53
|
Load DB credentials from AWS Secrets Manager and host from SSM Parameter Store.
|
|
@@ -76,6 +77,9 @@ def get_secret(
|
|
|
76
77
|
secrets_data["host"] = host
|
|
77
78
|
secrets_data["dbname"] = db_name
|
|
78
79
|
|
|
80
|
+
if port is None:
|
|
81
|
+
secrets_data["port"] = 3306
|
|
82
|
+
|
|
79
83
|
missing = [
|
|
80
84
|
key
|
|
81
85
|
for key in ("host", "username", "password", "dbname")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/mongo/customer_persistence_async.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{reach_commons-0.18.41 → reach_commons-0.18.42}/reach_commons/reach_aws/reach_rate_limiter.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|