Skip to content

Commit

Permalink
add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Amichay Oren committed Aug 30, 2023
1 parent 24c5fee commit aaa4d0c
Show file tree
Hide file tree
Showing 12 changed files with 31 additions and 28 deletions.
4 changes: 2 additions & 2 deletions apigateway/get_user_details/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -406,5 +406,5 @@ wrapt==1.15.0 \


--extra-index-url https://us-east4-python.pkg.dev/development-380917/python-repos/simple/
infra==0.1.94 \
--hash=sha256:465459d4b36fb3436f5b3d63e92b809dc5ab6fd727172d504e00cbfb8b191147
infra==0.1.98 \
--hash=sha256:8c7f058b707ad3bff1b156ab2db0ee40209ec5d0041129463adc72963e967e7d
4 changes: 2 additions & 2 deletions apigateway/missions/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -547,5 +547,5 @@ zipp==3.15.0 \


--extra-index-url https://us-east4-python.pkg.dev/development-380917/python-repos/simple/
infra==0.1.97 \
--hash=sha256:bbfbb7540778e0e0e0260b246943f4db886f96a3a3bf01a782c6611367bcde02
infra==0.1.98 \
--hash=sha256:8c7f058b707ad3bff1b156ab2db0ee40209ec5d0041129463adc72963e967e7d
4 changes: 2 additions & 2 deletions apigateway/new_user/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -406,5 +406,5 @@ wrapt==1.15.0 \


--extra-index-url https://us-east4-python.pkg.dev/development-380917/python-repos/simple/
infra==0.1.94\
--hash=sha256:465459d4b36fb3436f5b3d63e92b809dc5ab6fd727172d504e00cbfb8b191147
infra==0.1.98\
--hash=sha256:8c7f058b707ad3bff1b156ab2db0ee40209ec5d0041129463adc72963e967e7d
4 changes: 2 additions & 2 deletions apigateway/plaid/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -351,5 +351,5 @@ zipp==3.16.2 \


--extra-index-url https://us-east4-python.pkg.dev/development-380917/python-repos/simple/
infra==0.1.94 \
--hash=sha256:465459d4b36fb3436f5b3d63e92b809dc5ab6fd727172d504e00cbfb8b191147
infra==0.1.98 \
--hash=sha256:8c7f058b707ad3bff1b156ab2db0ee40209ec5d0041129463adc72963e967e7d
4 changes: 2 additions & 2 deletions apigateway/plaid_callback/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -351,5 +351,5 @@ zipp==3.16.2 \


--extra-index-url https://us-east4-python.pkg.dev/development-380917/python-repos/simple/
infra==0.1.94 \
--hash=sha256:465459d4b36fb3436f5b3d63e92b809dc5ab6fd727172d504e00cbfb8b191147
infra==0.1.98 \
--hash=sha256:8c7f058b707ad3bff1b156ab2db0ee40209ec5d0041129463adc72963e967e7d
2 changes: 2 additions & 0 deletions apigateway/rebalance/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ def create_run(alpaca_account_id: str, model_portfolio: dict) -> str | None:


def handle_create_rebalance(request: Request):
print("handle_create_rebalance")
print(request)
# validate API
if not (user_id := request.args.get("userId")):
log_error("handle_users_topup()", "missing user_id")
Expand Down
4 changes: 2 additions & 2 deletions apigateway/rebalance/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -546,5 +546,5 @@ zipp==3.15.0 \
--hash=sha256:48904fc76a60e542af151aded95726c1a5c34ed43ab4134b597665c86d7ad556

--extra-index-url https://us-east4-python.pkg.dev/development-380917/python-repos/simple/
infra==0.1.94 \
--hash=sha256:465459d4b36fb3436f5b3d63e92b809dc5ab6fd727172d504e00cbfb8b191147
infra==0.1.98 \
--hash=sha256:8c7f058b707ad3bff1b156ab2db0ee40209ec5d0041129463adc72963e967e7d
4 changes: 2 additions & 2 deletions apigateway/topup/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -309,5 +309,5 @@ zipp==3.16.2 \


--extra-index-url https://us-east4-python.pkg.dev/development-380917/python-repos/simple/
infra==0.1.94 \
--hash=sha256:465459d4b36fb3436f5b3d63e92b809dc5ab6fd727172d504e00cbfb8b191147
infra==0.1.98 \
--hash=sha256:8c7f058b707ad3bff1b156ab2db0ee40209ec5d0041129463adc72963e967e7d
4 changes: 2 additions & 2 deletions functions/alpaca_account_events_collector/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1623,5 +1623,5 @@ zipp==3.15.0 \


--extra-index-url https://us-east4-python.pkg.dev/development-380917/python-repos/simple/
infra==0.1.94 \
--hash=sha256:465459d4b36fb3436f5b3d63e92b809dc5ab6fd727172d504e00cbfb8b191147
infra==0.1.98 \
--hash=sha256:8c7f058b707ad3bff1b156ab2db0ee40209ec5d0041129463adc72963e967e7d
4 changes: 2 additions & 2 deletions functions/alpaca_state/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1623,5 +1623,5 @@ zipp==3.15.0 \


--extra-index-url https://us-east4-python.pkg.dev/development-380917/python-repos/simple/
infra==0.1.94 \
--hash=sha256:465459d4b36fb3436f5b3d63e92b809dc5ab6fd727172d504e00cbfb8b191147
infra==0.1.98 \
--hash=sha256:8c7f058b707ad3bff1b156ab2db0ee40209ec5d0041129463adc72963e967e7d
20 changes: 10 additions & 10 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ dependencies = [
"googleapis-common-protos>=1.59.1",
"jsonschema>=4.18.0",
"pytz>=2023.3",
"nb-clean>=3.0.0",
]
requires-python = ">=3.9"
license = {text = "MIT"}

0 comments on commit aaa4d0c

Please sign in to comment.