From 1150862c1c61a36bd5c3e26b250100d7ae864710 Mon Sep 17 00:00:00 2001 From: amandasavluchinske Date: Thu, 27 Feb 2025 17:18:07 +0000 Subject: [PATCH] chore(deps): update vital python client to 2.1.214 --- .env.example | 1 - backend/python/main.py | 39 +-- backend/python/poetry.lock | 459 ++++++++++++++++------------------ backend/python/pyproject.toml | 2 +- 4 files changed, 232 insertions(+), 269 deletions(-) diff --git a/.env.example b/.env.example index 1fcec63..ee1027e 100644 --- a/.env.example +++ b/.env.example @@ -1,3 +1,2 @@ VITAL_API_KEY= VITAL_ENV= -VITAL_REGION= \ No newline at end of file diff --git a/backend/python/main.py b/backend/python/main.py index 79dade1..0b0319e 100644 --- a/backend/python/main.py +++ b/backend/python/main.py @@ -2,7 +2,8 @@ from http.client import HTTPException from tracemalloc import start from typing import Optional -from vital import Client +from vital.client import Vital +from vital.environment import VitalEnvironment from fastapi import FastAPI from starlette.middleware.cors import CORSMiddleware from pydantic import BaseModel @@ -13,9 +14,13 @@ app = FastAPI() VITAL_API_KEY = os.getenv("VITAL_API_KEY") VITAL_ENVIRONMENT = os.getenv("VITAL_ENV") -VITAL_REGION = os.getenv("VITAL_REGION") -client = Client(api_key=VITAL_API_KEY, environment=VITAL_ENVIRONMENT, region=os.getenv("VITAL_REGION")) +if VITAL_ENVIRONMENT == "sandbox": + vital_env = VitalEnvironment.SANDBOX +elif VITAL_ENVIRONMENT == "production": + vital_env = VitalEnvironment.PRODUCTION + +client = Vital(api_key=VITAL_API_KEY, environment=vital_env) app.add_middleware( # type: ignore CORSMiddleware, @@ -26,9 +31,9 @@ ) -@app.get("/token/{user_key}") -def get_token(user_key: str): - return client.Link.create(user_key) +@app.get("/token/{user_id}") +def get_token(user_id: str): + return client.link.token(user_id=user_id) class CreateUserData(BaseModel): @@ -37,33 +42,33 @@ class CreateUserData(BaseModel): @app.post("/user/") def create_user(data: CreateUserData): - return client.User.create(data.client_user_id) + return client.user.create(client_user_id=data.client_user_id) @app.get("/users/") def get_users(): - return client.User.get_all() + return client.user.get_all() @app.get("/summary/{data_type}/{user_id}") def get_users(data_type: str, user_id: str, start_date: str, end_date: str): func_map = { - "sleep": client.Sleep.get, - "activity": client.Activity.get, - "body": client.Body.get, - "workouts": client.Workouts.get, + "sleep": client.sleep.get, + "activity": client.activity.get, + "body": client.body.get, + "workouts": client.workouts.get, } func = func_map.get(data_type) if not func: raise HTTPException(400, "Failed to find data type") - data = func(user_id, start_date, end_date) + data = func(user_id=user_id, start_date=start_date, end_date=end_date) return data @app.get("/summary/{user_id}") def get_users(user_id: str, start_date: str, end_date: str): - sleep = client.Sleep.get(user_id, start_date, end_date) - activity = client.Activity.get(user_id, start_date, end_date) - body = client.Body.get(user_id, start_date, end_date) - workouts = client.Workouts.get(user_id, start_date, end_date) + sleep = client.sleep.get(user_id=user_id, start_date=start_date, end_date=end_date) + activity = client.activity.get(user_id=user_id, start_date=start_date, end_date=end_date) + body = client.body.get(user_id=user_id, start_date=start_date, end_date=end_date) + workouts = client.workouts.get(user_id=user_id, start_date=start_date, end_date=end_date) return {"sleep": sleep, "activity": activity, "body": body, "workouts": workouts} diff --git a/backend/python/poetry.lock b/backend/python/poetry.lock index a4b529b..1b1604c 100644 --- a/backend/python/poetry.lock +++ b/backend/python/poetry.lock @@ -1,80 +1,53 @@ -# This file is automatically @generated by Poetry 1.8.4 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. [[package]] name = "anyio" -version = "3.5.0" +version = "4.8.0" description = "High level compatibility layer for multiple asynchronous event loop implementations" optional = false -python-versions = ">=3.6.2" +python-versions = ">=3.9" files = [ - {file = "anyio-3.5.0-py3-none-any.whl", hash = "sha256:b5fa16c5ff93fa1046f2eeb5bbff2dad4d3514d6cda61d02816dba34fa8c3c2e"}, - {file = "anyio-3.5.0.tar.gz", hash = "sha256:a0aeffe2fb1fdf374a8e4b471444f0f3ac4fb9f5a5b542b48824475e0042a5a6"}, + {file = "anyio-4.8.0-py3-none-any.whl", hash = "sha256:b5011f270ab5eb0abf13385f851315585cc37ef330dd88e27ec3d34d651fd47a"}, + {file = "anyio-4.8.0.tar.gz", hash = "sha256:1d9fe889df5212298c0c0723fa20479d1b94883a2df44bd3897aa91083316f7a"}, ] [package.dependencies] +exceptiongroup = {version = ">=1.0.2", markers = "python_version < \"3.11\""} idna = ">=2.8" sniffio = ">=1.1" +typing_extensions = {version = ">=4.5", markers = "python_version < \"3.13\""} [package.extras] -doc = ["packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx-rtd-theme"] -test = ["contextlib2", "coverage[toml] (>=4.5)", "hypothesis (>=4.0)", "mock (>=4)", "pytest (>=6.0)", "pytest-mock (>=3.6.1)", "trustme", "uvloop (<0.15)", "uvloop (>=0.15)"] -trio = ["trio (>=0.16)"] - -[[package]] -name = "arrow" -version = "1.2.2" -description = "Better dates & times for Python" -optional = false -python-versions = ">=3.6" -files = [ - {file = "arrow-1.2.2-py3-none-any.whl", hash = "sha256:d622c46ca681b5b3e3574fcb60a04e5cc81b9625112d5fb2b44220c36c892177"}, - {file = "arrow-1.2.2.tar.gz", hash = "sha256:05caf1fd3d9a11a1135b2b6f09887421153b94558e5ef4d090b567b47173ac2b"}, -] - -[package.dependencies] -python-dateutil = ">=2.7.0" +doc = ["Sphinx (>=7.4,<8.0)", "packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx_rtd_theme"] +test = ["anyio[trio]", "coverage[toml] (>=7)", "exceptiongroup (>=1.2.0)", "hypothesis (>=4.0)", "psutil (>=5.9)", "pytest (>=7.0)", "trustme", "truststore (>=0.9.1)", "uvloop (>=0.21)"] +trio = ["trio (>=0.26.1)"] [[package]] name = "asgiref" -version = "3.5.1" +version = "3.8.1" description = "ASGI specs, helper code, and adapters" optional = false -python-versions = ">=3.7" -files = [ - {file = "asgiref-3.5.1-py3-none-any.whl", hash = "sha256:45a429524fba18aba9d512498b19d220c4d628e75b40cf5c627524dbaebc5cc1"}, - {file = "asgiref-3.5.1.tar.gz", hash = "sha256:fddeea3c53fa99d0cdb613c3941cc6e52d822491fc2753fba25768fb5bf4e865"}, -] - -[package.extras] -tests = ["mypy (>=0.800)", "pytest", "pytest-asyncio"] - -[[package]] -name = "auth0-python" -version = "3.23.0" -description = "Auth0 Python SDK" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*" +python-versions = ">=3.8" files = [ - {file = "auth0-python-3.23.0.tar.gz", hash = "sha256:dc7e5ccbc1ee36138656324ec9a1a530c6890177e242d95b25d3e6919dce362b"}, - {file = "auth0_python-3.23.0-py2.py3-none-any.whl", hash = "sha256:8a1950fc488afae15982751bd4bf27f22da826795b571297c0c92f48ca9f0a31"}, + {file = "asgiref-3.8.1-py3-none-any.whl", hash = "sha256:3e1e3ecc849832fe52ccf2cb6686b7a55f82bb1d6aee72a58826471390335e47"}, + {file = "asgiref-3.8.1.tar.gz", hash = "sha256:c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590"}, ] [package.dependencies] -pyjwt = {version = ">=1.7.1", extras = ["crypto"]} -requests = ">=2.14.0" +typing-extensions = {version = ">=4", markers = "python_version < \"3.11\""} [package.extras] -test = ["coverage", "mock (>=1.3.0)", "pre-commit"] +tests = ["mypy (>=0.800)", "pytest", "pytest-asyncio"] [[package]] name = "certifi" -version = "2021.10.8" +version = "2025.1.31" description = "Python package for providing Mozilla's CA Bundle." optional = false -python-versions = "*" +python-versions = ">=3.6" files = [ - {file = "certifi-2021.10.8-py2.py3-none-any.whl", hash = "sha256:d62a0163eb4c2344ac042ab2bdf75399a71a2d8c7d47eac2e2ee91b9d6339569"}, - {file = "certifi-2021.10.8.tar.gz", hash = "sha256:78884e7c1d4b00ce3cea67b44566851c4343c120abd683433ce934a68ea58872"}, + {file = "certifi-2025.1.31-py3-none-any.whl", hash = "sha256:ca78db4565a652026a4db2bcdf68f2fb589ea80d0be70e03929ed730746b84fe"}, + {file = "certifi-2025.1.31.tar.gz", hash = "sha256:3d5da6925056f6f18f119200434a4780a94263f10d1c21d032a6f6b2baa20651"}, ] [[package]] @@ -156,29 +129,15 @@ files = [ [package.dependencies] pycparser = "*" -[[package]] -name = "charset-normalizer" -version = "2.0.12" -description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." -optional = false -python-versions = ">=3.5.0" -files = [ - {file = "charset-normalizer-2.0.12.tar.gz", hash = "sha256:2857e29ff0d34db842cd7ca3230549d1a697f96ee6d3fb071cfa6c7393832597"}, - {file = "charset_normalizer-2.0.12-py3-none-any.whl", hash = "sha256:6881edbebdb17b39b4eaaa821b438bf6eddffb4468cf344f09f89def34a8b1df"}, -] - -[package.extras] -unicode-backport = ["unicodedata2"] - [[package]] name = "click" -version = "8.1.3" +version = "8.1.8" description = "Composable command line interface toolkit" optional = false python-versions = ">=3.7" files = [ - {file = "click-8.1.3-py3-none-any.whl", hash = "sha256:bb4d8133cb15a609f44e8213d9b391b0809795062913b383c62be0ee95b1db48"}, - {file = "click-8.1.3.tar.gz", hash = "sha256:7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e"}, + {file = "click-8.1.8-py3-none-any.whl", hash = "sha256:63c132bbbed01578a06712a2d1f497bb62d9c1c0d329b7903a866228027263b2"}, + {file = "click-8.1.8.tar.gz", hash = "sha256:ed53c9d8990d83c2a27deae68e4ee337473f6330c040a31d4225c9574d16096a"}, ] [package.dependencies] @@ -186,56 +145,28 @@ colorama = {version = "*", markers = "platform_system == \"Windows\""} [[package]] name = "colorama" -version = "0.4.4" +version = "0.4.6" description = "Cross-platform colored terminal text." optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" files = [ - {file = "colorama-0.4.4-py2.py3-none-any.whl", hash = "sha256:9f47eda37229f68eee03b24b9748937c7dc3868f906e8ba69fbcbdd3bc5dc3e2"}, - {file = "colorama-0.4.4.tar.gz", hash = "sha256:5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b"}, + {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, + {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, ] [[package]] -name = "cryptography" -version = "37.0.2" -description = "cryptography is a package which provides cryptographic recipes and primitives to Python developers." +name = "exceptiongroup" +version = "1.2.2" +description = "Backport of PEP 654 (exception groups)" optional = false -python-versions = ">=3.6" +python-versions = ">=3.7" files = [ - {file = "cryptography-37.0.2-cp36-abi3-macosx_10_10_universal2.whl", hash = "sha256:ef15c2df7656763b4ff20a9bc4381d8352e6640cfeb95c2972c38ef508e75181"}, - {file = "cryptography-37.0.2-cp36-abi3-macosx_10_10_x86_64.whl", hash = "sha256:3c81599befb4d4f3d7648ed3217e00d21a9341a9a688ecdd615ff72ffbed7336"}, - {file = "cryptography-37.0.2-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:2bd1096476aaac820426239ab534b636c77d71af66c547b9ddcd76eb9c79e004"}, - {file = "cryptography-37.0.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl", hash = "sha256:31fe38d14d2e5f787e0aecef831457da6cec68e0bb09a35835b0b44ae8b988fe"}, - {file = "cryptography-37.0.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:093cb351031656d3ee2f4fa1be579a8c69c754cf874206be1d4cf3b542042804"}, - {file = "cryptography-37.0.2-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:59b281eab51e1b6b6afa525af2bd93c16d49358404f814fe2c2410058623928c"}, - {file = "cryptography-37.0.2-cp36-abi3-manylinux_2_24_x86_64.whl", hash = "sha256:0cc20f655157d4cfc7bada909dc5cc228211b075ba8407c46467f63597c78178"}, - {file = "cryptography-37.0.2-cp36-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:f8ec91983e638a9bcd75b39f1396e5c0dc2330cbd9ce4accefe68717e6779e0a"}, - {file = "cryptography-37.0.2-cp36-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:46f4c544f6557a2fefa7ac8ac7d1b17bf9b647bd20b16decc8fbcab7117fbc15"}, - {file = "cryptography-37.0.2-cp36-abi3-win32.whl", hash = "sha256:731c8abd27693323b348518ed0e0705713a36d79fdbd969ad968fbef0979a7e0"}, - {file = "cryptography-37.0.2-cp36-abi3-win_amd64.whl", hash = "sha256:471e0d70201c069f74c837983189949aa0d24bb2d751b57e26e3761f2f782b8d"}, - {file = "cryptography-37.0.2-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a68254dd88021f24a68b613d8c51d5c5e74d735878b9e32cc0adf19d1f10aaf9"}, - {file = "cryptography-37.0.2-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl", hash = "sha256:a7d5137e556cc0ea418dca6186deabe9129cee318618eb1ffecbd35bee55ddc1"}, - {file = "cryptography-37.0.2-pp38-pypy38_pp73-macosx_10_10_x86_64.whl", hash = "sha256:aeaba7b5e756ea52c8861c133c596afe93dd716cbcacae23b80bc238202dc023"}, - {file = "cryptography-37.0.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:95e590dd70642eb2079d280420a888190aa040ad20f19ec8c6e097e38aa29e06"}, - {file = "cryptography-37.0.2-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl", hash = "sha256:1b9362d34363f2c71b7853f6251219298124aa4cc2075ae2932e64c91a3e2717"}, - {file = "cryptography-37.0.2-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:e53258e69874a306fcecb88b7534d61820db8a98655662a3dd2ec7f1afd9132f"}, - {file = "cryptography-37.0.2-pp39-pypy39_pp73-macosx_10_10_x86_64.whl", hash = "sha256:1f3bfbd611db5cb58ca82f3deb35e83af34bb8cf06043fa61500157d50a70982"}, - {file = "cryptography-37.0.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:419c57d7b63f5ec38b1199a9521d77d7d1754eb97827bbb773162073ccd8c8d4"}, - {file = "cryptography-37.0.2-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl", hash = "sha256:dc26bb134452081859aa21d4990474ddb7e863aa39e60d1592800a8865a702de"}, - {file = "cryptography-37.0.2-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:3b8398b3d0efc420e777c40c16764d6870bcef2eb383df9c6dbb9ffe12c64452"}, - {file = "cryptography-37.0.2.tar.gz", hash = "sha256:f224ad253cc9cea7568f49077007d2263efa57396a2f2f78114066fd54b5c68e"}, + {file = "exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b"}, + {file = "exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc"}, ] -[package.dependencies] -cffi = ">=1.12" - [package.extras] -docs = ["sphinx (>=1.6.5,!=1.8.0,!=3.1.0,!=3.1.1)", "sphinx-rtd-theme"] -docstest = ["pyenchant (>=1.6.11)", "sphinxcontrib-spelling (>=4.0.1)", "twine (>=1.12.0)"] -pep8test = ["black", "flake8", "flake8-import-order", "pep8-naming"] -sdist = ["setuptools-rust (>=0.11.4)"] -ssh = ["bcrypt (>=3.1.5)"] -test = ["hypothesis (>=1.11.4,!=3.79.2)", "iso8601", "pretend", "pytest (>=6.2.0)", "pytest-benchmark", "pytest-cov", "pytest-subtests", "pytest-xdist", "pytz"] +test = ["pytest (>=6)"] [[package]] name = "fastapi" @@ -260,53 +191,83 @@ test = ["anyio[trio] (>=3.2.1,<4.0.0)", "black (==22.3.0)", "databases[sqlite] ( [[package]] name = "h11" -version = "0.13.0" +version = "0.14.0" description = "A pure-Python, bring-your-own-I/O implementation of HTTP/1.1" optional = false -python-versions = ">=3.6" +python-versions = ">=3.7" files = [ - {file = "h11-0.13.0-py3-none-any.whl", hash = "sha256:8ddd78563b633ca55346c8cd41ec0af27d3c79931828beffb46ce70a379e7442"}, - {file = "h11-0.13.0.tar.gz", hash = "sha256:70813c1135087a248a4d38cc0e1a0181ffab2188141a93eaf567940c3957ff06"}, + {file = "h11-0.14.0-py3-none-any.whl", hash = "sha256:e3fe4ac4b851c468cc8363d500db52c2ead036020723024a109d37346efaa761"}, + {file = "h11-0.14.0.tar.gz", hash = "sha256:8f19fbbe99e72420ff35c00b27a34cb9937e902a8b810e2c88300c6f0a3b699d"}, ] [[package]] -name = "idna" -version = "3.3" -description = "Internationalized Domain Names in Applications (IDNA)" +name = "httpcore" +version = "1.0.7" +description = "A minimal low-level HTTP client." optional = false -python-versions = ">=3.5" +python-versions = ">=3.8" files = [ - {file = "idna-3.3-py3-none-any.whl", hash = "sha256:84d9dd047ffa80596e0f246e2eab0b391788b0503584e8945f2368256d2735ff"}, - {file = "idna-3.3.tar.gz", hash = "sha256:9d643ff0a55b762d5cdb124b8eaa99c66322e2157b69160bc32796e824360e6d"}, + {file = "httpcore-1.0.7-py3-none-any.whl", hash = "sha256:a3fff8f43dc260d5bd363d9f9cf1830fa3a458b332856f34282de498ed420edd"}, + {file = "httpcore-1.0.7.tar.gz", hash = "sha256:8551cb62a169ec7162ac7be8d4817d561f60e08eaa485234898414bb5a8a0b4c"}, ] +[package.dependencies] +certifi = "*" +h11 = ">=0.13,<0.15" + +[package.extras] +asyncio = ["anyio (>=4.0,<5.0)"] +http2 = ["h2 (>=3,<5)"] +socks = ["socksio (==1.*)"] +trio = ["trio (>=0.22.0,<1.0)"] + [[package]] -name = "importlib-metadata" -version = "3.10.1" -description = "Read metadata from Python packages" +name = "httpx" +version = "0.28.1" +description = "The next generation HTTP client." optional = false -python-versions = ">=3.6" +python-versions = ">=3.8" files = [ - {file = "importlib_metadata-3.10.1-py3-none-any.whl", hash = "sha256:2ec0faae539743ae6aaa84b49a169670a465f7f5d64e6add98388cc29fd1f2f6"}, - {file = "importlib_metadata-3.10.1.tar.gz", hash = "sha256:c9356b657de65c53744046fa8f7358afe0714a1af7d570c00c3835c2d724a7c1"}, + {file = "httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad"}, + {file = "httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc"}, ] [package.dependencies] -zipp = ">=0.5" +anyio = "*" +certifi = "*" +httpcore = "==1.*" +idna = "*" [package.extras] -docs = ["jaraco.packaging (>=8.2)", "rst.linker (>=1.9)", "sphinx"] -testing = ["flufl.flake8", "importlib-resources (>=1.3)", "packaging", "pep517", "pyfakefs", "pytest (>=4.6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.0.1)", "pytest-flake8", "pytest-mypy"] +brotli = ["brotli", "brotlicffi"] +cli = ["click (==8.*)", "pygments (==2.*)", "rich (>=10,<14)"] +http2 = ["h2 (>=3,<5)"] +socks = ["socksio (==1.*)"] +zstd = ["zstandard (>=0.18.0)"] + +[[package]] +name = "idna" +version = "3.10" +description = "Internationalized Domain Names in Applications (IDNA)" +optional = false +python-versions = ">=3.6" +files = [ + {file = "idna-3.10-py3-none-any.whl", hash = "sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3"}, + {file = "idna-3.10.tar.gz", hash = "sha256:12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9"}, +] + +[package.extras] +all = ["flake8 (>=7.1.1)", "mypy (>=1.11.2)", "pytest (>=8.3.2)", "ruff (>=0.6.2)"] [[package]] name = "pycparser" -version = "2.21" +version = "2.22" description = "C parser in Python" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +python-versions = ">=3.8" files = [ - {file = "pycparser-2.21-py2.py3-none-any.whl", hash = "sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9"}, - {file = "pycparser-2.21.tar.gz", hash = "sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206"}, + {file = "pycparser-2.22-py3-none-any.whl", hash = "sha256:c3702b6d3dd8c7abc1afa565d7e63d53a1d0bd86cdc24edd75470f4de499cfcc"}, + {file = "pycparser-2.22.tar.gz", hash = "sha256:491c8be9c040f5390f5bf44a5b07752bd07f56edf992381b05c701439eec10f6"}, ] [[package]] @@ -376,38 +337,115 @@ dotenv = ["python-dotenv (>=0.10.4)"] email = ["email-validator (>=1.0.3)"] [[package]] -name = "pyjwt" -version = "2.4.0" -description = "JSON Web Token implementation in Python" -optional = false -python-versions = ">=3.6" -files = [ - {file = "PyJWT-2.4.0-py3-none-any.whl", hash = "sha256:72d1d253f32dbd4f5c88eaf1fdc62f3a19f676ccbadb9dbc5d07e951b2b26daf"}, - {file = "PyJWT-2.4.0.tar.gz", hash = "sha256:d42908208c699b3b973cbeb01a969ba6a96c821eefb1c5bfe4c390c01d67abba"}, -] - -[package.dependencies] -cryptography = {version = ">=3.3.1", optional = true, markers = "extra == \"crypto\""} - -[package.extras] -crypto = ["cryptography (>=3.3.1)"] -dev = ["coverage[toml] (==5.0.4)", "cryptography (>=3.3.1)", "mypy", "pre-commit", "pytest (>=6.0.0,<7.0.0)", "sphinx", "sphinx-rtd-theme", "zope.interface"] -docs = ["sphinx", "sphinx-rtd-theme", "zope.interface"] -tests = ["coverage[toml] (==5.0.4)", "pytest (>=6.0.0,<7.0.0)"] - -[[package]] -name = "python-dateutil" -version = "2.8.2" -description = "Extensions to the standard Python datetime module" +name = "pydantic-core" +version = "2.30.0" +description = "Core functionality for Pydantic validation and serialization" optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" +python-versions = ">=3.9" files = [ - {file = "python-dateutil-2.8.2.tar.gz", hash = "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86"}, - {file = "python_dateutil-2.8.2-py2.py3-none-any.whl", hash = "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"}, + {file = "pydantic_core-2.30.0-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:85a6c9183c6a1904d55f5642c9a4a482b949b7ed9de853dc1525f2f725193d8c"}, + {file = "pydantic_core-2.30.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:beaee0b92e8c4b91e7f1ce4e38637efafdfa423d0c13f93e2a5cdda65baedbd9"}, + {file = "pydantic_core-2.30.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f628511b2714166f296424d5dcc06271ea7e98fde74b8ffa25d08e323a69cefe"}, + {file = "pydantic_core-2.30.0-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b16847c0ea655806c24fce2f99ba20555cef15575da744f823d2c91975af352b"}, + {file = "pydantic_core-2.30.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:020547b18f89d091e08401c4837f9b8d1e242f08bd18caec67f35584ce3fffb6"}, + {file = "pydantic_core-2.30.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c7ff198922af9c749c5061ad796b6dc710c004897b991b4035787c412260e655"}, + {file = "pydantic_core-2.30.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1c2099803a9017c3a2cf6552077f1a39bb8b4d9a778a8ccf30d6c27952bad1ac"}, + {file = "pydantic_core-2.30.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:b1b6d96a585cb67525912149874d8886f0c5a2f367ac9d7642c3cb22cd75f14f"}, + {file = "pydantic_core-2.30.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:0b522bfb53b6994d6e5869e399a627c815a0be22b79901f43ccecf5d50817637"}, + {file = "pydantic_core-2.30.0-cp310-cp310-musllinux_1_1_armv7l.whl", hash = "sha256:2b5b9c2efec2f920a5bf8796f400d765bcfdc34e67ed94ac8fecdbc72a133222"}, + {file = "pydantic_core-2.30.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:a4212929c99d3d950ee65e17d42ce724840ae6f3ae7d4b07017f85e9569224b8"}, + {file = "pydantic_core-2.30.0-cp310-cp310-win32.whl", hash = "sha256:51743cfcdca70ad8b190cf1b9cb240c7fdb2fd456eab9d084ae0905d8dbbb179"}, + {file = "pydantic_core-2.30.0-cp310-cp310-win_amd64.whl", hash = "sha256:06ce84c3d767272903dc6317216a17f36fe625d115b48b1014b95ba815189a47"}, + {file = "pydantic_core-2.30.0-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:e535b9e7aaf0066b2dd13793be2c8599c64ea3a7df9c3454fbe61e555d3ddb9e"}, + {file = "pydantic_core-2.30.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:e1e3d7decfc61ea414312df32230cc631956194e8e2a97001c61878b414c1076"}, + {file = "pydantic_core-2.30.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bbece7ed30265d15babc581e89745f35fcba1a9bd0e0907ec43f43066d917554"}, + {file = "pydantic_core-2.30.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f1901fa7edc5e45d5d5a1dd6d46af4db34d1bf7eae080d2900eb253f488c9521"}, + {file = "pydantic_core-2.30.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:65a61b31dc9604caa2638209277761772608ee6a0568232f502d6b8f5873c420"}, + {file = "pydantic_core-2.30.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d4921faba2c540a849047dee1ecae7035e4e06bbcff467ed9cb87026ecda7c19"}, + {file = "pydantic_core-2.30.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f060af74fdc30e391dae2aee91d403314e5954ce3d6ff44680f527fbceaa2600"}, + {file = "pydantic_core-2.30.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2583fcc2412ab55e473b2f1e56733b7beb9674842dc097acc6bccca62c9445d4"}, + {file = "pydantic_core-2.30.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:0538c322f7231cb1b4a9a1d152fce79f63b078a6930777a3e06a4986e4d9a8f3"}, + {file = "pydantic_core-2.30.0-cp311-cp311-musllinux_1_1_armv7l.whl", hash = "sha256:ffdefe5649a59e73828f6dda556c529a7c999e0c113617dff9f3f011ff3f9c16"}, + {file = "pydantic_core-2.30.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:0702b136aa1a6f083de67dbe248193e7197674ba4d07a9982fc5aaed0952a176"}, + {file = "pydantic_core-2.30.0-cp311-cp311-win32.whl", hash = "sha256:fcde852ffe62b60e40a4e82d175efe732e0ab3c3038c6a34bbfd5b4a4e016859"}, + {file = "pydantic_core-2.30.0-cp311-cp311-win_amd64.whl", hash = "sha256:9d0e146f123a441606a64a24854ac20c03934c5e88f9f4b1e53d74ac6da80e12"}, + {file = "pydantic_core-2.30.0-cp311-cp311-win_arm64.whl", hash = "sha256:209ddad9f8a7b858b8b6b936fb7a32418ca9a5a93992aeb320c2218c62aaf6ff"}, + {file = "pydantic_core-2.30.0-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:b621a0e146d68548e7453b1e5273f0a5e428bc5578d2e2e4e72d8306f945b084"}, + {file = "pydantic_core-2.30.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:db4882925db296ef45234b33bbbb1416967e2082ae723404dbc7ee3f136a0230"}, + {file = "pydantic_core-2.30.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c7e92a612070de42c0d00997fde5d9b9a7ab0484d4e3861d2e9a7d53dcfb4c46"}, + {file = "pydantic_core-2.30.0-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:875f1d58e670d028b3dd8abf2712a30a8e3aafae93e16adc3b28eafe0ce7642c"}, + {file = "pydantic_core-2.30.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:acfc7e8b428ec6320d4124a5a85902400c45f41ada239d2140b6c3b2d876c763"}, + {file = "pydantic_core-2.30.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a6c393d776087aed5591ac9eaa2cfada2e3bfb81b0a74a52a9e80bfdb3e1342c"}, + {file = "pydantic_core-2.30.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:386476186c3797a5c2f9595d17d5a8f40c517e64d35f5b587b70b9c584f00358"}, + {file = "pydantic_core-2.30.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:b285115117036e19c1515f4dc16a00c74aee0fa1907d644cde3d54a8882af557"}, + {file = "pydantic_core-2.30.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:56e77268f654ac18e2339adf0ec7374116bb63554c42c4e2afad35f611b49ac7"}, + {file = "pydantic_core-2.30.0-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:de90ba6e4ee9fa66b38fb8c3c026e91871693cc16e39b420a944cb91c4451f0d"}, + {file = "pydantic_core-2.30.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:7a4253c698a96f29d245e36004fdddddf2f9a4fc3b43a59d36a258abfb6fbebd"}, + {file = "pydantic_core-2.30.0-cp312-cp312-win32.whl", hash = "sha256:918975a8c0d6569bab0e4d5197be6f39a7526bccd68ffd301095dab492608824"}, + {file = "pydantic_core-2.30.0-cp312-cp312-win_amd64.whl", hash = "sha256:e12d5ef7c31d32fd4df8d891a23e25d964bc3641c113d118be85f2dd6042144e"}, + {file = "pydantic_core-2.30.0-cp312-cp312-win_arm64.whl", hash = "sha256:31b54a289b852c8ffe30d30bb4a4e8078cf0f97b8ea193ca6a7e8db2304bcf58"}, + {file = "pydantic_core-2.30.0-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:c0ac3ece91a6381e317754bddeae563aaa63d94bafe5edfcbb25b3bb1884f0ae"}, + {file = "pydantic_core-2.30.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:bb8f542ebed52c7daed2d99a8cb86d866bcb5d7594c91fc873b85a48d849bc1a"}, + {file = "pydantic_core-2.30.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:00d82abe4582c060da3d7723ff68c0711d60e4027917dcb11c1c6f686b998ad8"}, + {file = "pydantic_core-2.30.0-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c16e2e9468452af9b5e53c64ee350fc28bc682a9eee07c8d0bcc38390d83afd6"}, + {file = "pydantic_core-2.30.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3a5d0ecaa64bf9e6888ca53b0c4c316275fff601838bd9a164fbec191b8d800a"}, + {file = "pydantic_core-2.30.0-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:681b7fb5c6a393eb8dd3abff1bacb5ea7ef9b5facedbac3f678e2353ec4d8ebe"}, + {file = "pydantic_core-2.30.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f1db87cbb99da87a3b0fedf2aa820ac2ac200e17475111a5f9f972edd40a5731"}, + {file = "pydantic_core-2.30.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f67f33b0c3382a64b0eeeb29bf2e735387a93c5da13ef1a7317c089d15a17bf0"}, + {file = "pydantic_core-2.30.0-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:5d76bf5f8618a0e8442f80ce9b59e21f50064d3f4bcbe04ad63212322025e3c3"}, + {file = "pydantic_core-2.30.0-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:ebc49300956f9e053616de75087ac10c6eba5695269d00a35e292a672b539e37"}, + {file = "pydantic_core-2.30.0-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:876b9d3722799d41835eabcb10e963ad1466f2f4fa83200d4c5f45eaffdaea61"}, + {file = "pydantic_core-2.30.0-cp313-cp313-win32.whl", hash = "sha256:a988727ae68973bbaebf63316bd238b3b236099bee2817eb8ffba12fabe8f14f"}, + {file = "pydantic_core-2.30.0-cp313-cp313-win_amd64.whl", hash = "sha256:62e307ce9237b4eb92f4da232d599636398122602a8c08a7c6e9f527803da7ac"}, + {file = "pydantic_core-2.30.0-cp313-cp313-win_arm64.whl", hash = "sha256:940700e0149ef3e8451ad8a4ebb447f29b7f73c3ce7a8511791d851cf7787da4"}, + {file = "pydantic_core-2.30.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:4e54e400b7f3c6faa94bcd31b1dc6337cefe098582b93d711fd75ec98a15810f"}, + {file = "pydantic_core-2.30.0-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f2af0870a732f197c194177f22db204845341d89756e8d425b72256402248bb5"}, + {file = "pydantic_core-2.30.0-cp313-cp313t-win_amd64.whl", hash = "sha256:3c7683087c6fa188aecf36cf5c835aa1dcf8dce4ba46643b24adfd46a80c33a0"}, + {file = "pydantic_core-2.30.0-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:7aa7535f2487fb654fa3404741b41442984f1290bc1936e3df7971b8088e535b"}, + {file = "pydantic_core-2.30.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:79942774065c0004328f3507901735de249a11dbb2495fd40569ab9fa847365e"}, + {file = "pydantic_core-2.30.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e0f37547dfb110fb40acd456bb87ff70d5d23b6b32c924908bcc6ca2abccbe89"}, + {file = "pydantic_core-2.30.0-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:50c7a42f4981fcf03d191c684752b2d367c1640e07550daaaa08ef6be0c0ddce"}, + {file = "pydantic_core-2.30.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:795069b04a367f4622cbeba03cf0c1330db3b84478a65003590d2669d57a34bc"}, + {file = "pydantic_core-2.30.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:136258fdec5841482aaa11ef7cec8c738f1eb74f66f48d49544437ab128b9c4f"}, + {file = "pydantic_core-2.30.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fa295c34e3f05a1f9536da5991bf6fec5adc0c00d02e77118dc743e816f81cd0"}, + {file = "pydantic_core-2.30.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f9ab8d9d94aef552efb1420b95cb5c7092a5879ac07bb1e21300bb519fcb972f"}, + {file = "pydantic_core-2.30.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:f66b1a0e6672c331ad277d5963080e2b93dd448ea8e61d29a04dfd5dc6937d29"}, + {file = "pydantic_core-2.30.0-cp39-cp39-musllinux_1_1_armv7l.whl", hash = "sha256:879b5e09ebd4e136cb7aa924b35494ef4899132de3cc47512a8e0774a450ce2f"}, + {file = "pydantic_core-2.30.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:181f4199d13c1cff4c21e58e4984e21b11703680a70993356ad712a8207dc555"}, + {file = "pydantic_core-2.30.0-cp39-cp39-win32.whl", hash = "sha256:df0c38ad36c4f67e055e736037a80b78d15de4e3cb72314710e2152fb5327e01"}, + {file = "pydantic_core-2.30.0-cp39-cp39-win_amd64.whl", hash = "sha256:59bc81c847ff8117707cec21e02bb4c3b7d16925d92adf796700c08de901cd25"}, + {file = "pydantic_core-2.30.0-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:da25feb6f0b98d1b09731d7b3fbb8308c7eee9e0b4fbbf44a7903c1a26eebca3"}, + {file = "pydantic_core-2.30.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:74824f90ff17dbc930c419d9b215cc3679b1950997969f8bc1a6a81972e18e77"}, + {file = "pydantic_core-2.30.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3f3f19742f99fc119e1b01361b237c7314fa2687de6c22a639d32ce5e9d47179"}, + {file = "pydantic_core-2.30.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9c6866e9167f017dbff1d04f22a01f503f003c07c35d4d7a8e52e34238fb7dae"}, + {file = "pydantic_core-2.30.0-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:047b1b7f2257317d5dad6106d3753b4edda6caf4725e387c2ea3c65c785aa85a"}, + {file = "pydantic_core-2.30.0-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:790503884caa69fc305aaf6232ab12f8ee1037f970f3bf8b62bb822585455173"}, + {file = "pydantic_core-2.30.0-pp310-pypy310_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:6e1875153dc67fc19e9fd33f10d77f341cdc86fe5bda6b4781ab8aa1fe90208d"}, + {file = "pydantic_core-2.30.0-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:32835dc2d5e3586e2df35310f1e21bc07d8e9d3db71f6154aab953692a1fcdfc"}, + {file = "pydantic_core-2.30.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:1fb15d18bee8e5986c48c816d1305844e424143d4b677722c06717e5b7caff05"}, + {file = "pydantic_core-2.30.0-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:3e690a7b296487cac4578509703a202be7f6fa5a873f691877f45de647255fc6"}, + {file = "pydantic_core-2.30.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:b7f8221b8f4dd14b02bd3cc2a4ed774592054058ecb2f4933afd9b8ebfd028e9"}, + {file = "pydantic_core-2.30.0-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:410ede45dad2678ea08f48fa8874bb3172d445242fd0d2664a0253565cdecc02"}, + {file = "pydantic_core-2.30.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:75cd77c632f963c4c8ea3185b09ac0f7edc7656c31ecd3ec7d1bfff5a79d50b5"}, + {file = "pydantic_core-2.30.0-pp311-pypy311_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:4cfc72938bec5ece8c126100e51c573d637f2adbaf01f64e135adc9404b0aa99"}, + {file = "pydantic_core-2.30.0-pp311-pypy311_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:e94eb7e1cdc1c12f08df7cab9afd16565b114a102e01ed0aaf36e860ca4b4a2d"}, + {file = "pydantic_core-2.30.0-pp311-pypy311_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:982e061d42745d1af82ab18c863f6bfbbe853b779a5987b5e54bb15833c0d6e6"}, + {file = "pydantic_core-2.30.0-pp311-pypy311_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:decc77c45794def4256674e6c5a102a34ab7beca9dd2c5cf34fb09506231013b"}, + {file = "pydantic_core-2.30.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:bb565076749a879a5b4b5a9551f69e179b65d84a53dceee456271f983e68475a"}, + {file = "pydantic_core-2.30.0-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:0540f9bda8c67a3fd10079db6d287f9fb456eedd1138e14de2816ef2ef0d1b51"}, + {file = "pydantic_core-2.30.0-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:43e25c87e08d8b17420fcfeed92bb6af0d20fac069dff3d454c136aaabcd175a"}, + {file = "pydantic_core-2.30.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:47cc96c3d9080df6a8f606844b4d86391c602a1d6410c27ce468cdd8df40ad92"}, + {file = "pydantic_core-2.30.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:14c492620b94a51aaadcc56dc6c2f807d2cb928f4d1a77f1c25e23231bc40d6d"}, + {file = "pydantic_core-2.30.0-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f20cb1338332c92b2751a8bca50597f3d2f1a521dfeaf1aee77cb63df2fc8c20"}, + {file = "pydantic_core-2.30.0-pp39-pypy39_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:ecde527d78e3bc51d0bcd89b8ae8d9dd82d96d7d854573df52430bab1e1a3991"}, + {file = "pydantic_core-2.30.0-pp39-pypy39_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:e17b2efed813caa1d37e8834ece04f5d13f9d64bd95876942ad79354b88d4cc7"}, + {file = "pydantic_core-2.30.0-pp39-pypy39_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:cebf953261242d38f6a54f370cc8f1a3cdc366aa6f20760e54543eaaeb648edb"}, + {file = "pydantic_core-2.30.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:8cf987577b764307bb56988be93a087b5f36bedc2c3469ebe5e074831b68eeff"}, + {file = "pydantic_core-2.30.0.tar.gz", hash = "sha256:dd02949948ad60e55e5926d4da4a55df75cab06a4c97da66d07c285ee441c86c"}, ] [package.dependencies] -six = ">=1.5" +typing-extensions = ">=4.6.0,<4.7.0 || >4.7.0" [[package]] name = "python-dotenv" @@ -423,47 +461,15 @@ files = [ [package.extras] cli = ["click (>=5.0)"] -[[package]] -name = "requests" -version = "2.27.1" -description = "Python HTTP for Humans." -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*" -files = [ - {file = "requests-2.27.1-py2.py3-none-any.whl", hash = "sha256:f22fa1e554c9ddfd16e6e41ac79759e17be9e492b3587efa038054674760e72d"}, - {file = "requests-2.27.1.tar.gz", hash = "sha256:68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61"}, -] - -[package.dependencies] -certifi = ">=2017.4.17" -charset-normalizer = {version = ">=2.0.0,<2.1.0", markers = "python_version >= \"3\""} -idna = {version = ">=2.5,<4", markers = "python_version >= \"3\""} -urllib3 = ">=1.21.1,<1.27" - -[package.extras] -socks = ["PySocks (>=1.5.6,!=1.5.7)", "win-inet-pton"] -use-chardet-on-py3 = ["chardet (>=3.0.2,<5)"] - -[[package]] -name = "six" -version = "1.16.0" -description = "Python 2 and 3 compatibility utilities" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" -files = [ - {file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"}, - {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"}, -] - [[package]] name = "sniffio" -version = "1.2.0" +version = "1.3.1" description = "Sniff out which async library your code is running under" optional = false -python-versions = ">=3.5" +python-versions = ">=3.7" files = [ - {file = "sniffio-1.2.0-py3-none-any.whl", hash = "sha256:471b71698eac1c2112a40ce2752bb2f4a4814c22a54a3eed3676bc0f5ca9f663"}, - {file = "sniffio-1.2.0.tar.gz", hash = "sha256:c4666eecec1d3f50960c6bdf61ab7bc350648da6c126e3cf6898d8cd4ddcd3de"}, + {file = "sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2"}, + {file = "sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc"}, ] [[package]] @@ -484,47 +490,17 @@ typing-extensions = {version = ">=3.10.0", markers = "python_version < \"3.10\"" [package.extras] full = ["itsdangerous", "jinja2", "python-multipart", "pyyaml", "requests"] -[[package]] -name = "svix" -version = "0.41.2" -description = "Svix" -optional = false -python-versions = ">=3.6" -files = [ - {file = "svix-0.41.2.tar.gz", hash = "sha256:f81feae9553d5cfc5a1e76e1751b667915a4ba2b493b122d8207e48e0259947f"}, -] - -[package.dependencies] -python-dateutil = "*" -urllib3 = ">=1.25.3" - [[package]] name = "typing-extensions" -version = "4.2.0" -description = "Backported and Experimental Type Hints for Python 3.7+" -optional = false -python-versions = ">=3.7" -files = [ - {file = "typing_extensions-4.2.0-py3-none-any.whl", hash = "sha256:6657594ee297170d19f67d55c05852a874e7eb634f4f753dbd667855e07c1708"}, - {file = "typing_extensions-4.2.0.tar.gz", hash = "sha256:f1c24655a0da0d1b67f07e17a5e6b2a105894e6824b92096378bb3668ef02376"}, -] - -[[package]] -name = "urllib3" -version = "1.26.9" -description = "HTTP library with thread-safe connection pooling, file post, and more." +version = "4.12.2" +description = "Backported and Experimental Type Hints for Python 3.8+" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4" +python-versions = ">=3.8" files = [ - {file = "urllib3-1.26.9-py2.py3-none-any.whl", hash = "sha256:44ece4d53fb1706f667c9bd1c648f5469a2ec925fcf3a776667042d645472c14"}, - {file = "urllib3-1.26.9.tar.gz", hash = "sha256:aabaf16477806a5e1dd19aa41f8c2b7950dd3c746362d7e3223dbe6de6ac448e"}, + {file = "typing_extensions-4.12.2-py3-none-any.whl", hash = "sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d"}, + {file = "typing_extensions-4.12.2.tar.gz", hash = "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8"}, ] -[package.extras] -brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)", "brotlipy (>=0.6.0)"] -secure = ["certifi", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "ipaddress", "pyOpenSSL (>=0.14)"] -socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"] - [[package]] name = "uvicorn" version = "0.17.6" @@ -546,39 +522,22 @@ standard = ["PyYAML (>=5.1)", "colorama (>=0.4)", "httptools (>=0.4.0)", "python [[package]] name = "vital" -version = "1.1.22" +version = "2.1.214" description = "" optional = false -python-versions = ">=3.8,<4.0" +python-versions = "<4.0,>=3.8" files = [ - {file = "vital-1.1.22-py3-none-any.whl", hash = "sha256:a89099544a7645bae397f78e93259175592d6601c70d5262f88e582f50017b93"}, - {file = "vital-1.1.22.tar.gz", hash = "sha256:33ac657656c0a44d606eb8621f6ae626239a33bdfc712c33c2428a7209b5a61b"}, + {file = "vital-2.1.214-py3-none-any.whl", hash = "sha256:d9870e6f5b55a878e6fc50d34db42f2d54cb9f14df36f58cac66bb67898188d2"}, + {file = "vital-2.1.214.tar.gz", hash = "sha256:e6c407779e7fb37f2fb3bfdcd1814a943d9fc4416725c27efb7cbf11910f4543"}, ] [package.dependencies] -arrow = "*" -auth0-python = "*" -importlib-metadata = ">=3.7.3,<4.0.0" -PyJWT = ">=2.0.1,<3.0.0" -requests = "*" -svix = ">=0.41.2,<0.42.0" - -[[package]] -name = "zipp" -version = "3.8.0" -description = "Backport of pathlib-compatible object wrapper for zip files" -optional = false -python-versions = ">=3.7" -files = [ - {file = "zipp-3.8.0-py3-none-any.whl", hash = "sha256:c4f6e5bbf48e74f7a38e7cc5b0480ff42b0ae5178957d564d18932525d5cf099"}, - {file = "zipp-3.8.0.tar.gz", hash = "sha256:56bf8aadb83c24db6c4b577e13de374ccfb67da2078beba1d037c17980bf43ad"}, -] - -[package.extras] -docs = ["jaraco.packaging (>=9)", "rst.linker (>=1.9)", "sphinx"] -testing = ["func-timeout", "jaraco.itertools", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.0.1)", "pytest-flake8", "pytest-mypy (>=0.9.1)"] +httpx = ">=0.21.2" +pydantic = ">=1.9.2" +pydantic-core = ">=2.18.2,<3.0.0" +typing_extensions = ">=4.0.0" [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "5934591ac9d12d306a60c2a71fafb4abadb93901af7ed3f9d997050fac1ad18d" +content-hash = "e5fd540be914672c4b13a15e0ef64f10321e5fdc929deb23cb3ba6b2c60b76d5" diff --git a/backend/python/pyproject.toml b/backend/python/pyproject.toml index cf11d18..8725570 100644 --- a/backend/python/pyproject.toml +++ b/backend/python/pyproject.toml @@ -6,7 +6,7 @@ authors = ["Maitham "] [tool.poetry.dependencies] python = "^3.9" -vital = "^1.1.22" +vital = "^2.1.214" fastapi = "^0.77.1" uvicorn = "^0.17.6" python-dotenv = "^0.20.0"