mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
check db user value
This commit is contained in:
parent
9ae81c1099
commit
3445060ef2
1 changed files with 4 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ import os
|
||||||
|
|
||||||
# from io import BytesIO
|
# from io import BytesIO
|
||||||
|
|
||||||
|
from backend.app.config import get_settings
|
||||||
from backend.condition.condition_trigger_request import ConditionTriggerRequest
|
from backend.condition.condition_trigger_request import ConditionTriggerRequest
|
||||||
from backend.condition.lookups.uprn_lookup_s3 import UprnLookupS3
|
from backend.condition.lookups.uprn_lookup_s3 import UprnLookupS3
|
||||||
from backend.condition.processor import process_file
|
from backend.condition.processor import process_file
|
||||||
|
|
@ -31,6 +32,9 @@ def handler(event: Mapping[str, Any], context: Any) -> None:
|
||||||
"hello region",
|
"hello region",
|
||||||
os.getenv("AWS_REGION", "empty region"),
|
os.getenv("AWS_REGION", "empty region"),
|
||||||
)
|
)
|
||||||
|
settings = get_settings()
|
||||||
|
print("hello db user", settings.DB_USERNAME)
|
||||||
|
|
||||||
# uprn_lookup = UprnLookupS3(
|
# uprn_lookup = UprnLookupS3(
|
||||||
# bucket="", key=""
|
# bucket="", key=""
|
||||||
# ) # TODO: replace with postgres implementation
|
# ) # TODO: replace with postgres implementation
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue