diff --git a/fixdatalink/snowflake.py b/fixdatalink/snowflake.py index 3e8c5f0..ceeed53 100644 --- a/fixdatalink/snowflake.py +++ b/fixdatalink/snowflake.py @@ -68,7 +68,7 @@ def insert_nodes(self, kind: str, nodes: List[Json]) -> Iterator[ValuesBase]: # insert into TBL(col_string, col_json) SELECT column1, parse_json(column2) from values('a', '{"b":1}'); # All json and array elements need to be json encoded and parsed on the server side again. for num, prop in enumerate(kind_props): - name = f"column{num+1}" + name = f"column{num + 1}" select_array.append(prop.name) snowflake_kind = kind_to_snowflake_type(prop.kind, self.model) if snowflake_kind in (ARRAY, OBJECT): diff --git a/requirements-all.txt b/requirements-all.txt index d61ba20..9a615b0 100644 --- a/requirements-all.txt +++ b/requirements-all.txt @@ -1,132 +1,134 @@ aiodns==3.2.0 -aiohttp[speedups]==3.9.4 +aiohappyeyeballs==2.4.3 +aiohttp[speedups]==3.11.6 aiosignal==1.3.1 asn1crypto==1.5.1 -astroid==3.1.0 -attrs==23.2.0 +astroid==3.3.5 +attrs==24.2.0 autocommand==2.2.2 backoff==2.2.1 -backports-tarfile==1.0.0 -black==24.3.0 -boto3==1.34.83 -botocore==1.34.83 +backports-tarfile==1.2.0 +black==24.10.0 +boto3==1.35.65 +botocore==1.35.65 brotli==1.1.0 -build==1.2.1 -cachetools==5.3.3 -cattrs==23.2.3 -certifi==2024.2.2 -cffi==1.16.0 +build==1.2.2.post1 +cachetools==5.5.0 +cattrs==24.1.2 +certifi==2024.8.30 +cffi==1.17.1 chardet==5.2.0 -charset-normalizer==3.3.2 -cheroot==10.0.0 -cherrypy==18.9.0 +charset-normalizer==3.4.0 +cheroot==10.0.1 +cherrypy==18.10.0 click==8.1.7 colorama==0.4.6 -coverage[toml]==7.4.4 -cryptography==42.0.5 -dill==0.3.8 -distlib==0.3.8 -filelock==3.13.4 -fixinventory-plugin-example-collector==4.0.1 +coverage[toml]==7.6.7 +cryptography==43.0.3 +dill==0.3.9 +distlib==0.3.9 +filelock==3.16.1 +fixinventory-plugin-example-collector==4.1.0 fixinventoryclient==2.0.1 -fixinventorylib==4.0.1 -flake8==7.0.0 -frozendict==2.4.1 -frozenlist==1.4.1 -google-api-core==2.18.0 -google-auth==2.29.0 +fixinventorylib==4.1.0 +flake8==7.1.1 +flexcache==0.3 +flexparser==0.4 +frozendict==2.4.6 +frozenlist==1.5.0 +google-api-core==2.23.0 +google-auth==2.36.0 google-cloud-core==2.4.1 -google-cloud-storage==2.16.0 -google-crc32c==1.5.0 -google-resumable-media==2.7.0 -googleapis-common-protos==1.63.0 -hypothesis==6.100.1 -idna==3.7 -inflect==7.2.0 +google-cloud-storage==2.18.2 +google-crc32c==1.6.0 +google-resumable-media==2.7.2 +googleapis-common-protos==1.66.0 +hypothesis==6.119.3 +idna==3.10 iniconfig==2.0.0 -isodate==0.6.1 +isodate==0.7.2 isort==5.13.2 -jaraco-collections==5.0.0 -jaraco-context==5.3.0 -jaraco-functools==4.0.0 -jaraco-text==3.12.0 +jaraco-collections==5.1.0 +jaraco-context==6.0.1 +jaraco-functools==4.1.0 +jaraco-text==4.0.0 jmespath==1.0.1 jsons==1.6.3 markdown-it-py==3.0.0 mccabe==0.7.0 mdurl==0.1.2 monotonic==1.6 -more-itertools==10.2.0 -multidict==6.0.5 -mypy==1.9.0 +more-itertools==10.5.0 +multidict==6.1.0 +mypy==1.13.0 mypy-extensions==1.0.0 -networkx==3.3 -numpy==1.26.4 -packaging==24.0 +networkx==3.4.2 +packaging==24.2 parsy==2.1 pathspec==0.12.1 -pep8-naming==0.13.3 -pint==0.23 +pep8-naming==0.14.1 +pint==0.24.4 pip-tools==7.4.1 -platformdirs==4.2.0 -pluggy==1.4.0 +platformdirs==4.3.6 +pluggy==1.5.0 portend==3.2.0 -posthog==3.5.0 -prometheus-client==0.20.0 -proto-plus==1.23.0 -protobuf==4.25.3 -psutil==5.9.8 -psycopg2-binary==2.9.9 -pyarrow==15.0.2 -pyasn1==0.6.0 -pyasn1-modules==0.4.0 +posthog==3.7.2 +prometheus-client==0.21.0 +propcache==0.2.0 +proto-plus==1.25.0 +protobuf==5.28.3 +psutil==6.1.0 +psycopg2-binary==2.9.10 +pyarrow==18.0.0 +pyasn1==0.6.1 +pyasn1-modules==0.4.1 pycares==4.4.0 -pycodestyle==2.11.1 +pycodestyle==2.12.1 pycparser==2.22 pyflakes==3.2.0 -pygments==2.17.2 -pyjwt==2.8.0 -pylint==3.1.0 -pymysql==1.1.0 -pyopenssl==24.1.0 -pyproject-api==1.6.1 -pyproject-hooks==1.0.0 -pytest==8.1.1 -pytest-asyncio==0.23.6 -pytest-cov==5.0.0 +pygments==2.18.0 +pyjwt==2.10.0 +pylint==3.3.1 +pymysql==1.1.1 +pyopenssl==24.2.1 +pyproject-api==1.8.0 +pyproject-hooks==1.2.0 +pytest==8.3.3 +pytest-asyncio==0.24.0 +pytest-cov==6.0.0 pytest-runner==6.0.1 python-dateutil==2.9.0.post0 -pytz==2024.1 -pyyaml==6.0.1 -requests==2.31.0 -rich==13.7.1 +pytz==2024.2 +pyyaml==6.0.2 +requests==2.32.3 +rich==13.9.4 rsa==4.9 -s3transfer==0.10.1 +s3transfer==0.10.3 six==1.16.0 -snowflake-connector-python==3.8.1 -snowflake-sqlalchemy==1.5.2 +snowflake-connector-python==3.12.3 +snowflake-sqlalchemy==1.6.1 sortedcontainers==2.4.0 -sqlalchemy==1.4.52 -tempora==5.5.1 -tomlkit==0.12.4 -tox==4.14.2 -typeguard==4.2.1 -types-python-dateutil==2.9.0.20240316 +sqlalchemy==1.4.54 +tempora==5.7.0 +tomlkit==0.13.2 +tox==4.23.2 +typeguard==4.4.1 +types-python-dateutil==2.9.0.20241003 types-requests==2.31.0.6 -types-setuptools==69.2.0.20240317 -types-six==1.16.21.20240311 +types-setuptools==75.5.0.20241122 +types-six==1.16.21.20241105 types-urllib3==1.26.25.14 -typing-extensions==4.11.0 +typing-extensions==4.12.2 typish==1.9.3 -tzdata==2024.1 +tzdata==2024.2 tzlocal==5.2 -urllib3==1.26.18 -virtualenv==20.25.1 -websocket-client==1.7.0 -wheel==0.43.0 -yarl==1.9.4 +urllib3==1.26.20 +virtualenv==20.27.1 +websocket-client==1.8.0 +wheel==0.45.0 +yarl==1.17.2 zc-lockfile==3.0.post1 # The following packages are considered to be unsafe in a requirements file: -pip==24.0 -setuptools==69.2.0 +pip==24.3.1 +setuptools==75.5.0 diff --git a/requirements.txt b/requirements.txt index 3ff141c..1faa7d7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,90 +1,92 @@ aiodns==3.2.0 -aiohttp[speedups]==3.9.4 +aiohappyeyeballs==2.4.3 +aiohttp[speedups]==3.11.6 aiosignal==1.3.1 asn1crypto==1.5.1 -attrs==23.2.0 +attrs==24.2.0 autocommand==2.2.2 -backports-tarfile==1.0.0 -boto3==1.34.83 -botocore==1.34.83 +backports-tarfile==1.2.0 +boto3==1.35.65 +botocore==1.35.65 brotli==1.1.0 -cachetools==5.3.3 -cattrs==23.2.3 -certifi==2024.2.2 -cffi==1.16.0 -charset-normalizer==3.3.2 -cheroot==10.0.0 -cherrypy==18.9.0 -cryptography==42.0.5 -filelock==3.13.4 +cachetools==5.5.0 +cattrs==24.1.2 +certifi==2024.8.30 +cffi==1.17.1 +charset-normalizer==3.4.0 +cheroot==10.0.1 +cherrypy==18.10.0 +cryptography==43.0.3 +filelock==3.16.1 fixinventoryclient==2.0.1 -fixinventorylib==4.0.1 -frozendict==2.4.1 -frozenlist==1.4.1 -google-api-core==2.18.0 -google-auth==2.29.0 +fixinventorylib==4.1.0 +flexcache==0.3 +flexparser==0.4 +frozendict==2.4.6 +frozenlist==1.5.0 +google-api-core==2.23.0 +google-auth==2.36.0 google-cloud-core==2.4.1 -google-cloud-storage==2.16.0 -google-crc32c==1.5.0 -google-resumable-media==2.7.0 -googleapis-common-protos==1.63.0 -idna==3.7 -inflect==7.2.0 -isodate==0.6.1 -jaraco-collections==5.0.0 -jaraco-context==5.3.0 -jaraco-functools==4.0.0 -jaraco-text==3.12.0 +google-cloud-storage==2.18.2 +google-crc32c==1.6.0 +google-resumable-media==2.7.2 +googleapis-common-protos==1.66.0 +idna==3.10 +isodate==0.7.2 +jaraco-collections==5.1.0 +jaraco-context==6.0.1 +jaraco-functools==4.1.0 +jaraco-text==4.0.0 jmespath==1.0.1 jsons==1.6.3 markdown-it-py==3.0.0 mdurl==0.1.2 -more-itertools==10.2.0 -multidict==6.0.5 -networkx==3.3 -numpy==1.26.4 -packaging==24.0 +more-itertools==10.5.0 +multidict==6.1.0 +networkx==3.4.2 +packaging==24.2 parsy==2.1 -pint==0.23 -platformdirs==4.2.0 +pint==0.24.4 +platformdirs==4.3.6 portend==3.2.0 -prometheus-client==0.20.0 -proto-plus==1.23.0 -protobuf==4.25.3 -psutil==5.9.8 -psycopg2-binary==2.9.9 -pyarrow==15.0.2 -pyasn1==0.6.0 -pyasn1-modules==0.4.0 +prometheus-client==0.21.0 +propcache==0.2.0 +proto-plus==1.25.0 +protobuf==5.28.3 +psutil==6.1.0 +psycopg2-binary==2.9.10 +pyarrow==18.0.0 +pyasn1==0.6.1 +pyasn1-modules==0.4.1 pycares==4.4.0 pycparser==2.22 -pygments==2.17.2 -pyjwt==2.8.0 -pymysql==1.1.0 -pyopenssl==24.1.0 +pygments==2.18.0 +pyjwt==2.10.0 +pymysql==1.1.1 +pyopenssl==24.2.1 python-dateutil==2.9.0.post0 -pytz==2024.1 -pyyaml==6.0.1 -requests==2.31.0 -rich==13.7.1 +pytz==2024.2 +pyyaml==6.0.2 +requests==2.32.3 +rich==13.9.4 rsa==4.9 -s3transfer==0.10.1 +s3transfer==0.10.3 six==1.16.0 -snowflake-connector-python==3.8.1 -snowflake-sqlalchemy==1.5.2 +snowflake-connector-python==3.12.3 +snowflake-sqlalchemy==1.6.1 sortedcontainers==2.4.0 -sqlalchemy==1.4.52 -tempora==5.5.1 -tomlkit==0.12.4 -typeguard==4.2.1 -typing-extensions==4.11.0 +sqlalchemy==1.4.54 +tempora==5.7.0 +tomlkit==0.13.2 +typeguard==4.4.1 +typing-extensions==4.12.2 typish==1.9.3 -tzdata==2024.1 +tzdata==2024.2 tzlocal==5.2 -urllib3==1.26.18 -websocket-client==1.7.0 -yarl==1.9.4 +urllib3==1.26.20 +websocket-client==1.8.0 +yarl==1.17.2 zc-lockfile==3.0.post1 # The following packages are considered to be unsafe in a requirements file: -setuptools==69.2.0 +setuptools==75.5.0