diff --git a/apigateway/get_user_details/requirements.txt b/apigateway/get_user_details/requirements.txt index 02c5923..ba10111 100644 --- a/apigateway/get_user_details/requirements.txt +++ b/apigateway/get_user_details/requirements.txt @@ -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 diff --git a/apigateway/missions/requirements.txt b/apigateway/missions/requirements.txt index 47548f4..4fa08ca 100644 --- a/apigateway/missions/requirements.txt +++ b/apigateway/missions/requirements.txt @@ -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 diff --git a/apigateway/new_user/requirements.txt b/apigateway/new_user/requirements.txt index 5d509e4..6243841 100644 --- a/apigateway/new_user/requirements.txt +++ b/apigateway/new_user/requirements.txt @@ -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 diff --git a/apigateway/plaid/requirements.txt b/apigateway/plaid/requirements.txt index d297a2c..b704766 100644 --- a/apigateway/plaid/requirements.txt +++ b/apigateway/plaid/requirements.txt @@ -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 diff --git a/apigateway/plaid_callback/requirements.txt b/apigateway/plaid_callback/requirements.txt index 95566a2..f5d0f50 100644 --- a/apigateway/plaid_callback/requirements.txt +++ b/apigateway/plaid_callback/requirements.txt @@ -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 \ No newline at end of file +infra==0.1.98 \ + --hash=sha256:8c7f058b707ad3bff1b156ab2db0ee40209ec5d0041129463adc72963e967e7d \ No newline at end of file diff --git a/apigateway/rebalance/main.py b/apigateway/rebalance/main.py index 405a74a..d1b0ef8 100644 --- a/apigateway/rebalance/main.py +++ b/apigateway/rebalance/main.py @@ -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") diff --git a/apigateway/rebalance/requirements.txt b/apigateway/rebalance/requirements.txt index b84c452..222eaab 100644 --- a/apigateway/rebalance/requirements.txt +++ b/apigateway/rebalance/requirements.txt @@ -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 diff --git a/apigateway/topup/requirements.txt b/apigateway/topup/requirements.txt index e9c7ddb..61bab40 100644 --- a/apigateway/topup/requirements.txt +++ b/apigateway/topup/requirements.txt @@ -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 diff --git a/functions/alpaca_account_events_collector/requirements.txt b/functions/alpaca_account_events_collector/requirements.txt index 51fef8b..62d7655 100644 --- a/functions/alpaca_account_events_collector/requirements.txt +++ b/functions/alpaca_account_events_collector/requirements.txt @@ -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 diff --git a/functions/alpaca_state/requirements.txt b/functions/alpaca_state/requirements.txt index 51fef8b..62d7655 100644 --- a/functions/alpaca_state/requirements.txt +++ b/functions/alpaca_state/requirements.txt @@ -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 diff --git a/pdm.lock b/pdm.lock index 0559bc4..2a2d754 100644 --- a/pdm.lock +++ b/pdm.lock @@ -6,7 +6,7 @@ groups = ["default", "dev"] cross_platform = true static_urls = false lock_version = "4.3" -content_hash = "sha256:5ff6394c7320bb29862de60cad13a771c0ccb37edb16fbf59ca018a2a0583ec6" +content_hash = "sha256:0fced9cb2c30c8eb2169c1e5eba417ee0a228fc2a3ae40a31517a9b4e7707a75" [[package]] name = "aiohttp" @@ -1851,15 +1851,15 @@ files = [ [[package]] name = "nb-clean" -version = "2.4.0" -requires_python = ">=3.7,<4.0" +version = "3.0.0" +requires_python = ">=3.8,<4.0" summary = "Clean Jupyter notebooks for versioning" dependencies = [ - "nbformat<6.0.0,>=5.1.2", + "nbformat>=5.9.2", ] files = [ - {file = "nb_clean-2.4.0-py3-none-any.whl", hash = "sha256:fc82002e5d7cf03e4bd8effff13fcd360f1b2be01e9a41f6ea32f2f4a9453258"}, - {file = "nb_clean-2.4.0.tar.gz", hash = "sha256:7c65698920e779eebc1d53e54e057fde5c840eb3608896b6feb4c1f2e8ea685f"}, + {file = "nb_clean-3.0.0-py3-none-any.whl", hash = "sha256:6122ec98a9962162f386dbaa47bad2341b5a880fa9887d63c8067a47d1d66d7d"}, + {file = "nb_clean-3.0.0.tar.gz", hash = "sha256:8f3d494c8c6075fbaab5fc379f933c4295c18d0e09d078ae6f006cd3ee707cd5"}, ] [[package]] @@ -1937,8 +1937,8 @@ files = [ [[package]] name = "nbformat" -version = "5.8.0" -requires_python = ">=3.7" +version = "5.9.2" +requires_python = ">=3.8" summary = "The Jupyter Notebook format" dependencies = [ "fastjsonschema", @@ -1947,8 +1947,8 @@ dependencies = [ "traitlets>=5.1", ] files = [ - {file = "nbformat-5.8.0-py3-none-any.whl", hash = "sha256:d910082bd3e0bffcf07eabf3683ed7dda0727a326c446eeb2922abe102e65162"}, - {file = "nbformat-5.8.0.tar.gz", hash = "sha256:46dac64c781f1c34dfd8acba16547024110348f9fc7eab0f31981c2a3dc48d1f"}, + {file = "nbformat-5.9.2-py3-none-any.whl", hash = "sha256:1c5172d786a41b82bcfd0c23f9e6b6f072e8fb49c39250219e4acfff1efe89e9"}, + {file = "nbformat-5.9.2.tar.gz", hash = "sha256:5f98b5ba1997dff175e77e0c17d5c10a96eaed2cbd1de3533d1fc35d5e111192"}, ] [[package]] diff --git a/pyproject.toml b/pyproject.toml index 60f3049..1c0395e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"}