From d1027970f46c8a1d48793a90ba6e407006c5b0d1 Mon Sep 17 00:00:00 2001 From: Nathan Thorpe Date: Mon, 22 Jun 2026 16:33:49 -0700 Subject: [PATCH 1/6] upgrade openapi-python-client and dependencies, fix tmpl --- poetry.lock | 787 ++++++++++++----------------- pyproject.toml | 7 +- templates/endpoint_macros.py.jinja | 2 +- tests/test_client.py | 2 +- 4 files changed, 317 insertions(+), 481 deletions(-) diff --git a/poetry.lock b/poetry.lock index 9bf2394..3912027 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,16 @@ -# This file is automatically @generated by Poetry 2.4.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.1.2 and should not be changed by hand. + +[[package]] +name = "annotated-doc" +version = "0.0.4" +description = "Document parameters, class attributes, return types, and variables inline, with Annotated." +optional = false +python-versions = ">=3.8" +groups = ["dev"] +files = [ + {file = "annotated_doc-0.0.4-py3-none-any.whl", hash = "sha256:571ac1dc6991c450b25a9c2d84a3705e2ae7a53467b5d111c24fa8baabbed320"}, + {file = "annotated_doc-0.0.4.tar.gz", hash = "sha256:fbcda96e87e9c92ad167c2e53839e57503ecfda18804ea28102353485033faa4"}, +] [[package]] name = "annotated-types" @@ -14,63 +26,47 @@ files = [ [[package]] name = "anyio" -version = "4.12.0" +version = "4.14.0" description = "High-level concurrency and networking framework on top of asyncio or Trio" optional = false -python-versions = ">=3.9" +python-versions = ">=3.10" groups = ["main", "dev"] files = [ - {file = "anyio-4.12.0-py3-none-any.whl", hash = "sha256:dad2376a628f98eeca4881fc56cd06affd18f659b17a747d3ff0307ced94b1bb"}, - {file = "anyio-4.12.0.tar.gz", hash = "sha256:73c693b567b0c55130c104d0b43a9baf3aa6a31fc6110116509f27bf75e21ec0"}, + {file = "anyio-4.14.0-py3-none-any.whl", hash = "sha256:dd9b7a2a9799ed6552fde617b2c5df02b7fdd7d88392fc48101e51bae46164d9"}, + {file = "anyio-4.14.0.tar.gz", hash = "sha256:b47c1f9ccf73e67021df785332508f99379c68fa7d0684e8e3492cb1d4b23f89"}, ] [package.dependencies] -exceptiongroup = {version = ">=1.0.2", markers = "python_version < \"3.11\""} idna = ">=2.8" typing_extensions = {version = ">=4.5", markers = "python_version < \"3.13\""} [package.extras] -trio = ["trio (>=0.31.0) ; python_version < \"3.10\"", "trio (>=0.32.0) ; python_version >= \"3.10\""] +trio = ["trio (>=0.32.0)"] [[package]] name = "attrs" -version = "25.4.0" +version = "26.1.0" description = "Classes Without Boilerplate" optional = false python-versions = ">=3.9" groups = ["main", "dev"] files = [ - {file = "attrs-25.4.0-py3-none-any.whl", hash = "sha256:adcf7e2a1fb3b36ac48d97835bb6d8ade15b8dcce26aba8bf1d14847b57a3373"}, - {file = "attrs-25.4.0.tar.gz", hash = "sha256:16d5969b87f0859ef33a48b35d55ac1be6e42ae49d5e853b597db70c35c57e11"}, + {file = "attrs-26.1.0-py3-none-any.whl", hash = "sha256:c647aa4a12dfbad9333ca4e71fe62ddc36f4e63b2d260a37a8b83d2f043ac309"}, + {file = "attrs-26.1.0.tar.gz", hash = "sha256:d03ceb89cb322a8fd706d4fb91940737b6642aa36998fe130a9bc96c985eff32"}, ] [[package]] name = "certifi" -version = "2026.1.4" +version = "2026.6.17" description = "Python package for providing Mozilla's CA Bundle." optional = false python-versions = ">=3.7" groups = ["main", "dev"] files = [ - {file = "certifi-2026.1.4-py3-none-any.whl", hash = "sha256:9943707519e4add1115f44c2bc244f782c0249876bf51b6599fee1ffbedd685c"}, - {file = "certifi-2026.1.4.tar.gz", hash = "sha256:ac726dd470482006e014ad384921ed6438c457018f4b3d204aea4281258b2120"}, + {file = "certifi-2026.6.17-py3-none-any.whl", hash = "sha256:2227dcbaafe0d2f59279d1762ddddc37783ed4354594f194ffc31d20f41fc3db"}, + {file = "certifi-2026.6.17.tar.gz", hash = "sha256:024c88eeec92ca068db80f02b8b07c9cef7b9fe261d1d535abfd5abd6f6af432"}, ] -[[package]] -name = "click" -version = "8.3.1" -description = "Composable command line interface toolkit" -optional = false -python-versions = ">=3.10" -groups = ["dev"] -files = [ - {file = "click-8.3.1-py3-none-any.whl", hash = "sha256:981153a64e25f12d547d3426c367a4857371575ee7ad18df2a6183ab0545b2a6"}, - {file = "click-8.3.1.tar.gz", hash = "sha256:12ff4785d337a1bb490bb7e9c2b1ee5da3112e94a8622f26a6c77f5d2fc6842a"}, -] - -[package.dependencies] -colorama = {version = "*", markers = "platform_system == \"Windows\""} - [[package]] name = "colorama" version = "0.4.6" @@ -84,25 +80,6 @@ files = [ {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, ] -[[package]] -name = "exceptiongroup" -version = "1.3.1" -description = "Backport of PEP 654 (exception groups)" -optional = false -python-versions = ">=3.7" -groups = ["main", "dev"] -markers = "python_version == \"3.10\"" -files = [ - {file = "exceptiongroup-1.3.1-py3-none-any.whl", hash = "sha256:a7a39a3bd276781e98394987d3a5701d0c4edffb633bb7a5144577f82c773598"}, - {file = "exceptiongroup-1.3.1.tar.gz", hash = "sha256:8b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219"}, -] - -[package.dependencies] -typing-extensions = {version = ">=4.6.0", markers = "python_version < \"3.13\""} - -[package.extras] -test = ["pytest (>=6)"] - [[package]] name = "h11" version = "0.16.0" @@ -164,18 +141,18 @@ zstd = ["zstandard (>=0.18.0)"] [[package]] name = "idna" -version = "3.11" +version = "3.18" description = "Internationalized Domain Names in Applications (IDNA)" optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" groups = ["main", "dev"] files = [ - {file = "idna-3.11-py3-none-any.whl", hash = "sha256:771a87f49d9defaf64091e6e6fe9c18d4833f140bd19464795bc32d966ca37ea"}, - {file = "idna-3.11.tar.gz", hash = "sha256:795dafcc9c04ed0c1fb032c2aa73654d8e8c5023a7df64a53f39190ada629902"}, + {file = "idna-3.18-py3-none-any.whl", hash = "sha256:7f952cbe720b688055e3f87de14f5c3e5fdaa8bc3928985c4077ca689de849a2"}, + {file = "idna-3.18.tar.gz", hash = "sha256:ffb385a7e039654cef1ab9ef32c6fafe283c0c0467bba1d9029738ce4a14a848"}, ] [package.extras] -all = ["flake8 (>=7.1.1)", "mypy (>=1.11.2)", "pytest (>=8.3.2)", "ruff (>=0.6.2)"] +all = ["mypy (>=1.11.2)", "pytest (>=8.3.2)", "ruff (>=0.6.2)"] [[package]] name = "iniconfig" @@ -209,101 +186,115 @@ i18n = ["Babel (>=2.7)"] [[package]] name = "librt" -version = "0.7.7" +version = "0.11.0" description = "Mypyc runtime library" optional = false python-versions = ">=3.9" groups = ["dev"] markers = "platform_python_implementation != \"PyPy\"" files = [ - {file = "librt-0.7.7-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:e4836c5645f40fbdc275e5670819bde5ab5f2e882290d304e3c6ddab1576a6d0"}, - {file = "librt-0.7.7-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:6ae8aec43117a645a31e5f60e9e3a0797492e747823b9bda6972d521b436b4e8"}, - {file = "librt-0.7.7-cp310-cp310-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:aea05f701ccd2a76b34f0daf47ca5068176ff553510b614770c90d76ac88df06"}, - {file = "librt-0.7.7-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7b16ccaeff0ed4355dfb76fe1ea7a5d6d03b5ad27f295f77ee0557bc20a72495"}, - {file = "librt-0.7.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c48c7e150c095d5e3cea7452347ba26094be905d6099d24f9319a8b475fcd3e0"}, - {file = "librt-0.7.7-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:4dcee2f921a8632636d1c37f1bbdb8841d15666d119aa61e5399c5268e7ce02e"}, - {file = "librt-0.7.7-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:14ef0f4ac3728ffd85bfc58e2f2f48fb4ef4fa871876f13a73a7381d10a9f77c"}, - {file = "librt-0.7.7-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:e4ab69fa37f8090f2d971a5d2bc606c7401170dbdae083c393d6cbf439cb45b8"}, - {file = "librt-0.7.7-cp310-cp310-win32.whl", hash = "sha256:4bf3cc46d553693382d2abf5f5bd493d71bb0f50a7c0beab18aa13a5545c8900"}, - {file = "librt-0.7.7-cp310-cp310-win_amd64.whl", hash = "sha256:f0c8fe5aeadd8a0e5b0598f8a6ee3533135ca50fd3f20f130f9d72baf5c6ac58"}, - {file = "librt-0.7.7-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:a487b71fbf8a9edb72a8c7a456dda0184642d99cd007bc819c0b7ab93676a8ee"}, - {file = "librt-0.7.7-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f4d4efb218264ecf0f8516196c9e2d1a0679d9fb3bb15df1155a35220062eba8"}, - {file = "librt-0.7.7-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:b8bb331aad734b059c4b450cd0a225652f16889e286b2345af5e2c3c625c3d85"}, - {file = "librt-0.7.7-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:467dbd7443bda08338fc8ad701ed38cef48194017554f4c798b0a237904b3f99"}, - {file = "librt-0.7.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:50d1d1ee813d2d1a3baf2873634ba506b263032418d16287c92ec1cc9c1a00cb"}, - {file = "librt-0.7.7-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:c7e5070cf3ec92d98f57574da0224f8c73faf1ddd6d8afa0b8c9f6e86997bc74"}, - {file = "librt-0.7.7-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:bdb9f3d865b2dafe7f9ad7f30ef563c80d0ddd2fdc8cc9b8e4f242f475e34d75"}, - {file = "librt-0.7.7-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:8185c8497d45164e256376f9da5aed2bb26ff636c798c9dabe313b90e9f25b28"}, - {file = "librt-0.7.7-cp311-cp311-win32.whl", hash = "sha256:44d63ce643f34a903f09ff7ca355aae019a3730c7afd6a3c037d569beeb5d151"}, - {file = "librt-0.7.7-cp311-cp311-win_amd64.whl", hash = "sha256:7d13cc340b3b82134f8038a2bfe7137093693dcad8ba5773da18f95ad6b77a8a"}, - {file = "librt-0.7.7-cp311-cp311-win_arm64.whl", hash = "sha256:983de36b5a83fe9222f4f7dcd071f9b1ac6f3f17c0af0238dadfb8229588f890"}, - {file = "librt-0.7.7-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:2a85a1fc4ed11ea0eb0a632459ce004a2d14afc085a50ae3463cd3dfe1ce43fc"}, - {file = "librt-0.7.7-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:c87654e29a35938baead1c4559858f346f4a2a7588574a14d784f300ffba0efd"}, - {file = "librt-0.7.7-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:c9faaebb1c6212c20afd8043cd6ed9de0a47d77f91a6b5b48f4e46ed470703fe"}, - {file = "librt-0.7.7-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1908c3e5a5ef86b23391448b47759298f87f997c3bd153a770828f58c2bb4630"}, - {file = "librt-0.7.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:dbc4900e95a98fc0729523be9d93a8fedebb026f32ed9ffc08acd82e3e181503"}, - {file = "librt-0.7.7-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:a7ea4e1fbd253e5c68ea0fe63d08577f9d288a73f17d82f652ebc61fa48d878d"}, - {file = "librt-0.7.7-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:ef7699b7a5a244b1119f85c5bbc13f152cd38240cbb2baa19b769433bae98e50"}, - {file = "librt-0.7.7-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:955c62571de0b181d9e9e0a0303c8bc90d47670a5eff54cf71bf5da61d1899cf"}, - {file = "librt-0.7.7-cp312-cp312-win32.whl", hash = "sha256:1bcd79be209313b270b0e1a51c67ae1af28adad0e0c7e84c3ad4b5cb57aaa75b"}, - {file = "librt-0.7.7-cp312-cp312-win_amd64.whl", hash = "sha256:4353ee891a1834567e0302d4bd5e60f531912179578c36f3d0430f8c5e16b456"}, - {file = "librt-0.7.7-cp312-cp312-win_arm64.whl", hash = "sha256:a76f1d679beccccdf8c1958e732a1dfcd6e749f8821ee59d7bec009ac308c029"}, - {file = "librt-0.7.7-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8f4a0b0a3c86ba9193a8e23bb18f100d647bf192390ae195d84dfa0a10fb6244"}, - {file = "librt-0.7.7-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:5335890fea9f9e6c4fdf8683061b9ccdcbe47c6dc03ab8e9b68c10acf78be78d"}, - {file = "librt-0.7.7-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:9b4346b1225be26def3ccc6c965751c74868f0578cbcba293c8ae9168483d811"}, - {file = "librt-0.7.7-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a10b8eebdaca6e9fdbaf88b5aefc0e324b763a5f40b1266532590d5afb268a4c"}, - {file = "librt-0.7.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:067be973d90d9e319e6eb4ee2a9b9307f0ecd648b8a9002fa237289a4a07a9e7"}, - {file = "librt-0.7.7-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:23d2299ed007812cccc1ecef018db7d922733382561230de1f3954db28433977"}, - {file = "librt-0.7.7-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:6b6f8ea465524aa4c7420c7cc4ca7d46fe00981de8debc67b1cc2e9957bb5b9d"}, - {file = "librt-0.7.7-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:f8df32a99cc46eb0ee90afd9ada113ae2cafe7e8d673686cf03ec53e49635439"}, - {file = "librt-0.7.7-cp313-cp313-win32.whl", hash = "sha256:86f86b3b785487c7760247bcdac0b11aa8bf13245a13ed05206286135877564b"}, - {file = "librt-0.7.7-cp313-cp313-win_amd64.whl", hash = "sha256:4862cb2c702b1f905c0503b72d9d4daf65a7fdf5a9e84560e563471e57a56949"}, - {file = "librt-0.7.7-cp313-cp313-win_arm64.whl", hash = "sha256:0996c83b1cb43c00e8c87835a284f9057bc647abd42b5871e5f941d30010c832"}, - {file = "librt-0.7.7-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:23daa1ab0512bafdd677eb1bfc9611d8ffbe2e328895671e64cb34166bc1b8c8"}, - {file = "librt-0.7.7-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:558a9e5a6f3cc1e20b3168fb1dc802d0d8fa40731f6e9932dcc52bbcfbd37111"}, - {file = "librt-0.7.7-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:2567cb48dc03e5b246927ab35cbb343376e24501260a9b5e30b8e255dca0d1d2"}, - {file = "librt-0.7.7-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6066c638cdf85ff92fc6f932d2d73c93a0e03492cdfa8778e6d58c489a3d7259"}, - {file = "librt-0.7.7-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a609849aca463074c17de9cda173c276eb8fee9e441053529e7b9e249dc8b8ee"}, - {file = "librt-0.7.7-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:add4e0a000858fe9bb39ed55f31085506a5c38363e6eb4a1e5943a10c2bfc3d1"}, - {file = "librt-0.7.7-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:a3bfe73a32bd0bdb9a87d586b05a23c0a1729205d79df66dee65bb2e40d671ba"}, - {file = "librt-0.7.7-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:0ecce0544d3db91a40f8b57ae26928c02130a997b540f908cefd4d279d6c5848"}, - {file = "librt-0.7.7-cp314-cp314-win32.whl", hash = "sha256:8f7a74cf3a80f0c3b0ec75b0c650b2f0a894a2cec57ef75f6f72c1e82cdac61d"}, - {file = "librt-0.7.7-cp314-cp314-win_amd64.whl", hash = "sha256:3d1fe2e8df3268dd6734dba33ededae72ad5c3a859b9577bc00b715759c5aaab"}, - {file = "librt-0.7.7-cp314-cp314-win_arm64.whl", hash = "sha256:2987cf827011907d3dfd109f1be0d61e173d68b1270107bb0e89f2fca7f2ed6b"}, - {file = "librt-0.7.7-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:8e92c8de62b40bfce91d5e12c6e8b15434da268979b1af1a6589463549d491e6"}, - {file = "librt-0.7.7-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:f683dcd49e2494a7535e30f779aa1ad6e3732a019d80abe1309ea91ccd3230e3"}, - {file = "librt-0.7.7-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:9b15e5d17812d4d629ff576699954f74e2cc24a02a4fc401882dd94f81daba45"}, - {file = "librt-0.7.7-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c084841b879c4d9b9fa34e5d5263994f21aea7fd9c6add29194dbb41a6210536"}, - {file = "librt-0.7.7-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:10c8fb9966f84737115513fecbaf257f9553d067a7dd45a69c2c7e5339e6a8dc"}, - {file = "librt-0.7.7-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:9b5fb1ecb2c35362eab2dbd354fd1efa5a8440d3e73a68be11921042a0edc0ff"}, - {file = "librt-0.7.7-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:d1454899909d63cc9199a89fcc4f81bdd9004aef577d4ffc022e600c412d57f3"}, - {file = "librt-0.7.7-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:7ef28f2e7a016b29792fe0a2dd04dec75725b32a1264e390c366103f834a9c3a"}, - {file = "librt-0.7.7-cp314-cp314t-win32.whl", hash = "sha256:5e419e0db70991b6ba037b70c1d5bbe92b20ddf82f31ad01d77a347ed9781398"}, - {file = "librt-0.7.7-cp314-cp314t-win_amd64.whl", hash = "sha256:d6b7d93657332c817b8d674ef6bf1ab7796b4f7ce05e420fd45bd258a72ac804"}, - {file = "librt-0.7.7-cp314-cp314t-win_arm64.whl", hash = "sha256:142c2cd91794b79fd0ce113bd658993b7ede0fe93057668c2f98a45ca00b7e91"}, - {file = "librt-0.7.7-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:c8ffe3431d98cc043a14e88b21288b5ec7ee12cb01260e94385887f285ef9389"}, - {file = "librt-0.7.7-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:e40d20ae1722d6b8ea6acf4597e789604649dcd9c295eb7361a28225bc2e9e12"}, - {file = "librt-0.7.7-cp39-cp39-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:f2cb63c49bc96847c3bb8dca350970e4dcd19936f391cfdfd057dcb37c4fa97e"}, - {file = "librt-0.7.7-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8f2f8dcf5ab9f80fb970c6fd780b398efb2f50c1962485eb8d3ab07788595a48"}, - {file = "librt-0.7.7-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a1f5cc41a570269d1be7a676655875e3a53de4992a9fa38efb7983e97cf73d7c"}, - {file = "librt-0.7.7-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:ff1fb2dfef035549565a4124998fadcb7a3d4957131ddf004a56edeb029626b3"}, - {file = "librt-0.7.7-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:ab2a2a9cd7d044e1a11ca64a86ad3361d318176924bbe5152fbc69f99be20b8c"}, - {file = "librt-0.7.7-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:ad3fc2d859a709baf9dd9607bb72f599b1cfb8a39eafd41307d0c3c4766763cb"}, - {file = "librt-0.7.7-cp39-cp39-win32.whl", hash = "sha256:f83c971eb9d2358b6a18da51dc0ae00556ac7c73104dde16e9e14c15aaf685ca"}, - {file = "librt-0.7.7-cp39-cp39-win_amd64.whl", hash = "sha256:264720fc288c86039c091a4ad63419a5d7cabbf1c1c9933336a957ed2483e570"}, - {file = "librt-0.7.7.tar.gz", hash = "sha256:81d957b069fed1890953c3b9c3895c7689960f233eea9a1d9607f71ce7f00b2c"}, + {file = "librt-0.11.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:6e94ebfcfa2d5e9926d6c3b9aa4617ffc42a845b4321fb84021b872358c82a0f"}, + {file = "librt-0.11.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ae627397a2f351560440d872d6f7c8dbb4072e57868e7b2fc5b8b430fe489d45"}, + {file = "librt-0.11.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:dc329359321b67d24efdf4bc69012b0597001649544db662c001db5a0184794c"}, + {file = "librt-0.11.0-cp310-cp310-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:7e82e642ab0f7608ce2fe53d76ca2280a9ee33a1b06556142c7c6fe80a86fc33"}, + {file = "librt-0.11.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:88145c15c67731d54283d135b03244028c750cc9edc334a96a4f5950ebdb2884"}, + {file = "librt-0.11.0-cp310-cp310-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:9d36a51b3d93320b686588e27123f4995804dbf1bce81df78c02fc3c6eea9280"}, + {file = "librt-0.11.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:d00f3ac06a2a8b246327f11e186a53a100a4d5c7ed52346367e5ec751d51586c"}, + {file = "librt-0.11.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:461bbceede621f1ffb8839755f8663e886087ee7af16294cab7fb4d782c62eeb"}, + {file = "librt-0.11.0-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:0cad8a4d6a8ff03c9b76f9414caccd78e7cfbc8a2e12fa334d8e1d9932753783"}, + {file = "librt-0.11.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:f37aa505b3cf60701562eddb32df74b12a9e380c207fd8b06dd157a943ac7ea0"}, + {file = "librt-0.11.0-cp310-cp310-win32.whl", hash = "sha256:94663a21534637f0e787ec2a2a756022df6e5b7b2335a5cdd7d8e33d68a2af89"}, + {file = "librt-0.11.0-cp310-cp310-win_amd64.whl", hash = "sha256:dec7db73758c2b54953fd8b7fe348c45188fe26b39ee18446196edd08453a5d4"}, + {file = "librt-0.11.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:93d95bd45b7d58343d8b90d904450a545144eec19a002511163426f8ab1fae29"}, + {file = "librt-0.11.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4ee278c769a713638cdacd4c0436d72156e75df3ebc0166ab2b9dc43acc386c9"}, + {file = "librt-0.11.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f230cb1cbc9faaa616f9a678f530ebcf186e414b6bcbd88b960e4ba1b92428d5"}, + {file = "librt-0.11.0-cp311-cp311-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:5d63c855d86938d9de93e265c9bd8c705b51ec494de5738340ee93767a686e4b"}, + {file = "librt-0.11.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:993f028be9e96a08d31df3479ac80d99be374d17f3b78e4796b3fd3c913d4e89"}, + {file = "librt-0.11.0-cp311-cp311-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:258d73a0aa66a055e65b2e4d1b8cdb23b9d132c5bb915d9547d804fcaed116cc"}, + {file = "librt-0.11.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:0827efe7854718f04aaddf6496e96960a956e676fe1d0f04eb41511fd8ad06d5"}, + {file = "librt-0.11.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:7753e57d6e12d019c0d8786f1c09c709f4c3fcc57c3887b24e36e6c06ec938b7"}, + {file = "librt-0.11.0-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:11bd19822431cc21af9f27374e7ae2e58103c7d98bda823536a6c47f6bb2bb3d"}, + {file = "librt-0.11.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:22bdf239b219d3993761a148ffa134b19e52e9989c84f845d5d7b71d70a17412"}, + {file = "librt-0.11.0-cp311-cp311-win32.whl", hash = "sha256:46c60b61e308eb535fbd6fa622b1ee1bb2815691c1ad9c98bf7b84952ec3bc8d"}, + {file = "librt-0.11.0-cp311-cp311-win_amd64.whl", hash = "sha256:902e546ff044f579ff1c953ff5fce97b636fe9e3943996b2177710c6ef076f73"}, + {file = "librt-0.11.0-cp311-cp311-win_arm64.whl", hash = "sha256:65ac3bc20f78aa0ee5ae84baa68917f89fef4af63e941084dd019a0d0e749f0c"}, + {file = "librt-0.11.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:b87504f1690a23b9a2cca841191a04f83895d4fc2dd04df91d82b1a04ca2ad46"}, + {file = "librt-0.11.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40071fc5fe0ce8daa6de616702314a01e1250711682b0523d6ab8d4525910cb3"}, + {file = "librt-0.11.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:137e79445c896a0ea7b265f52d23954e05b64222ee1af69e2cb34219067cbb67"}, + {file = "librt-0.11.0-cp312-cp312-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:cca6644054e78746d8d4ef238681f9c34ff8b584fe6b988ecebb8db3b15e622a"}, + {file = "librt-0.11.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d5b0eea49f5562861ee8d757a32ef7d559c1d35be2aaaa1ec28941d74c9ffc8a"}, + {file = "librt-0.11.0-cp312-cp312-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0d1029d7e1ae1a7e647ed6fb5df8c4ce2dffefb7a9f5fd1376a4554d96dac09f"}, + {file = "librt-0.11.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:bc3ce6b33c5828d9e80592011a5c584cb2ce86edbc4088405f70da47dc1d1b3b"}, + {file = "librt-0.11.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:936c5995f3514a42111f20099397d8177c79b4d7e70961e396c6f5a0a3566766"}, + {file = "librt-0.11.0-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:9bc0ca6ad9381cbe8e4aa6e5726e4c80c78115a6e9723c599ed1d73e092bc49d"}, + {file = "librt-0.11.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:070aa8c26c0a74774317a72df8851facc7f0f012a5b406557ac56992d92e1ec8"}, + {file = "librt-0.11.0-cp312-cp312-win32.whl", hash = "sha256:6bf14feb84b05ae945277395451998c89c54d0def4070eb5c08de544930b245a"}, + {file = "librt-0.11.0-cp312-cp312-win_amd64.whl", hash = "sha256:75672f0bc524ede266287d532d7923dbce94c7514ad07627bac3d0c6d92cc4d9"}, + {file = "librt-0.11.0-cp312-cp312-win_arm64.whl", hash = "sha256:2f10cf143e4a9bb0f4f5af568a00df94a2d69ef41c2579584454bb0fe5cc642c"}, + {file = "librt-0.11.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:78dc31f7fdfe9c9d0eb0e8f42d139db230e826415bbcabd9f0e9faaaee909894"}, + {file = "librt-0.11.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:fa475675db22290c3158e1d42326d0f5a65f04f44a0e68c3630a25b53560fb9c"}, + {file = "librt-0.11.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:621db29691044bdeda22e789e482e1b0f3a985d90e3426c9c6d17606416205ea"}, + {file = "librt-0.11.0-cp313-cp313-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:a9010e2ed5b3a9e158c5fd966b3ab7e834bb3d3aacc8f66c91dd4b57a3799230"}, + {file = "librt-0.11.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7c39513d8b7477a2e1ed8c43fc21c524e8d5a0f8d4e8b7b074dbdbe7820a08e2"}, + {file = "librt-0.11.0-cp313-cp313-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:7aef3cf1d5af86e770ab04bfd993dfc4ae8b8c17f66fb77dd4a7d50de7bbb1a3"}, + {file = "librt-0.11.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:557183ddc36babe46b27dd60facbd5adb4492181a5be887587d57cda6e092f21"}, + {file = "librt-0.11.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:83d3e1f72bd42f6c5c0b7daec530c3f829bd02db42c70b8ddf0c2d90a2459930"}, + {file = "librt-0.11.0-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:4ce1f21fbe589bc1afd7872dece84fb0e1144f794a288e58a10d2c54a55c43be"}, + {file = "librt-0.11.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:970b09f7044ea2b64c9da42fd3d335666518cfd1c6e8a182c95da73d0214b41e"}, + {file = "librt-0.11.0-cp313-cp313-win32.whl", hash = "sha256:78fddc31cd4d3caa897ad5d31f856b1faadc9474021ad6cb182b9018793e254e"}, + {file = "librt-0.11.0-cp313-cp313-win_amd64.whl", hash = "sha256:8ca8aa88751a775870b764e93bad5135385f563cb8dcee399abf034ea4d3cb47"}, + {file = "librt-0.11.0-cp313-cp313-win_arm64.whl", hash = "sha256:96f044bb325fd9cf1a723015638c219e9143f0dfbc0ca54c565df2b7fc748b44"}, + {file = "librt-0.11.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:4a017a95e5837dc15a8c5661d60e05daa96b90908b1aa6b7acdf443cd25c8ebd"}, + {file = "librt-0.11.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:b1ecbd9819deccc39b7542bf4d2a740d8a620694d39989e58661d3763458f8d4"}, + {file = "librt-0.11.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7da327dacd7be8f8ec36547373550744a3cc0e536d54665cd83f8bcd961200e8"}, + {file = "librt-0.11.0-cp314-cp314-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:0dc56b1f8d06e60db362cc3fdae206681817f86ce4725d34511473487f12a34b"}, + {file = "librt-0.11.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:05fb8fb2ab90e21c8d12ea240d744ad514da9baf381ebfa70d91d20d21713175"}, + {file = "librt-0.11.0-cp314-cp314-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:cae74872be221df4374d10fec61f93ed1513b9546ea84f2c0bf73ab3e9bd0b03"}, + {file = "librt-0.11.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:32bcc918c0148eb7e3d57385125bac7e5f9e4359d05f07448b09f6f778c2f31c"}, + {file = "librt-0.11.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:f9743fc99135d5f78d2454435615f6dec0473ca507c26ce9d92b10b562a280d3"}, + {file = "librt-0.11.0-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:5ba067f4aadae8fda802d91d2124c90c42195ff32d9161d3549e6d05cfe26f96"}, + {file = "librt-0.11.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:de3bf945454d032f9e390b85c4072e0a0570bf825421c8be0e71209fa65e1abe"}, + {file = "librt-0.11.0-cp314-cp314-win32.whl", hash = "sha256:d2277a05f6dcb9fd13db9566aac4fabd68c3ea1ea46ee5567d4eef8efa495a2f"}, + {file = "librt-0.11.0-cp314-cp314-win_amd64.whl", hash = "sha256:ab73e8db5e3f564d812c1f5c3a175930a5f9bc96ccb5e3b22a34d7858b401cf7"}, + {file = "librt-0.11.0-cp314-cp314-win_arm64.whl", hash = "sha256:aea3caa317752e3a466fa8af45d91ee0ea8c7fdd96e42b0a8dd9b76a7931eba1"}, + {file = "librt-0.11.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:d1b36540d7aaf9b9101b3a6f376c8d8e9f7a9aec93ed05918f2c69d493ffef72"}, + {file = "librt-0.11.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:efbb343ab2ce3540f4ecbe6315d677ed70f37cd9a72b1e58066c918ca83acbaa"}, + {file = "librt-0.11.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:aa0dd688aab3f7914d3e6e5e3554978e0383312fb8e771d84be008a35b9ee548"}, + {file = "librt-0.11.0-cp314-cp314t-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:f5fb36b8c6c63fdcbb1d526d94c0d1331610d43f4118cc1beb4efef4f3faacb2"}, + {file = "librt-0.11.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4a9a237d13addb93715b6fee74023d5ee3469b53fce527626c0e088aa585805f"}, + {file = "librt-0.11.0-cp314-cp314t-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:5ddd17bd87b2c56ddd60e546a7984a2e64c4e8eab92fb4cf3830a48ad5469d51"}, + {file = "librt-0.11.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:bd43992b4473d42f12ff9e68326079f0696d9d4e6000e8f39a0238d482ba6ee2"}, + {file = "librt-0.11.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:f8e3e8056dd674e279741485e2e512d6e9a751c7455809d0114e6ebf8d781085"}, + {file = "librt-0.11.0-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:c1f708d8ae9c56cf38a903c44297243d2ec83fd82b396b977e0144a3e76217e3"}, + {file = "librt-0.11.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:0add982e0e7b9fc14cf4b33789d5f13f66581889b88c2f58099f6ce8f92617bd"}, + {file = "librt-0.11.0-cp314-cp314t-win32.whl", hash = "sha256:2b481d846ac894c4e8403c5fd0e87c5d11d6499e404b474602508a224ff531c8"}, + {file = "librt-0.11.0-cp314-cp314t-win_amd64.whl", hash = "sha256:28edb433edde181112a908c78907af28f964eabc15f4dd16c9d66c834302677c"}, + {file = "librt-0.11.0-cp314-cp314t-win_arm64.whl", hash = "sha256:dee008f20b542e3cd162ba338a7f9ec0f6d23d395f66fe8aeeec3c9d067ea253"}, + {file = "librt-0.11.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:6bd72d903911d995ab666dbd1871f8b1e80925a699af8063fbf50053329fb05f"}, + {file = "librt-0.11.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:0ef69ac715f3cd8e5cd252cb2aebfa72c015492aacc339d5d7bf8fef3c62c677"}, + {file = "librt-0.11.0-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:624a40c4a4ad7773315c287276cd024509b2c66ff5904f504bfc08d2c70293ab"}, + {file = "librt-0.11.0-cp39-cp39-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:41dc19fe150b69716c8ece4f76773a9e8813fe3e35e032a58b4d46423fb8d7c0"}, + {file = "librt-0.11.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4e8bd98ea9c47ae90b319a087ab28dac493f1ffbc1ecd1f28fcdbf3b7e1108d1"}, + {file = "librt-0.11.0-cp39-cp39-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:84308fc49423ce6475d1c5d1985cd69a8ca9f0325fc7d5f81bb690a3f3625d4e"}, + {file = "librt-0.11.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:ff0fbaf5f44a21beeb0110f2ab64f45135a9536a834b79c0d1ef018f2786bbfa"}, + {file = "librt-0.11.0-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:9c028a9442a18e266955d364ce42259136e79a7ba14d773e0d778d5f70cd56f1"}, + {file = "librt-0.11.0-cp39-cp39-musllinux_1_2_riscv64.whl", hash = "sha256:9f1692105a02bcf853f355032a5fdc5494358ef83d8fd22d16de375c85cec3f5"}, + {file = "librt-0.11.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:7a80a71e1fda83cc752a9141e87aae7fef279538597564d670e9ce513f286192"}, + {file = "librt-0.11.0-cp39-cp39-win32.whl", hash = "sha256:140695816ddf3c86eb972981a26f35efd871c44b0c3aed44c8cd01749386617f"}, + {file = "librt-0.11.0-cp39-cp39-win_amd64.whl", hash = "sha256:92f7ff819c197fc30473190a12c2856f325ac90aabfccbeb2072d28cc2e234e3"}, + {file = "librt-0.11.0.tar.gz", hash = "sha256:075dc3ef4458a278e0195cbf6ac9d38808d9b906c5a6c7f7f79c3888276a3fb1"}, ] [[package]] name = "markdown-it-py" -version = "4.0.0" +version = "4.2.0" description = "Python port of markdown-it. Markdown parsing, done right!" optional = false python-versions = ">=3.10" groups = ["dev"] files = [ - {file = "markdown_it_py-4.0.0-py3-none-any.whl", hash = "sha256:87327c59b172c5011896038353a81343b6754500a08cd7a4973bb48c6d578147"}, - {file = "markdown_it_py-4.0.0.tar.gz", hash = "sha256:cb0a2b4aa34f932c007117b194e945bd74e0ec24133ceb5bac59009cda1cb9f3"}, + {file = "markdown_it_py-4.2.0-py3-none-any.whl", hash = "sha256:9f7ebbcd14fe59494226453aed97c1070d83f8d24b6fc3a3bcf9a38092641c4a"}, + {file = "markdown_it_py-4.2.0.tar.gz", hash = "sha256:04a21681d6fbb623de53f6f364d352309d4094dd4194040a10fd51833e418d49"}, ] [package.dependencies] @@ -316,7 +307,7 @@ linkify = ["linkify-it-py (>=1,<3)"] plugins = ["mdit-py-plugins (>=0.5.0)"] profiling = ["gprof2dot"] rtd = ["ipykernel", "jupyter_sphinx", "mdit-py-plugins (>=0.5.0)", "myst-parser", "pyyaml", "sphinx", "sphinx-book-theme (>=1.0,<2.0)", "sphinx-copybutton", "sphinx-design"] -testing = ["coverage", "pytest", "pytest-cov", "pytest-regressions", "requests"] +testing = ["coverage", "pytest", "pytest-cov", "pytest-regressions", "pytest-timeout", "requests"] [[package]] name = "markupsafe" @@ -481,7 +472,6 @@ files = [ librt = {version = ">=0.6.2", markers = "platform_python_implementation != \"PyPy\""} mypy_extensions = ">=1.0.0" pathspec = ">=0.9.0" -tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} typing_extensions = ">=4.6.0" [package.extras] @@ -505,52 +495,56 @@ files = [ [[package]] name = "openapi-python-client" -version = "0.28.0" +version = "0.29.0" description = "Generate modern Python clients from OpenAPI" optional = false -python-versions = "<4.0,>=3.10" +python-versions = "<4.0,>=3.11" groups = ["dev"] files = [ - {file = "openapi_python_client-0.28.0-py3-none-any.whl", hash = "sha256:d2c2f4dabb7fe12377cb0f0f6c50ad5ade3922cae7940510422ca844cae4dca4"}, - {file = "openapi_python_client-0.28.0.tar.gz", hash = "sha256:e0162b17bfee9b990d4dc38b256af129e0035e551a33dac8e4d5d4abfdb7c3d2"}, + {file = "openapi_python_client-0.29.0-py3-none-any.whl", hash = "sha256:1085864c1e0a42fb50e1f5eb84363b19de07ebfb8a3f82a146c8529b948b8f12"}, + {file = "openapi_python_client-0.29.0.tar.gz", hash = "sha256:4ff439a63765aaef548e69c4eedd86dfad57891dc322709450af0c2c9a72a23e"}, ] [package.dependencies] attrs = ">=22.2.0" colorama = {version = ">=0.4.3", markers = "sys_platform == \"win32\""} -httpx = ">=0.23.0,<0.29.0" +httpx = ">=0.23.1,<0.29.0" jinja2 = ">=3.0.0,<4.0.0" pydantic = ">=2.10,<3.0.0" -python-dateutil = ">=2.8.1,<3.0.0" -ruamel-yaml = ">=0.18.6,<0.19.0" +ruamel-yaml = ">=0.18.6,<0.20.0" ruff = ">=0.2" shellingham = ">=1.3.2,<2.0.0" -typer = ">0.16,<0.21" +typer = ">0.16,<0.27" [[package]] name = "packaging" -version = "25.0" +version = "26.2" description = "Core utilities for Python packages" optional = false python-versions = ">=3.8" groups = ["dev"] files = [ - {file = "packaging-25.0-py3-none-any.whl", hash = "sha256:29572ef2b1f17581046b3a2227d5c611fb25ec70ca1ba8554b24b0e69331a484"}, - {file = "packaging-25.0.tar.gz", hash = "sha256:d443872c98d677bf60f6a1f2f8c1cb748e8fe762d2bf9d3148b5599295b0fc4f"}, + {file = "packaging-26.2-py3-none-any.whl", hash = "sha256:5fc45236b9446107ff2415ce77c807cee2862cb6fac22b8a73826d0693b0980e"}, + {file = "packaging-26.2.tar.gz", hash = "sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661"}, ] [[package]] name = "pathspec" -version = "0.12.1" +version = "1.1.1" description = "Utility library for gitignore style pattern matching of file paths." optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" groups = ["dev"] files = [ - {file = "pathspec-0.12.1-py3-none-any.whl", hash = "sha256:a0d503e138a4c123b27490a4f7beda6a01c6f288df0e4a8b79c7eb0dc7b4cc08"}, - {file = "pathspec-0.12.1.tar.gz", hash = "sha256:a482d51503a1ab33b1c67a6c3813a26953dbdc71c31dacaef9a838c4e29f5712"}, + {file = "pathspec-1.1.1-py3-none-any.whl", hash = "sha256:a00ce642f577bf7f473932318056212bc4f8bfdf53128c78bbd5af0b9b20b189"}, + {file = "pathspec-1.1.1.tar.gz", hash = "sha256:17db5ecd524104a120e173814c90367a96a98d07c45b2e10c2f3919fff91bf5a"}, ] +[package.extras] +hyperscan = ["hyperscan (>=0.7)"] +optional = ["typing-extensions (>=4)"] +re2 = ["google-re2 (>=1.1)"] + [[package]] name = "pluggy" version = "1.6.0" @@ -569,19 +563,19 @@ testing = ["coverage", "pytest", "pytest-benchmark"] [[package]] name = "pydantic" -version = "2.12.5" +version = "2.13.4" description = "Data validation using Python type hints" optional = false python-versions = ">=3.9" groups = ["dev"] files = [ - {file = "pydantic-2.12.5-py3-none-any.whl", hash = "sha256:e561593fccf61e8a20fc46dfc2dfe075b8be7d0188df33f221ad1f0139180f9d"}, - {file = "pydantic-2.12.5.tar.gz", hash = "sha256:4d351024c75c0f085a9febbb665ce8c0c6ec5d30e903bdb6394b7ede26aebb49"}, + {file = "pydantic-2.13.4-py3-none-any.whl", hash = "sha256:45a282cde31d808236fd7ea9d919b128653c8b38b393d1c4ab335c62924d9aba"}, + {file = "pydantic-2.13.4.tar.gz", hash = "sha256:c40756b57adaa8b1efeeced5c196f3f3b7c435f90e84ea7f443901bec8099ef6"}, ] [package.dependencies] annotated-types = ">=0.6.0" -pydantic-core = "2.41.5" +pydantic-core = "2.46.4" typing-extensions = ">=4.14.1" typing-inspection = ">=0.4.2" @@ -591,133 +585,132 @@ timezone = ["tzdata ; python_version >= \"3.9\" and platform_system == \"Windows [[package]] name = "pydantic-core" -version = "2.41.5" +version = "2.46.4" description = "Core functionality for Pydantic validation and serialization" optional = false python-versions = ">=3.9" groups = ["dev"] files = [ - {file = "pydantic_core-2.41.5-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:77b63866ca88d804225eaa4af3e664c5faf3568cea95360d21f4725ab6e07146"}, - {file = "pydantic_core-2.41.5-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:dfa8a0c812ac681395907e71e1274819dec685fec28273a28905df579ef137e2"}, - {file = "pydantic_core-2.41.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5921a4d3ca3aee735d9fd163808f5e8dd6c6972101e4adbda9a4667908849b97"}, - {file = "pydantic_core-2.41.5-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e25c479382d26a2a41b7ebea1043564a937db462816ea07afa8a44c0866d52f9"}, - {file = "pydantic_core-2.41.5-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f547144f2966e1e16ae626d8ce72b4cfa0caedc7fa28052001c94fb2fcaa1c52"}, - {file = "pydantic_core-2.41.5-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6f52298fbd394f9ed112d56f3d11aabd0d5bd27beb3084cc3d8ad069483b8941"}, - {file = "pydantic_core-2.41.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:100baa204bb412b74fe285fb0f3a385256dad1d1879f0a5cb1499ed2e83d132a"}, - {file = "pydantic_core-2.41.5-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:05a2c8852530ad2812cb7914dc61a1125dc4e06252ee98e5638a12da6cc6fb6c"}, - {file = "pydantic_core-2.41.5-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:29452c56df2ed968d18d7e21f4ab0ac55e71dc59524872f6fc57dcf4a3249ed2"}, - {file = "pydantic_core-2.41.5-cp310-cp310-musllinux_1_1_armv7l.whl", hash = "sha256:d5160812ea7a8a2ffbe233d8da666880cad0cbaf5d4de74ae15c313213d62556"}, - {file = "pydantic_core-2.41.5-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:df3959765b553b9440adfd3c795617c352154e497a4eaf3752555cfb5da8fc49"}, - {file = "pydantic_core-2.41.5-cp310-cp310-win32.whl", hash = "sha256:1f8d33a7f4d5a7889e60dc39856d76d09333d8a6ed0f5f1190635cbec70ec4ba"}, - {file = "pydantic_core-2.41.5-cp310-cp310-win_amd64.whl", hash = "sha256:62de39db01b8d593e45871af2af9e497295db8d73b085f6bfd0b18c83c70a8f9"}, - {file = "pydantic_core-2.41.5-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:a3a52f6156e73e7ccb0f8cced536adccb7042be67cb45f9562e12b319c119da6"}, - {file = "pydantic_core-2.41.5-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:7f3bf998340c6d4b0c9a2f02d6a400e51f123b59565d74dc60d252ce888c260b"}, - {file = "pydantic_core-2.41.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:378bec5c66998815d224c9ca994f1e14c0c21cb95d2f52b6021cc0b2a58f2a5a"}, - {file = "pydantic_core-2.41.5-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e7b576130c69225432866fe2f4a469a85a54ade141d96fd396dffcf607b558f8"}, - {file = "pydantic_core-2.41.5-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6cb58b9c66f7e4179a2d5e0f849c48eff5c1fca560994d6eb6543abf955a149e"}, - {file = "pydantic_core-2.41.5-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:88942d3a3dff3afc8288c21e565e476fc278902ae4d6d134f1eeda118cc830b1"}, - {file = "pydantic_core-2.41.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f31d95a179f8d64d90f6831d71fa93290893a33148d890ba15de25642c5d075b"}, - {file = "pydantic_core-2.41.5-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:c1df3d34aced70add6f867a8cf413e299177e0c22660cc767218373d0779487b"}, - {file = "pydantic_core-2.41.5-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:4009935984bd36bd2c774e13f9a09563ce8de4abaa7226f5108262fa3e637284"}, - {file = "pydantic_core-2.41.5-cp311-cp311-musllinux_1_1_armv7l.whl", hash = "sha256:34a64bc3441dc1213096a20fe27e8e128bd3ff89921706e83c0b1ac971276594"}, - {file = "pydantic_core-2.41.5-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:c9e19dd6e28fdcaa5a1de679aec4141f691023916427ef9bae8584f9c2fb3b0e"}, - {file = "pydantic_core-2.41.5-cp311-cp311-win32.whl", hash = "sha256:2c010c6ded393148374c0f6f0bf89d206bf3217f201faa0635dcd56bd1520f6b"}, - {file = "pydantic_core-2.41.5-cp311-cp311-win_amd64.whl", hash = "sha256:76ee27c6e9c7f16f47db7a94157112a2f3a00e958bc626e2f4ee8bec5c328fbe"}, - {file = "pydantic_core-2.41.5-cp311-cp311-win_arm64.whl", hash = "sha256:4bc36bbc0b7584de96561184ad7f012478987882ebf9f9c389b23f432ea3d90f"}, - {file = "pydantic_core-2.41.5-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:f41a7489d32336dbf2199c8c0a215390a751c5b014c2c1c5366e817202e9cdf7"}, - {file = "pydantic_core-2.41.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:070259a8818988b9a84a449a2a7337c7f430a22acc0859c6b110aa7212a6d9c0"}, - {file = "pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e96cea19e34778f8d59fe40775a7a574d95816eb150850a85a7a4c8f4b94ac69"}, - {file = "pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ed2e99c456e3fadd05c991f8f437ef902e00eedf34320ba2b0842bd1c3ca3a75"}, - {file = "pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:65840751b72fbfd82c3c640cff9284545342a4f1eb1586ad0636955b261b0b05"}, - {file = "pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e536c98a7626a98feb2d3eaf75944ef6f3dbee447e1f841eae16f2f0a72d8ddc"}, - {file = "pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eceb81a8d74f9267ef4081e246ffd6d129da5d87e37a77c9bde550cb04870c1c"}, - {file = "pydantic_core-2.41.5-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d38548150c39b74aeeb0ce8ee1d8e82696f4a4e16ddc6de7b1d8823f7de4b9b5"}, - {file = "pydantic_core-2.41.5-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:c23e27686783f60290e36827f9c626e63154b82b116d7fe9adba1fda36da706c"}, - {file = "pydantic_core-2.41.5-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:482c982f814460eabe1d3bb0adfdc583387bd4691ef00b90575ca0d2b6fe2294"}, - {file = "pydantic_core-2.41.5-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:bfea2a5f0b4d8d43adf9d7b8bf019fb46fdd10a2e5cde477fbcb9d1fa08c68e1"}, - {file = "pydantic_core-2.41.5-cp312-cp312-win32.whl", hash = "sha256:b74557b16e390ec12dca509bce9264c3bbd128f8a2c376eaa68003d7f327276d"}, - {file = "pydantic_core-2.41.5-cp312-cp312-win_amd64.whl", hash = "sha256:1962293292865bca8e54702b08a4f26da73adc83dd1fcf26fbc875b35d81c815"}, - {file = "pydantic_core-2.41.5-cp312-cp312-win_arm64.whl", hash = "sha256:1746d4a3d9a794cacae06a5eaaccb4b8643a131d45fbc9af23e353dc0a5ba5c3"}, - {file = "pydantic_core-2.41.5-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:941103c9be18ac8daf7b7adca8228f8ed6bb7a1849020f643b3a14d15b1924d9"}, - {file = "pydantic_core-2.41.5-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:112e305c3314f40c93998e567879e887a3160bb8689ef3d2c04b6cc62c33ac34"}, - {file = "pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0cbaad15cb0c90aa221d43c00e77bb33c93e8d36e0bf74760cd00e732d10a6a0"}, - {file = "pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:03ca43e12fab6023fc79d28ca6b39b05f794ad08ec2feccc59a339b02f2b3d33"}, - {file = "pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:dc799088c08fa04e43144b164feb0c13f9a0bc40503f8df3e9fde58a3c0c101e"}, - {file = "pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:97aeba56665b4c3235a0e52b2c2f5ae9cd071b8a8310ad27bddb3f7fb30e9aa2"}, - {file = "pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:406bf18d345822d6c21366031003612b9c77b3e29ffdb0f612367352aab7d586"}, - {file = "pydantic_core-2.41.5-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:b93590ae81f7010dbe380cdeab6f515902ebcbefe0b9327cc4804d74e93ae69d"}, - {file = "pydantic_core-2.41.5-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:01a3d0ab748ee531f4ea6c3e48ad9dac84ddba4b0d82291f87248f2f9de8d740"}, - {file = "pydantic_core-2.41.5-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:6561e94ba9dacc9c61bce40e2d6bdc3bfaa0259d3ff36ace3b1e6901936d2e3e"}, - {file = "pydantic_core-2.41.5-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:915c3d10f81bec3a74fbd4faebe8391013ba61e5a1a8d48c4455b923bdda7858"}, - {file = "pydantic_core-2.41.5-cp313-cp313-win32.whl", hash = "sha256:650ae77860b45cfa6e2cdafc42618ceafab3a2d9a3811fcfbd3bbf8ac3c40d36"}, - {file = "pydantic_core-2.41.5-cp313-cp313-win_amd64.whl", hash = "sha256:79ec52ec461e99e13791ec6508c722742ad745571f234ea6255bed38c6480f11"}, - {file = "pydantic_core-2.41.5-cp313-cp313-win_arm64.whl", hash = "sha256:3f84d5c1b4ab906093bdc1ff10484838aca54ef08de4afa9de0f5f14d69639cd"}, - {file = "pydantic_core-2.41.5-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:3f37a19d7ebcdd20b96485056ba9e8b304e27d9904d233d7b1015db320e51f0a"}, - {file = "pydantic_core-2.41.5-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1d1d9764366c73f996edd17abb6d9d7649a7eb690006ab6adbda117717099b14"}, - {file = "pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:25e1c2af0fce638d5f1988b686f3b3ea8cd7de5f244ca147c777769e798a9cd1"}, - {file = "pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:506d766a8727beef16b7adaeb8ee6217c64fc813646b424d0804d67c16eddb66"}, - {file = "pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4819fa52133c9aa3c387b3328f25c1facc356491e6135b459f1de698ff64d869"}, - {file = "pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2b761d210c9ea91feda40d25b4efe82a1707da2ef62901466a42492c028553a2"}, - {file = "pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:22f0fb8c1c583a3b6f24df2470833b40207e907b90c928cc8d3594b76f874375"}, - {file = "pydantic_core-2.41.5-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2782c870e99878c634505236d81e5443092fba820f0373997ff75f90f68cd553"}, - {file = "pydantic_core-2.41.5-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:0177272f88ab8312479336e1d777f6b124537d47f2123f89cb37e0accea97f90"}, - {file = "pydantic_core-2.41.5-cp314-cp314-musllinux_1_1_armv7l.whl", hash = "sha256:63510af5e38f8955b8ee5687740d6ebf7c2a0886d15a6d65c32814613681bc07"}, - {file = "pydantic_core-2.41.5-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:e56ba91f47764cc14f1daacd723e3e82d1a89d783f0f5afe9c364b8bb491ccdb"}, - {file = "pydantic_core-2.41.5-cp314-cp314-win32.whl", hash = "sha256:aec5cf2fd867b4ff45b9959f8b20ea3993fc93e63c7363fe6851424c8a7e7c23"}, - {file = "pydantic_core-2.41.5-cp314-cp314-win_amd64.whl", hash = "sha256:8e7c86f27c585ef37c35e56a96363ab8de4e549a95512445b85c96d3e2f7c1bf"}, - {file = "pydantic_core-2.41.5-cp314-cp314-win_arm64.whl", hash = "sha256:e672ba74fbc2dc8eea59fb6d4aed6845e6905fc2a8afe93175d94a83ba2a01a0"}, - {file = "pydantic_core-2.41.5-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:8566def80554c3faa0e65ac30ab0932b9e3a5cd7f8323764303d468e5c37595a"}, - {file = "pydantic_core-2.41.5-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:b80aa5095cd3109962a298ce14110ae16b8c1aece8b72f9dafe81cf597ad80b3"}, - {file = "pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3006c3dd9ba34b0c094c544c6006cc79e87d8612999f1a5d43b769b89181f23c"}, - {file = "pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:72f6c8b11857a856bcfa48c86f5368439f74453563f951e473514579d44aa612"}, - {file = "pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5cb1b2f9742240e4bb26b652a5aeb840aa4b417c7748b6f8387927bc6e45e40d"}, - {file = "pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bd3d54f38609ff308209bd43acea66061494157703364ae40c951f83ba99a1a9"}, - {file = "pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2ff4321e56e879ee8d2a879501c8e469414d948f4aba74a2d4593184eb326660"}, - {file = "pydantic_core-2.41.5-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d0d2568a8c11bf8225044aa94409e21da0cb09dcdafe9ecd10250b2baad531a9"}, - {file = "pydantic_core-2.41.5-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:a39455728aabd58ceabb03c90e12f71fd30fa69615760a075b9fec596456ccc3"}, - {file = "pydantic_core-2.41.5-cp314-cp314t-musllinux_1_1_armv7l.whl", hash = "sha256:239edca560d05757817c13dc17c50766136d21f7cd0fac50295499ae24f90fdf"}, - {file = "pydantic_core-2.41.5-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:2a5e06546e19f24c6a96a129142a75cee553cc018ffee48a460059b1185f4470"}, - {file = "pydantic_core-2.41.5-cp314-cp314t-win32.whl", hash = "sha256:b4ececa40ac28afa90871c2cc2b9ffd2ff0bf749380fbdf57d165fd23da353aa"}, - {file = "pydantic_core-2.41.5-cp314-cp314t-win_amd64.whl", hash = "sha256:80aa89cad80b32a912a65332f64a4450ed00966111b6615ca6816153d3585a8c"}, - {file = "pydantic_core-2.41.5-cp314-cp314t-win_arm64.whl", hash = "sha256:35b44f37a3199f771c3eaa53051bc8a70cd7b54f333531c59e29fd4db5d15008"}, - {file = "pydantic_core-2.41.5-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:8bfeaf8735be79f225f3fefab7f941c712aaca36f1128c9d7e2352ee1aa87bdf"}, - {file = "pydantic_core-2.41.5-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:346285d28e4c8017da95144c7f3acd42740d637ff41946af5ce6e5e420502dd5"}, - {file = "pydantic_core-2.41.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a75dafbf87d6276ddc5b2bf6fae5254e3d0876b626eb24969a574fff9149ee5d"}, - {file = "pydantic_core-2.41.5-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:7b93a4d08587e2b7e7882de461e82b6ed76d9026ce91ca7915e740ecc7855f60"}, - {file = "pydantic_core-2.41.5-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e8465ab91a4bd96d36dde3263f06caa6a8a6019e4113f24dc753d79a8b3a3f82"}, - {file = "pydantic_core-2.41.5-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:299e0a22e7ae2b85c1a57f104538b2656e8ab1873511fd718a1c1c6f149b77b5"}, - {file = "pydantic_core-2.41.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:707625ef0983fcfb461acfaf14de2067c5942c6bb0f3b4c99158bed6fedd3cf3"}, - {file = "pydantic_core-2.41.5-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f41eb9797986d6ebac5e8edff36d5cef9de40def462311b3eb3eeded1431e425"}, - {file = "pydantic_core-2.41.5-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:0384e2e1021894b1ff5a786dbf94771e2986ebe2869533874d7e43bc79c6f504"}, - {file = "pydantic_core-2.41.5-cp39-cp39-musllinux_1_1_armv7l.whl", hash = "sha256:f0cd744688278965817fd0839c4a4116add48d23890d468bc436f78beb28abf5"}, - {file = "pydantic_core-2.41.5-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:753e230374206729bf0a807954bcc6c150d3743928a73faffee51ac6557a03c3"}, - {file = "pydantic_core-2.41.5-cp39-cp39-win32.whl", hash = "sha256:873e0d5b4fb9b89ef7c2d2a963ea7d02879d9da0da8d9d4933dee8ee86a8b460"}, - {file = "pydantic_core-2.41.5-cp39-cp39-win_amd64.whl", hash = "sha256:e4f4a984405e91527a0d62649ee21138f8e3d0ef103be488c1dc11a80d7f184b"}, - {file = "pydantic_core-2.41.5-graalpy311-graalpy242_311_native-macosx_10_12_x86_64.whl", hash = "sha256:b96d5f26b05d03cc60f11a7761a5ded1741da411e7fe0909e27a5e6a0cb7b034"}, - {file = "pydantic_core-2.41.5-graalpy311-graalpy242_311_native-macosx_11_0_arm64.whl", hash = "sha256:634e8609e89ceecea15e2d61bc9ac3718caaaa71963717bf3c8f38bfde64242c"}, - {file = "pydantic_core-2.41.5-graalpy311-graalpy242_311_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:93e8740d7503eb008aa2df04d3b9735f845d43ae845e6dcd2be0b55a2da43cd2"}, - {file = "pydantic_core-2.41.5-graalpy311-graalpy242_311_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f15489ba13d61f670dcc96772e733aad1a6f9c429cc27574c6cdaed82d0146ad"}, - {file = "pydantic_core-2.41.5-graalpy312-graalpy250_312_native-macosx_10_12_x86_64.whl", hash = "sha256:7da7087d756b19037bc2c06edc6c170eeef3c3bafcb8f532ff17d64dc427adfd"}, - {file = "pydantic_core-2.41.5-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:aabf5777b5c8ca26f7824cb4a120a740c9588ed58df9b2d196ce92fba42ff8dc"}, - {file = "pydantic_core-2.41.5-graalpy312-graalpy250_312_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c007fe8a43d43b3969e8469004e9845944f1a80e6acd47c150856bb87f230c56"}, - {file = "pydantic_core-2.41.5-graalpy312-graalpy250_312_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:76d0819de158cd855d1cbb8fcafdf6f5cf1eb8e470abe056d5d161106e38062b"}, - {file = "pydantic_core-2.41.5-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:b5819cd790dbf0c5eb9f82c73c16b39a65dd6dd4d1439dcdea7816ec9adddab8"}, - {file = "pydantic_core-2.41.5-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:5a4e67afbc95fa5c34cf27d9089bca7fcab4e51e57278d710320a70b956d1b9a"}, - {file = "pydantic_core-2.41.5-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ece5c59f0ce7d001e017643d8d24da587ea1f74f6993467d85ae8a5ef9d4f42b"}, - {file = "pydantic_core-2.41.5-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:16f80f7abe3351f8ea6858914ddc8c77e02578544a0ebc15b4c2e1a0e813b0b2"}, - {file = "pydantic_core-2.41.5-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:33cb885e759a705b426baada1fe68cbb0a2e68e34c5d0d0289a364cf01709093"}, - {file = "pydantic_core-2.41.5-pp310-pypy310_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:c8d8b4eb992936023be7dee581270af5c6e0697a8559895f527f5b7105ecd36a"}, - {file = "pydantic_core-2.41.5-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:242a206cd0318f95cd21bdacff3fcc3aab23e79bba5cac3db5a841c9ef9c6963"}, - {file = "pydantic_core-2.41.5-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:d3a978c4f57a597908b7e697229d996d77a6d3c94901e9edee593adada95ce1a"}, - {file = "pydantic_core-2.41.5-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:b2379fa7ed44ddecb5bfe4e48577d752db9fc10be00a6b7446e9663ba143de26"}, - {file = "pydantic_core-2.41.5-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:266fb4cbf5e3cbd0b53669a6d1b039c45e3ce651fd5442eff4d07c2cc8d66808"}, - {file = "pydantic_core-2.41.5-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:58133647260ea01e4d0500089a8c4f07bd7aa6ce109682b1426394988d8aaacc"}, - {file = "pydantic_core-2.41.5-pp311-pypy311_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:287dad91cfb551c363dc62899a80e9e14da1f0e2b6ebde82c806612ca2a13ef1"}, - {file = "pydantic_core-2.41.5-pp311-pypy311_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:03b77d184b9eb40240ae9fd676ca364ce1085f203e1b1256f8ab9984dca80a84"}, - {file = "pydantic_core-2.41.5-pp311-pypy311_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:a668ce24de96165bb239160b3d854943128f4334822900534f2fe947930e5770"}, - {file = "pydantic_core-2.41.5-pp311-pypy311_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:f14f8f046c14563f8eb3f45f499cc658ab8d10072961e07225e507adb700e93f"}, - {file = "pydantic_core-2.41.5-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:56121965f7a4dc965bff783d70b907ddf3d57f6eba29b6d2e5dabfaf07799c51"}, - {file = "pydantic_core-2.41.5.tar.gz", hash = "sha256:08daa51ea16ad373ffd5e7606252cc32f07bc72b28284b6bc9c6df804816476e"}, + {file = "pydantic_core-2.46.4-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:a396dcc17e5a0b164dbe026896245a4fa9ff402edca1dff0be3d53a517f74de4"}, + {file = "pydantic_core-2.46.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:da4b951fe36dc7c3a1ccb4e3cd1747c3542b8c9ceede8fc86cae054e764485f5"}, + {file = "pydantic_core-2.46.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bb63e0198ca18aad131c089b9204c23079c3afa95487e561f4c522d519e55aba"}, + {file = "pydantic_core-2.46.4-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f47286a97f0bc9b8859519809077b91b2cefe4ae47fcbf5e466a009c1c5d742b"}, + {file = "pydantic_core-2.46.4-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:905a0ed8ea6f2d61c1738835f99b699348d7857379083e5fc497fa0c967a407c"}, + {file = "pydantic_core-2.46.4-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ea793e075b70290d89d8142074262885d3f7da19634845135751bd6344f73b50"}, + {file = "pydantic_core-2.46.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:395aebd9183f9d112f569aeb5b2214d1a10a33bec8456447f7fbdfa51d38d4cd"}, + {file = "pydantic_core-2.46.4-cp310-cp310-manylinux_2_31_riscv64.whl", hash = "sha256:b078afbc25f3a1436c7a1d2cd3e322497ee99615ba97c563566fdf46aff1ee01"}, + {file = "pydantic_core-2.46.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f747929cf940cddb5b3668a390056ddd5ba2e5010615ea2dcf4f9c4f3ab8791d"}, + {file = "pydantic_core-2.46.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:daa27d92c36f24388fe3ad306b174781c747627f134452e4f128ea00ce1fe8c4"}, + {file = "pydantic_core-2.46.4-cp310-cp310-musllinux_1_1_armv7l.whl", hash = "sha256:19e51f073cd3df251856a8a4189fbdf1de4012c3ebacfb1884f94f1eb406079f"}, + {file = "pydantic_core-2.46.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:c1747f85cee84c26985853c6f3d9bd3e75da5212912443fa111c113b9c246f39"}, + {file = "pydantic_core-2.46.4-cp310-cp310-win32.whl", hash = "sha256:2f84c03c8607173d16b5a854ec68a2f9079ae03237a54fb506d13af47e1d018d"}, + {file = "pydantic_core-2.46.4-cp310-cp310-win_amd64.whl", hash = "sha256:8358a950c8909158e3df31538a7e4edc2d7265a7c54b47f0864d9e5bae9dcebf"}, + {file = "pydantic_core-2.46.4-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:0e96592440881c74a213e5ad528e2b24d3d4f940de2766bed9010ab1d9e51594"}, + {file = "pydantic_core-2.46.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:e0d65b8c354be7fb5f720c3caa8bc940bc2d20ce749c8e06135f07f8ed95dd7c"}, + {file = "pydantic_core-2.46.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7bfb192b3f4b9e8a89b6277b6ce787564f62cfd272055f6e685726b111dc7826"}, + {file = "pydantic_core-2.46.4-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:9037063db01f09b09e237c282b6792bd4da634b5402c4e7f0c61effed7701a04"}, + {file = "pydantic_core-2.46.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:fc010ab034c8c7452522748bf937df58020d256ccae0874463d1f4d01758af8e"}, + {file = "pydantic_core-2.46.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8c5dac79fa1614d1e06ca695109c6105923bd9c7d1d6c918d4e637b7e6b32fd3"}, + {file = "pydantic_core-2.46.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f9fa868638bf362d3d138ea55829cefb3d5f4b0d7f142234382a15e2485dbec4"}, + {file = "pydantic_core-2.46.4-cp311-cp311-manylinux_2_31_riscv64.whl", hash = "sha256:17299feefe090f2caa5b8e37222bb5f663e4935a8bfa6931d4102e5df1a9f398"}, + {file = "pydantic_core-2.46.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:4c63ebc82684aa89d9a3bcbd13d515b3be44250dc68dd3bd81526c1cb31286c3"}, + {file = "pydantic_core-2.46.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:aaa2a54443eff1950ba5ddc6b6ccda0d9c84a364276a62f969bdf2a390650848"}, + {file = "pydantic_core-2.46.4-cp311-cp311-musllinux_1_1_armv7l.whl", hash = "sha256:18e5ceec2ab67e6d5f1a9085e5a24c9c4e2ac4545730bfe668680bca05e555f3"}, + {file = "pydantic_core-2.46.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:a0f62d0a58f4e7da165457e995725421e0064f2255d8eccebc49f41bbc23b109"}, + {file = "pydantic_core-2.46.4-cp311-cp311-win32.whl", hash = "sha256:041bde0a48fd37cf71cab1c9d56d3e8625a3793fef1f7dd232b3ff37e978ecda"}, + {file = "pydantic_core-2.46.4-cp311-cp311-win_amd64.whl", hash = "sha256:6f2eeda33a839975441c86a4119e1383c50b47faf0cbb5176985565c6bb02c33"}, + {file = "pydantic_core-2.46.4-cp311-cp311-win_arm64.whl", hash = "sha256:14f4c5d6db102bd796a627bbb3a17b4cf4574b9ae861d8b7c9a9661c6dd3362d"}, + {file = "pydantic_core-2.46.4-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:3245406455a5d98187ec35530fd772b1d799b26667980872c8d4614991e2c4a2"}, + {file = "pydantic_core-2.46.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:962ccbab7b642487b1d8b7df90ef677e03134cf1fd8880bf698649b22a69371f"}, + {file = "pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8233f2947cf85404441fd7e0085f53b10c93e0ee78611099b5c7237e36aacbf7"}, + {file = "pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3a233125ac121aa3ffba9a2b59edfc4a985a76092dc8279586ab4b71390875e7"}, + {file = "pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5b712b53160b79a5850310b912a5ef8e57e56947c8ad690c227f5c9d7e561712"}, + {file = "pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9401557acd873c3a7f3eb9383edef8ac4968f9510e340f4808d427e75667e7b4"}, + {file = "pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:926c9541b14b12b1681dca8a0b75feb510b06c6341b70a8e500c2fdcff837cce"}, + {file = "pydantic_core-2.46.4-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:56cb4851bcaf3d117eddcef4fe66afd750a50274b0da8e22be256d10e5611987"}, + {file = "pydantic_core-2.46.4-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:c68fcd102d71ea85c5b2dfac3f4f8476eff42a9e078fd5faefff6d145063536b"}, + {file = "pydantic_core-2.46.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:b2f69dec1725e79a012d920df1707de5caf7ed5e08f3be4435e25803efc47458"}, + {file = "pydantic_core-2.46.4-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:8d0820e8192167f80d88d64038e609c31452eeca865b4e1d9950a27a4609b00b"}, + {file = "pydantic_core-2.46.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:fbdb89b3e1c94a30cc5edfce477c6e6a5dc4d8f84665b455c27582f211a1c72c"}, + {file = "pydantic_core-2.46.4-cp312-cp312-win32.whl", hash = "sha256:9aa768456404a8bf48a4406685ac2bec8e72b62c69313734fa3b73cf33b3a894"}, + {file = "pydantic_core-2.46.4-cp312-cp312-win_amd64.whl", hash = "sha256:e9c26f834c65f5752f3f06cb08cb86a913ceb7274d0db6e267808a708b46bc89"}, + {file = "pydantic_core-2.46.4-cp312-cp312-win_arm64.whl", hash = "sha256:4fc73cb559bdb54b1134a706a2802a4cddd27a0633f5abb7e53056268751ac6a"}, + {file = "pydantic_core-2.46.4-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:5d5902252db0d3cedf8d4a1bc68f70eeb430f7e4c7104c8c476753519b423008"}, + {file = "pydantic_core-2.46.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:c94f0688e7b8d0a67abf40e57a7eaaecd17cc9586706a31b76c031f63df052b4"}, + {file = "pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f027324c56cd5406ca49c124b0db10e56c69064fec039acc571c29020cc87c76"}, + {file = "pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e739fee756ba1010f8bcccb534252e85a35fe45ae92c295a06059ce58b74ccd3"}, + {file = "pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9d56801be94b86a9da183e5f3766e6310752b99ff647e38b09a9500d88e46e76"}, + {file = "pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2412e734dcb48da14d4e4006b82b46b74f2518b8a26ee7e58c6844a6cd6d03c4"}, + {file = "pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9551187363ffc0de2a00b2e47c25aeaeb1020b69b668762966df15fc5659dd5a"}, + {file = "pydantic_core-2.46.4-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:0186750b482eefa11d7f435892b09c5c606193ef3375bcf94aa00ae6bfb66262"}, + {file = "pydantic_core-2.46.4-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:5855698a4856556d86e8e6cd8434bc3ac0314ee8e12089ae0e143f64c6256e4e"}, + {file = "pydantic_core-2.46.4-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:cbaf13819775b7f769bf4a1f066cb6df7a28d4480081a589828ef190226881cd"}, + {file = "pydantic_core-2.46.4-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:633147d34cf4550417f12e2b1a0383973bdf5cdfde212cb09e9a581cf10820be"}, + {file = "pydantic_core-2.46.4-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:82cf5301172168103724d49a1444d3378cb20cdee30b116a1bd6031236298a5d"}, + {file = "pydantic_core-2.46.4-cp313-cp313-win32.whl", hash = "sha256:9fa8ae11da9e2b3126c6426f147e0fba88d96d65921799bb30c6abd1cb2c97fb"}, + {file = "pydantic_core-2.46.4-cp313-cp313-win_amd64.whl", hash = "sha256:6b3ace8194b0e5204818c92802dcdca7fc6d88aabbb799d7c795540d9cd6d292"}, + {file = "pydantic_core-2.46.4-cp313-cp313-win_arm64.whl", hash = "sha256:184c081504d17f1c1066e430e117142b2c77d9448a97f7b65c6ac9fd9aee238d"}, + {file = "pydantic_core-2.46.4-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:428e04521a40150c85216fc8b85e8d39fece235a9cf5e383761238c7fa9b96fb"}, + {file = "pydantic_core-2.46.4-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:23ace664830ee0bfe014a0c7bc248b1f7f25ed7ad103852c317624a1083af462"}, + {file = "pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ce5c1d2a8b27468f433ca974829c44060b8097eedc39933e3c206a90ee49c4a9"}, + {file = "pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:7283d57845ecf5a163403eb0702dfc220cc4fbdd18919cb5ccea4f95ee1cdab4"}, + {file = "pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8daafc69c93ee8a0204506a3b6b30f586ef54028f52aeeeb5c4cfc5184fd5914"}, + {file = "pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cd2213145bcc2ba85884d0ac63d222fece9209678f77b9b4d76f054c561adb28"}, + {file = "pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7a5f930472650a82629163023e630d160863fce524c616f4e5186e5de9d9a49b"}, + {file = "pydantic_core-2.46.4-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:c1b3f518abeca3aa13c712fd202306e145abf59a18b094a6bafb2d2bbf59192c"}, + {file = "pydantic_core-2.46.4-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1a7dd0b3ee80d90150e3495a3a13ac34dbcbfd4f012996a6a1d8900e91b5c0fb"}, + {file = "pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:3fb702cd90b0446a3a1c5e470bfa0dd23c0233b676a9099ddcc964fa6ca13898"}, + {file = "pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_armv7l.whl", hash = "sha256:b8458003118a712e66286df6a707db01c52c0f52f7db8e4a38f0da1d3b94fc4e"}, + {file = "pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:372429a130e469c9cd698925ce5fc50940b7a1336b0d82038e63d5bbc4edc519"}, + {file = "pydantic_core-2.46.4-cp314-cp314-win32.whl", hash = "sha256:85bb3611ff1802f3ee7fdd7dbff26b56f343fb432d57a4728fdd49b6ef35e2f4"}, + {file = "pydantic_core-2.46.4-cp314-cp314-win_amd64.whl", hash = "sha256:811ff8e9c313ab425368bcbb36e5c4ebd7108c2bbf4e4089cfbb0b01eff63fac"}, + {file = "pydantic_core-2.46.4-cp314-cp314-win_arm64.whl", hash = "sha256:bfec22eab3c8cc2ceec0248aec886624116dc079afa027ecc8ad4a7e62010f8a"}, + {file = "pydantic_core-2.46.4-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:af8244b2bef6aaad6d92cda81372de7f8c8d36c9f0c3ea36e827c60e7d9467a0"}, + {file = "pydantic_core-2.46.4-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:5a4330cdbc57162e4b3aa303f588ba752257694c9c9be3e7ebb11b4aca659b5d"}, + {file = "pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:29c61fc04a3d840155ff08e475a04809278972fe6aef51e2720554e96367e34b"}, + {file = "pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c50f2528cf200c5eed56faf3f4e22fcd5f38c157a8b78576e6ba3168ec35f000"}, + {file = "pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:0cbe8b01f948de4286c74cdd6c667aceb38f5c1e26f0693b3983d9d74887c65e"}, + {file = "pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:617d7e2ca7dcb8c5cf6bcb8c59b8832c94b36196bbf1cbd1bfb56ed341905edd"}, + {file = "pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7027560ee92211647d0d34e3f7cd6f50da56399d26a9c8ad0da286d3869a53f3"}, + {file = "pydantic_core-2.46.4-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:f99626688942fb746e545232e7726926f3be91b5975f8b55327665fafda991c7"}, + {file = "pydantic_core-2.46.4-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:fc3e9034a63de20e15e8ade85358bc6efc614008cab72898b4b4952bea0509ff"}, + {file = "pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:97e7cf2be5c77b7d1a9713a05605d49460d02c6078d38d8bef3cbe323c548424"}, + {file = "pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_armv7l.whl", hash = "sha256:3bf92c5d0e00fefaab325a4d27828fe6b6e2a21848686b5b60d2d9eeb09d76c6"}, + {file = "pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:3ecbc122d18468d06ca279dc26a8c2e2d5acb10943bb35e36ae92096dc3b5565"}, + {file = "pydantic_core-2.46.4-cp314-cp314t-win32.whl", hash = "sha256:e846ae7835bf0703ae43f534ab79a867146dadd59dc9ca5c8b53d5c8f7c9ef02"}, + {file = "pydantic_core-2.46.4-cp314-cp314t-win_amd64.whl", hash = "sha256:2108ba5c1c1eca18030634489dc544844144ee36357f2f9f780b93e7ddbb44b5"}, + {file = "pydantic_core-2.46.4-cp314-cp314t-win_arm64.whl", hash = "sha256:4fcbe087dbc2068af7eda3aa87634eba216dbda64d1ae73c8684b621d33f6596"}, + {file = "pydantic_core-2.46.4-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:fd8b3d9fd264be37976686c7f65cd52a83f5e84f4bfd2adf9c1d469676bbb6ae"}, + {file = "pydantic_core-2.46.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:9f444c499b3eefd3a92e348059471ea0c3a6e303d9c1cec09fa748fd9f895201"}, + {file = "pydantic_core-2.46.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3447661d99f75a3683a4cf5c87da72f2161964611864dbbeac7fbb118bb4bfc0"}, + {file = "pydantic_core-2.46.4-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:8b9bab013d1c7a79d3501ff86d0bc9c31bf587db4551677b96bec07df78c6b15"}, + {file = "pydantic_core-2.46.4-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d995260fdf4e1db774581b4900e0f832abe3c7c84996726bbc161b19c8f29e76"}, + {file = "pydantic_core-2.46.4-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f13a646d65d09fbf1bc6b3a9635d30095c8e7e5cc419ff35ecc563c5fd04cd49"}, + {file = "pydantic_core-2.46.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:432c179df7874eeb73307aad2df0755e1ae0efa61ff0ea89b93e194411ae3928"}, + {file = "pydantic_core-2.46.4-cp39-cp39-manylinux_2_31_riscv64.whl", hash = "sha256:e68b7a074f65a2fd746c52a7ce6142ab7006074ac269ace0c25cd8ba171f8066"}, + {file = "pydantic_core-2.46.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:4a05d69cba51d852c5c3e92758653245a50c0b646ced0cf05bd793ed592839d6"}, + {file = "pydantic_core-2.46.4-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:228ee9bae8bef5b1e97ec58302f80357c37199e0d0a99174e138d28e6957b9d9"}, + {file = "pydantic_core-2.46.4-cp39-cp39-musllinux_1_1_armv7l.whl", hash = "sha256:10e17cbb10a330363733efc4d7c4d0dd827ac0909b8f6a6542298fed1ea62f29"}, + {file = "pydantic_core-2.46.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:91a06d2e259ecfbd8c901d70c3c507900458498142b3026a296b7de4d1322cc9"}, + {file = "pydantic_core-2.46.4-cp39-cp39-win32.whl", hash = "sha256:d80ee3d731373b24cebbc10d689ca4ee1875caf0d5703a245db18efd4dd37fc1"}, + {file = "pydantic_core-2.46.4-cp39-cp39-win_amd64.whl", hash = "sha256:3be77f45df024d789a672ae34f8b06fb346c4f9f46ea714956660ea4862e89ac"}, + {file = "pydantic_core-2.46.4-graalpy311-graalpy242_311_native-macosx_10_12_x86_64.whl", hash = "sha256:14d4edf427bdcf950a8a02d7cb44a08614388dd6e1bdcbf4f67504fa7887da9c"}, + {file = "pydantic_core-2.46.4-graalpy311-graalpy242_311_native-macosx_11_0_arm64.whl", hash = "sha256:0ce40cd7b21210e99342afafbd4d0f76d784eb5b1d60f3bdc566be4983c6c73b"}, + {file = "pydantic_core-2.46.4-graalpy311-graalpy242_311_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:90884113d8b48f760e9587002789ddd741e76ab9f89518cd1e43b1f1a52ec44b"}, + {file = "pydantic_core-2.46.4-graalpy311-graalpy242_311_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:66ce7632c22d837c95301830e111ad0128a32b8207533b60896a96c4915192ea"}, + {file = "pydantic_core-2.46.4-graalpy312-graalpy250_312_native-macosx_10_12_x86_64.whl", hash = "sha256:1d8ba486450b14f3b1d63bc521d410ec7565e52f887b9fb671791886436a42f7"}, + {file = "pydantic_core-2.46.4-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:3009f12e4e90b7f88b4f9adb1b0c4a3d58fe7820f3238c190047209d148026df"}, + {file = "pydantic_core-2.46.4-graalpy312-graalpy250_312_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ad785e92e6dc634c21555edc8bd6b64957ab844541bcb96a1366c202951ae526"}, + {file = "pydantic_core-2.46.4-graalpy312-graalpy250_312_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:00c603d540afdd6b80eb39f078f33ebd46211f02f33e34a32d9f053bba711de0"}, + {file = "pydantic_core-2.46.4-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:0c563b08bca408dc7f65f700633d8442fffb2421fc47b8101377e9fd65051ff0"}, + {file = "pydantic_core-2.46.4-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:db06ffe51636ffe9ca531fe9023dd64bdd794be8754cb5df57c5498ae5b518a7"}, + {file = "pydantic_core-2.46.4-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:133878133d271ade3d41d1bfb2a45ec38dbdbda40bc065921c6b04e4630127e2"}, + {file = "pydantic_core-2.46.4-pp311-pypy311_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:9bc519fbf2b7578398853d815009ae5e4d4603d12f4e3f91da8c06852d3da3e9"}, + {file = "pydantic_core-2.46.4-pp311-pypy311_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:c7a7bd4e39e8e4c12c39cd480356842b6a8a06e41b23a55a5e3e191718838ddf"}, + {file = "pydantic_core-2.46.4-pp311-pypy311_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:d396ec2b979760aaf3218e76c24e65bd0aca24983298653b3a9d7a45f9e47b30"}, + {file = "pydantic_core-2.46.4-pp311-pypy311_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:86e1a4418c6cd97d60c95c71164158eaf7324fae7b0923264016baa993eba6fc"}, + {file = "pydantic_core-2.46.4-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:d51026d73fcfd93610abc7b27789c26b313920fcfb20e27462d74a7f8b06e983"}, + {file = "pydantic_core-2.46.4.tar.gz", hash = "sha256:62f875393d7f270851f20523dd2e29f082bcc82292d66db2b64ea71f64b6e1c1"}, ] [package.dependencies] @@ -725,14 +718,14 @@ typing-extensions = ">=4.14.1" [[package]] name = "pygments" -version = "2.19.2" +version = "2.20.0" description = "Pygments is a syntax highlighting package written in Python." optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" groups = ["dev"] files = [ - {file = "pygments-2.19.2-py3-none-any.whl", hash = "sha256:86540386c03d588bb81d44bc3928634ff26449851e99741617ecb9037ee5ec0b"}, - {file = "pygments-2.19.2.tar.gz", hash = "sha256:636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887"}, + {file = "pygments-2.20.0-py3-none-any.whl", hash = "sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176"}, + {file = "pygments-2.20.0.tar.gz", hash = "sha256:6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f"}, ] [package.extras] @@ -740,53 +733,36 @@ windows-terminal = ["colorama (>=0.4.6)"] [[package]] name = "pytest" -version = "9.0.3" +version = "9.1.1" description = "pytest: simple powerful testing with Python" optional = false python-versions = ">=3.10" groups = ["dev"] files = [ - {file = "pytest-9.0.3-py3-none-any.whl", hash = "sha256:2c5efc453d45394fdd706ade797c0a81091eccd1d6e4bccfcd476e2b8e0ab5d9"}, - {file = "pytest-9.0.3.tar.gz", hash = "sha256:b86ada508af81d19edeb213c681b1d48246c1a91d304c6c81a427674c17eb91c"}, + {file = "pytest-9.1.1-py3-none-any.whl", hash = "sha256:37a86b45efb9a47a61a36449063e8e18d0cab3161329fc099eb21783169c4f0c"}, + {file = "pytest-9.1.1.tar.gz", hash = "sha256:1088fbde8f2b49d95a549a195707afa7a76a3ce9bcadc26b6d71f0ffda5fe313"}, ] [package.dependencies] colorama = {version = ">=0.4", markers = "sys_platform == \"win32\""} -exceptiongroup = {version = ">=1", markers = "python_version < \"3.11\""} iniconfig = ">=1.0.1" packaging = ">=22" pluggy = ">=1.5,<2" pygments = ">=2.7.2" -tomli = {version = ">=1", markers = "python_version < \"3.11\""} [package.extras] dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "requests", "setuptools", "xmlschema"] -[[package]] -name = "python-dateutil" -version = "2.9.0.post0" -description = "Extensions to the standard Python datetime module" -optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" -groups = ["main", "dev"] -files = [ - {file = "python-dateutil-2.9.0.post0.tar.gz", hash = "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3"}, - {file = "python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427"}, -] - -[package.dependencies] -six = ">=1.5" - [[package]] name = "rich" -version = "14.2.0" +version = "15.0.0" description = "Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal" optional = false -python-versions = ">=3.8.0" +python-versions = ">=3.9.0" groups = ["dev"] files = [ - {file = "rich-14.2.0-py3-none-any.whl", hash = "sha256:76bc51fe2e57d2b1be1f96c524b890b816e334ab4c1e45888799bfaab0021edd"}, - {file = "rich-14.2.0.tar.gz", hash = "sha256:73ff50c7c0c1c77c8243079283f4edb376f0f6442433aecb8ce7e6d0b92d1fe4"}, + {file = "rich-15.0.0-py3-none-any.whl", hash = "sha256:33bd4ef74232fb73fe9279a257718407f169c09b78a87ad3d296f548e27de0bb"}, + {file = "rich-15.0.0.tar.gz", hash = "sha256:edd07a4824c6b40189fb7ac9bc4c52536e9780fbbfbddf6f1e2502c31b068c36"}, ] [package.dependencies] @@ -798,122 +774,48 @@ jupyter = ["ipywidgets (>=7.5.1,<9)"] [[package]] name = "ruamel-yaml" -version = "0.18.17" +version = "0.19.1" description = "ruamel.yaml is a YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order" optional = false python-versions = ">=3.9" groups = ["dev"] files = [ - {file = "ruamel_yaml-0.18.17-py3-none-any.whl", hash = "sha256:9c8ba9eb3e793efdf924b60d521820869d5bf0cb9c6f1b82d82de8295e290b9d"}, - {file = "ruamel_yaml-0.18.17.tar.gz", hash = "sha256:9091cd6e2d93a3a4b157ddb8fabf348c3de7f1fb1381346d985b6b247dcd8d3c"}, + {file = "ruamel_yaml-0.19.1-py3-none-any.whl", hash = "sha256:27592957fedf6e0b62f281e96effd28043345e0e66001f97683aa9a40c667c93"}, + {file = "ruamel_yaml-0.19.1.tar.gz", hash = "sha256:53eb66cd27849eff968ebf8f0bf61f46cdac2da1d1f3576dd4ccee9b25c31993"}, ] -[package.dependencies] -"ruamel.yaml.clib" = {version = ">=0.2.15", markers = "platform_python_implementation == \"CPython\" and python_version < \"3.15\""} - [package.extras] docs = ["mercurial (>5.7)", "ryd"] jinja2 = ["ruamel.yaml.jinja2 (>=0.2)"] - -[[package]] -name = "ruamel-yaml-clib" -version = "0.2.15" -description = "C version of reader, parser and emitter for ruamel.yaml derived from libyaml" -optional = false -python-versions = ">=3.9" -groups = ["dev"] -markers = "platform_python_implementation == \"CPython\" and python_version < \"3.15\"" -files = [ - {file = "ruamel_yaml_clib-0.2.15-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:88eea8baf72f0ccf232c22124d122a7f26e8a24110a0273d9bcddcb0f7e1fa03"}, - {file = "ruamel_yaml_clib-0.2.15-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9b6f7d74d094d1f3a4e157278da97752f16ee230080ae331fcc219056ca54f77"}, - {file = "ruamel_yaml_clib-0.2.15-cp310-cp310-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:4be366220090d7c3424ac2b71c90d1044ea34fca8c0b88f250064fd06087e614"}, - {file = "ruamel_yaml_clib-0.2.15-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1f66f600833af58bea694d5892453f2270695b92200280ee8c625ec5a477eed3"}, - {file = "ruamel_yaml_clib-0.2.15-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:da3d6adadcf55a93c214d23941aef4abfd45652110aed6580e814152f385b862"}, - {file = "ruamel_yaml_clib-0.2.15-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:e9fde97ecb7bb9c41261c2ce0da10323e9227555c674989f8d9eb7572fc2098d"}, - {file = "ruamel_yaml_clib-0.2.15-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:05c70f7f86be6f7bee53794d80050a28ae7e13e4a0087c1839dcdefd68eb36b6"}, - {file = "ruamel_yaml_clib-0.2.15-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:6f1d38cbe622039d111b69e9ca945e7e3efebb30ba998867908773183357f3ed"}, - {file = "ruamel_yaml_clib-0.2.15-cp310-cp310-win32.whl", hash = "sha256:fe239bdfdae2302e93bd6e8264bd9b71290218fff7084a9db250b55caaccf43f"}, - {file = "ruamel_yaml_clib-0.2.15-cp310-cp310-win_amd64.whl", hash = "sha256:468858e5cbde0198337e6a2a78eda8c3fb148bdf4c6498eaf4bc9ba3f8e780bd"}, - {file = "ruamel_yaml_clib-0.2.15-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c583229f336682b7212a43d2fa32c30e643d3076178fb9f7a6a14dde85a2d8bd"}, - {file = "ruamel_yaml_clib-0.2.15-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:56ea19c157ed8c74b6be51b5fa1c3aff6e289a041575f0556f66e5fb848bb137"}, - {file = "ruamel_yaml_clib-0.2.15-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:5fea0932358e18293407feb921d4f4457db837b67ec1837f87074667449f9401"}, - {file = "ruamel_yaml_clib-0.2.15-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ef71831bd61fbdb7aa0399d5c4da06bea37107ab5c79ff884cc07f2450910262"}, - {file = "ruamel_yaml_clib-0.2.15-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:617d35dc765715fa86f8c3ccdae1e4229055832c452d4ec20856136acc75053f"}, - {file = "ruamel_yaml_clib-0.2.15-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:1b45498cc81a4724a2d42273d6cfc243c0547ad7c6b87b4f774cb7bcc131c98d"}, - {file = "ruamel_yaml_clib-0.2.15-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:def5663361f6771b18646620fca12968aae730132e104688766cf8a3b1d65922"}, - {file = "ruamel_yaml_clib-0.2.15-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:014181cdec565c8745b7cbc4de3bf2cc8ced05183d986e6d1200168e5bb59490"}, - {file = "ruamel_yaml_clib-0.2.15-cp311-cp311-win32.whl", hash = "sha256:d290eda8f6ada19e1771b54e5706b8f9807e6bb08e873900d5ba114ced13e02c"}, - {file = "ruamel_yaml_clib-0.2.15-cp311-cp311-win_amd64.whl", hash = "sha256:bdc06ad71173b915167702f55d0f3f027fc61abd975bd308a0968c02db4a4c3e"}, - {file = "ruamel_yaml_clib-0.2.15-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:cb15a2e2a90c8475df45c0949793af1ff413acfb0a716b8b94e488ea95ce7cff"}, - {file = "ruamel_yaml_clib-0.2.15-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:64da03cbe93c1e91af133f5bec37fd24d0d4ba2418eaf970d7166b0a26a148a2"}, - {file = "ruamel_yaml_clib-0.2.15-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:f6d3655e95a80325b84c4e14c080b2470fe4f33b6846f288379ce36154993fb1"}, - {file = "ruamel_yaml_clib-0.2.15-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:71845d377c7a47afc6592aacfea738cc8a7e876d586dfba814501d8c53c1ba60"}, - {file = "ruamel_yaml_clib-0.2.15-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:11e5499db1ccbc7f4b41f0565e4f799d863ea720e01d3e99fa0b7b5fcd7802c9"}, - {file = "ruamel_yaml_clib-0.2.15-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:4b293a37dc97e2b1e8a1aec62792d1e52027087c8eea4fc7b5abd2bdafdd6642"}, - {file = "ruamel_yaml_clib-0.2.15-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:512571ad41bba04eac7268fe33f7f4742210ca26a81fe0c75357fa682636c690"}, - {file = "ruamel_yaml_clib-0.2.15-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e5e9f630c73a490b758bf14d859a39f375e6999aea5ddd2e2e9da89b9953486a"}, - {file = "ruamel_yaml_clib-0.2.15-cp312-cp312-win32.whl", hash = "sha256:f4421ab780c37210a07d138e56dd4b51f8642187cdfb433eb687fe8c11de0144"}, - {file = "ruamel_yaml_clib-0.2.15-cp312-cp312-win_amd64.whl", hash = "sha256:2b216904750889133d9222b7b873c199d48ecbb12912aca78970f84a5aa1a4bc"}, - {file = "ruamel_yaml_clib-0.2.15-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:4dcec721fddbb62e60c2801ba08c87010bd6b700054a09998c4d09c08147b8fb"}, - {file = "ruamel_yaml_clib-0.2.15-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:65f48245279f9bb301d1276f9679b82e4c080a1ae25e679f682ac62446fac471"}, - {file = "ruamel_yaml_clib-0.2.15-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:46895c17ead5e22bea5e576f1db7e41cb273e8d062c04a6a49013d9f60996c25"}, - {file = "ruamel_yaml_clib-0.2.15-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3eb199178b08956e5be6288ee0b05b2fb0b5c1f309725ad25d9c6ea7e27f962a"}, - {file = "ruamel_yaml_clib-0.2.15-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4d1032919280ebc04a80e4fb1e93f7a738129857eaec9448310e638c8bccefcf"}, - {file = "ruamel_yaml_clib-0.2.15-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:ab0df0648d86a7ecbd9c632e8f8d6b21bb21b5fc9d9e095c796cacf32a728d2d"}, - {file = "ruamel_yaml_clib-0.2.15-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:331fb180858dd8534f0e61aa243b944f25e73a4dae9962bd44c46d1761126bbf"}, - {file = "ruamel_yaml_clib-0.2.15-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:fd4c928ddf6bce586285daa6d90680b9c291cfd045fc40aad34e445d57b1bf51"}, - {file = "ruamel_yaml_clib-0.2.15-cp313-cp313-win32.whl", hash = "sha256:bf0846d629e160223805db9fe8cc7aec16aaa11a07310c50c8c7164efa440aec"}, - {file = "ruamel_yaml_clib-0.2.15-cp313-cp313-win_amd64.whl", hash = "sha256:45702dfbea1420ba3450bb3dd9a80b33f0badd57539c6aac09f42584303e0db6"}, - {file = "ruamel_yaml_clib-0.2.15-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:753faf20b3a5906faf1fc50e4ddb8c074cb9b251e00b14c18b28492f933ac8ef"}, - {file = "ruamel_yaml_clib-0.2.15-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:480894aee0b29752560a9de46c0e5f84a82602f2bc5c6cde8db9a345319acfdf"}, - {file = "ruamel_yaml_clib-0.2.15-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:4d3b58ab2454b4747442ac76fab66739c72b1e2bb9bd173d7694b9f9dbc9c000"}, - {file = "ruamel_yaml_clib-0.2.15-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bfd309b316228acecfa30670c3887dcedf9b7a44ea39e2101e75d2654522acd4"}, - {file = "ruamel_yaml_clib-0.2.15-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2812ff359ec1f30129b62372e5f22a52936fac13d5d21e70373dbca5d64bb97c"}, - {file = "ruamel_yaml_clib-0.2.15-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7e74ea87307303ba91073b63e67f2c667e93f05a8c63079ee5b7a5c8d0d7b043"}, - {file = "ruamel_yaml_clib-0.2.15-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:713cd68af9dfbe0bb588e144a61aad8dcc00ef92a82d2e87183ca662d242f524"}, - {file = "ruamel_yaml_clib-0.2.15-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:542d77b72786a35563f97069b9379ce762944e67055bea293480f7734b2c7e5e"}, - {file = "ruamel_yaml_clib-0.2.15-cp314-cp314-win32.whl", hash = "sha256:424ead8cef3939d690c4b5c85ef5b52155a231ff8b252961b6516ed7cf05f6aa"}, - {file = "ruamel_yaml_clib-0.2.15-cp314-cp314-win_amd64.whl", hash = "sha256:ac9b8d5fa4bb7fd2917ab5027f60d4234345fd366fe39aa711d5dca090aa1467"}, - {file = "ruamel_yaml_clib-0.2.15-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:923816815974425fbb1f1bf57e85eca6e14d8adc313c66db21c094927ad01815"}, - {file = "ruamel_yaml_clib-0.2.15-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:dcc7f3162d3711fd5d52e2267e44636e3e566d1e5675a5f0b30e98f2c4af7974"}, - {file = "ruamel_yaml_clib-0.2.15-cp39-cp39-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:5d3c9210219cbc0f22706f19b154c9a798ff65a6beeafbf77fc9c057ec806f7d"}, - {file = "ruamel_yaml_clib-0.2.15-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1bb7b728fd9f405aa00b4a0b17ba3f3b810d0ccc5f77f7373162e9b5f0ff75d5"}, - {file = "ruamel_yaml_clib-0.2.15-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3cb75a3c14f1d6c3c2a94631e362802f70e83e20d1f2b2ef3026c05b415c4900"}, - {file = "ruamel_yaml_clib-0.2.15-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:badd1d7283f3e5894779a6ea8944cc765138b96804496c91812b2829f70e18a7"}, - {file = "ruamel_yaml_clib-0.2.15-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:0ba6604bbc3dfcef844631932d06a1a4dcac3fee904efccf582261948431628a"}, - {file = "ruamel_yaml_clib-0.2.15-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:a8220fd4c6f98485e97aea65e1df76d4fed1678ede1fe1d0eed2957230d287c4"}, - {file = "ruamel_yaml_clib-0.2.15-cp39-cp39-win32.whl", hash = "sha256:04d21dc9c57d9608225da28285900762befbb0165ae48482c15d8d4989d4af14"}, - {file = "ruamel_yaml_clib-0.2.15-cp39-cp39-win_amd64.whl", hash = "sha256:27dc656e84396e6d687f97c6e65fb284d100483628f02d95464fd731743a4afe"}, - {file = "ruamel_yaml_clib-0.2.15.tar.gz", hash = "sha256:46e4cc8c43ef6a94885f72512094e482114a8a706d3c555a34ed4b0d20200600"}, -] +libyaml = ["ruamel.yaml.clibz (>=0.3.7) ; platform_python_implementation == \"CPython\""] +oldlibyaml = ["ruamel.yaml.clib ; platform_python_implementation == \"CPython\""] [[package]] name = "ruff" -version = "0.14.10" +version = "0.15.18" description = "An extremely fast Python linter and code formatter, written in Rust." optional = false python-versions = ">=3.7" groups = ["dev"] files = [ - {file = "ruff-0.14.10-py3-none-linux_armv6l.whl", hash = "sha256:7a3ce585f2ade3e1f29ec1b92df13e3da262178df8c8bdf876f48fa0e8316c49"}, - {file = "ruff-0.14.10-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:674f9be9372907f7257c51f1d4fc902cb7cf014b9980152b802794317941f08f"}, - {file = "ruff-0.14.10-py3-none-macosx_11_0_arm64.whl", hash = "sha256:d85713d522348837ef9df8efca33ccb8bd6fcfc86a2cde3ccb4bc9d28a18003d"}, - {file = "ruff-0.14.10-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6987ebe0501ae4f4308d7d24e2d0fe3d7a98430f5adfd0f1fead050a740a3a77"}, - {file = "ruff-0.14.10-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:16a01dfb7b9e4eee556fbfd5392806b1b8550c9b4a9f6acd3dbe6812b193c70a"}, - {file = "ruff-0.14.10-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7165d31a925b7a294465fa81be8c12a0e9b60fb02bf177e79067c867e71f8b1f"}, - {file = "ruff-0.14.10-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:c561695675b972effb0c0a45db233f2c816ff3da8dcfbe7dfc7eed625f218935"}, - {file = "ruff-0.14.10-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4bb98fcbbc61725968893682fd4df8966a34611239c9fd07a1f6a07e7103d08e"}, - {file = "ruff-0.14.10-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f24b47993a9d8cb858429e97bdf8544c78029f09b520af615c1d261bf827001d"}, - {file = "ruff-0.14.10-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:59aabd2e2c4fd614d2862e7939c34a532c04f1084476d6833dddef4afab87e9f"}, - {file = "ruff-0.14.10-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:213db2b2e44be8625002dbea33bb9c60c66ea2c07c084a00d55732689d697a7f"}, - {file = "ruff-0.14.10-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:b914c40ab64865a17a9a5b67911d14df72346a634527240039eb3bd650e5979d"}, - {file = "ruff-0.14.10-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:1484983559f026788e3a5c07c81ef7d1e97c1c78ed03041a18f75df104c45405"}, - {file = "ruff-0.14.10-py3-none-musllinux_1_2_i686.whl", hash = "sha256:c70427132db492d25f982fffc8d6c7535cc2fd2c83fc8888f05caaa248521e60"}, - {file = "ruff-0.14.10-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:5bcf45b681e9f1ee6445d317ce1fa9d6cba9a6049542d1c3d5b5958986be8830"}, - {file = "ruff-0.14.10-py3-none-win32.whl", hash = "sha256:104c49fc7ab73f3f3a758039adea978869a918f31b73280db175b43a2d9b51d6"}, - {file = "ruff-0.14.10-py3-none-win_amd64.whl", hash = "sha256:466297bd73638c6bdf06485683e812db1c00c7ac96d4ddd0294a338c62fdc154"}, - {file = "ruff-0.14.10-py3-none-win_arm64.whl", hash = "sha256:e51d046cf6dda98a4633b8a8a771451107413b0f07183b2bef03f075599e44e6"}, - {file = "ruff-0.14.10.tar.gz", hash = "sha256:9a2e830f075d1a42cd28420d7809ace390832a490ed0966fe373ba288e77aaf4"}, + {file = "ruff-0.15.18-py3-none-linux_armv6l.whl", hash = "sha256:8b6850172348c8381b8b3084c5915a4393c2373b9b54cd5b5e1ea15812bc10df"}, + {file = "ruff-0.15.18-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:3fccc153a85417dcd976883160cacce486997b0a0058dd18f54b8aaaac7d1ce2"}, + {file = "ruff-0.15.18-py3-none-macosx_11_0_arm64.whl", hash = "sha256:08d4c86a68f2c3ec2c9d56380a71fb4a4f65373055cbb8caabd645e9102f38d4"}, + {file = "ruff-0.15.18-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:37e5108745c2c0705da916d7d4de533ddf547051ef45f62888c31bae73f66318"}, + {file = "ruff-0.15.18-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:56949a6ce8b3abde54c0bcb22cebfe57e8771cadc84b407ae8b8eaf67ebdcd43"}, + {file = "ruff-0.15.18-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:01a754cd6a1b630d3f97e33eb452cf7a98040482318e870f8bc52a5a30e62657"}, + {file = "ruff-0.15.18-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6ba7a07e03a44dbf10bb086ee06705b173625014ec99f73a7e6836a5e5590a0c"}, + {file = "ruff-0.15.18-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5a2c40a41a4cadbcf5897b548ab29dfe248b20c540961c0247d98a3973c70403"}, + {file = "ruff-0.15.18-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5f0480ce690cbb6c4db6e5d08f19fce98e10ba131a8b60c1bcdac42771e3ae2d"}, + {file = "ruff-0.15.18-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:2330215f1f393fa8733f55edce04fcf94c36a2c460fcde31f78cc84e4951e9b1"}, + {file = "ruff-0.15.18-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:a6aa6a3d979e48ae617578183674bf264fbe7d0114a796a26bd678d67963c7ff"}, + {file = "ruff-0.15.18-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:a81beadbbff2c9c245561ae3f77b16709d87f35eec650d0501679239d3449b22"}, + {file = "ruff-0.15.18-py3-none-musllinux_1_2_i686.whl", hash = "sha256:2186d9e940ae332ab293623a75b5f4fe49565f449954d50a72a046683aa6b809"}, + {file = "ruff-0.15.18-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:5c2abf140438032bc77b2284a6c9944ecd8a19e5f1c7b52b1b8e4a0a80d19a7a"}, + {file = "ruff-0.15.18-py3-none-win32.whl", hash = "sha256:02299e6e9fa5b297a3f6d5d10d7bcd655c925b028bb8b9d4588214549c6b9ec4"}, + {file = "ruff-0.15.18-py3-none-win_amd64.whl", hash = "sha256:dac80dc8d26b2257dbefabed62f5d255c3937b4ccb122da1fc634794fa3578b3"}, + {file = "ruff-0.15.18-py3-none-win_arm64.whl", hash = "sha256:b2c9257fcbd4a3e5b977a1904e6facca016bafe2edc17df24db67cfaee03b4e4"}, + {file = "ruff-0.15.18.tar.gz", hash = "sha256:2698a964c70e8bf402dcb99c8810472d270d141e7aa8c4e13599fd52033a2f33"}, ] [[package]] @@ -928,88 +830,23 @@ files = [ {file = "shellingham-1.5.4.tar.gz", hash = "sha256:8dbca0739d487e5bd35ab3ca4b36e11c4078f3a234bfce294b0a0291363404de"}, ] -[[package]] -name = "six" -version = "1.17.0" -description = "Python 2 and 3 compatibility utilities" -optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" -groups = ["main", "dev"] -files = [ - {file = "six-1.17.0-py2.py3-none-any.whl", hash = "sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274"}, - {file = "six-1.17.0.tar.gz", hash = "sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81"}, -] - -[[package]] -name = "tomli" -version = "2.3.0" -description = "A lil' TOML parser" -optional = false -python-versions = ">=3.8" -groups = ["dev"] -markers = "python_version == \"3.10\"" -files = [ - {file = "tomli-2.3.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:88bd15eb972f3664f5ed4b57c1634a97153b4bac4479dcb6a495f41921eb7f45"}, - {file = "tomli-2.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:883b1c0d6398a6a9d29b508c331fa56adbcdff647f6ace4dfca0f50e90dfd0ba"}, - {file = "tomli-2.3.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d1381caf13ab9f300e30dd8feadb3de072aeb86f1d34a8569453ff32a7dea4bf"}, - {file = "tomli-2.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a0e285d2649b78c0d9027570d4da3425bdb49830a6156121360b3f8511ea3441"}, - {file = "tomli-2.3.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:0a154a9ae14bfcf5d8917a59b51ffd5a3ac1fd149b71b47a3a104ca4edcfa845"}, - {file = "tomli-2.3.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:74bf8464ff93e413514fefd2be591c3b0b23231a77f901db1eb30d6f712fc42c"}, - {file = "tomli-2.3.0-cp311-cp311-win32.whl", hash = "sha256:00b5f5d95bbfc7d12f91ad8c593a1659b6387b43f054104cda404be6bda62456"}, - {file = "tomli-2.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:4dc4ce8483a5d429ab602f111a93a6ab1ed425eae3122032db7e9acf449451be"}, - {file = "tomli-2.3.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:d7d86942e56ded512a594786a5ba0a5e521d02529b3826e7761a05138341a2ac"}, - {file = "tomli-2.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:73ee0b47d4dad1c5e996e3cd33b8a76a50167ae5f96a2607cbe8cc773506ab22"}, - {file = "tomli-2.3.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:792262b94d5d0a466afb5bc63c7daa9d75520110971ee269152083270998316f"}, - {file = "tomli-2.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4f195fe57ecceac95a66a75ac24d9d5fbc98ef0962e09b2eddec5d39375aae52"}, - {file = "tomli-2.3.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e31d432427dcbf4d86958c184b9bfd1e96b5b71f8eb17e6d02531f434fd335b8"}, - {file = "tomli-2.3.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:7b0882799624980785240ab732537fcfc372601015c00f7fc367c55308c186f6"}, - {file = "tomli-2.3.0-cp312-cp312-win32.whl", hash = "sha256:ff72b71b5d10d22ecb084d345fc26f42b5143c5533db5e2eaba7d2d335358876"}, - {file = "tomli-2.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:1cb4ed918939151a03f33d4242ccd0aa5f11b3547d0cf30f7c74a408a5b99878"}, - {file = "tomli-2.3.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:5192f562738228945d7b13d4930baffda67b69425a7f0da96d360b0a3888136b"}, - {file = "tomli-2.3.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:be71c93a63d738597996be9528f4abe628d1adf5e6eb11607bc8fe1a510b5dae"}, - {file = "tomli-2.3.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c4665508bcbac83a31ff8ab08f424b665200c0e1e645d2bd9ab3d3e557b6185b"}, - {file = "tomli-2.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4021923f97266babc6ccab9f5068642a0095faa0a51a246a6a02fccbb3514eaf"}, - {file = "tomli-2.3.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:a4ea38c40145a357d513bffad0ed869f13c1773716cf71ccaa83b0fa0cc4e42f"}, - {file = "tomli-2.3.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:ad805ea85eda330dbad64c7ea7a4556259665bdf9d2672f5dccc740eb9d3ca05"}, - {file = "tomli-2.3.0-cp313-cp313-win32.whl", hash = "sha256:97d5eec30149fd3294270e889b4234023f2c69747e555a27bd708828353ab606"}, - {file = "tomli-2.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:0c95ca56fbe89e065c6ead5b593ee64b84a26fca063b5d71a1122bf26e533999"}, - {file = "tomli-2.3.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:cebc6fe843e0733ee827a282aca4999b596241195f43b4cc371d64fc6639da9e"}, - {file = "tomli-2.3.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:4c2ef0244c75aba9355561272009d934953817c49f47d768070c3c94355c2aa3"}, - {file = "tomli-2.3.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c22a8bf253bacc0cf11f35ad9808b6cb75ada2631c2d97c971122583b129afbc"}, - {file = "tomli-2.3.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0eea8cc5c5e9f89c9b90c4896a8deefc74f518db5927d0e0e8d4a80953d774d0"}, - {file = "tomli-2.3.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:b74a0e59ec5d15127acdabd75ea17726ac4c5178ae51b85bfe39c4f8a278e879"}, - {file = "tomli-2.3.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:b5870b50c9db823c595983571d1296a6ff3e1b88f734a4c8f6fc6188397de005"}, - {file = "tomli-2.3.0-cp314-cp314-win32.whl", hash = "sha256:feb0dacc61170ed7ab602d3d972a58f14ee3ee60494292d384649a3dc38ef463"}, - {file = "tomli-2.3.0-cp314-cp314-win_amd64.whl", hash = "sha256:b273fcbd7fc64dc3600c098e39136522650c49bca95df2d11cf3b626422392c8"}, - {file = "tomli-2.3.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:940d56ee0410fa17ee1f12b817b37a4d4e4dc4d27340863cc67236c74f582e77"}, - {file = "tomli-2.3.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:f85209946d1fe94416debbb88d00eb92ce9cd5266775424ff81bc959e001acaf"}, - {file = "tomli-2.3.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a56212bdcce682e56b0aaf79e869ba5d15a6163f88d5451cbde388d48b13f530"}, - {file = "tomli-2.3.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c5f3ffd1e098dfc032d4d3af5c0ac64f6d286d98bc148698356847b80fa4de1b"}, - {file = "tomli-2.3.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:5e01decd096b1530d97d5d85cb4dff4af2d8347bd35686654a004f8dea20fc67"}, - {file = "tomli-2.3.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:8a35dd0e643bb2610f156cca8db95d213a90015c11fee76c946aa62b7ae7e02f"}, - {file = "tomli-2.3.0-cp314-cp314t-win32.whl", hash = "sha256:a1f7f282fe248311650081faafa5f4732bdbfef5d45fe3f2e702fbc6f2d496e0"}, - {file = "tomli-2.3.0-cp314-cp314t-win_amd64.whl", hash = "sha256:70a251f8d4ba2d9ac2542eecf008b3c8a9fc5c3f9f02c56a9d7952612be2fdba"}, - {file = "tomli-2.3.0-py3-none-any.whl", hash = "sha256:e95b1af3c5b07d9e643909b5abbec77cd9f1217e6d0bca72b0234736b9fb1f1b"}, - {file = "tomli-2.3.0.tar.gz", hash = "sha256:64be704a875d2a59753d80ee8a533c3fe183e3f06807ff7dc2232938ccb01549"}, -] - [[package]] name = "typer" -version = "0.20.1" +version = "0.26.7" description = "Typer, build great CLIs. Easy to code. Based on Python type hints." optional = false -python-versions = ">=3.8" +python-versions = ">=3.10" groups = ["dev"] files = [ - {file = "typer-0.20.1-py3-none-any.whl", hash = "sha256:4b3bde918a67c8e03d861aa02deca90a95bbac572e71b1b9be56ff49affdb5a8"}, - {file = "typer-0.20.1.tar.gz", hash = "sha256:68585eb1b01203689c4199bc440d6be616f0851e9f0eb41e4a778845c5a0fd5b"}, + {file = "typer-0.26.7-py3-none-any.whl", hash = "sha256:5c87cfbc5d34491c5346ebf49c23e18d56ccb863268d3a8d592b26087c2f5e58"}, + {file = "typer-0.26.7.tar.gz", hash = "sha256:e314a34c617e419c091b2830dda3ea1f257134ff593061a8f5b9717ab8dddb3a"}, ] [package.dependencies] -click = ">=8.0.0" -rich = ">=10.11.0" +annotated-doc = ">=0.0.2" +colorama = {version = "*", markers = "platform_system == \"Windows\""} +rich = ">=13.8.0" shellingham = ">=1.3.0" -typing-extensions = ">=3.7.4.3" [[package]] name = "typing-extensions" @@ -1041,5 +878,5 @@ typing-extensions = ">=4.12.0" [metadata] lock-version = "2.1" -python-versions = "^3.10" -content-hash = "ebb9ca1e9685420bd2d1c82b88cde23f3aaba191d73ac5dc9c03286b43bf9c6e" +python-versions = "^3.11" +content-hash = "3c866db04dfb29063baf3d08a434164e39186fcbaa898a5934d4aa17612f2bf6" diff --git a/pyproject.toml b/pyproject.toml index 497466c..82c006c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,15 +10,14 @@ keywords = ["Cirro"] include = ["cirro_api_client/py.typed"] [tool.poetry.dependencies] -python = "^3.10" -httpx = ">=0.20.0,<0.29.0" +python = "^3.11" +httpx = ">=0.23.1,<0.29.0" attrs = ">=22.2.0" -python-dateutil = "^2.8.0" [tool.poetry.group.dev.dependencies] pytest = ">=7.2.1" ruff = ">=0.1.14" -openapi-python-client = "0.28.0" +openapi-python-client = "0.29.0" mypy = "1.19.1" [build-system] diff --git a/templates/endpoint_macros.py.jinja b/templates/endpoint_macros.py.jinja index 11d5ee5..ae85a3f 100644 --- a/templates/endpoint_macros.py.jinja +++ b/templates/endpoint_macros.py.jinja @@ -5,7 +5,7 @@ {% if endpoint.header_parameters or endpoint.bodies | length > 0 %} headers: dict[str, Any] = {} {% if endpoint.header_parameters %} - {% for parameter in endpoint.header_parameters.values() %} + {% for parameter in endpoint.header_parameters %} {% import "property_templates/" + parameter.template as param_template %} {% if param_template.transform_header %} {% set expression = param_template.transform_header(parameter.python_name) %} diff --git a/tests/test_client.py b/tests/test_client.py index ad7eac5..5ed8976 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -44,7 +44,7 @@ def test_import_api_methods(self): "organization": "test-org", "department": "test-dept", "jobTitle": "test-title", - "globalRoles": [] + "globalRoles": [], } ], "nextToken": None, From 0e78bd0c9b546671cb7c83e880810a88076f1f04 Mon Sep 17 00:00:00 2001 From: Nathan Thorpe Date: Mon, 22 Jun 2026 16:34:27 -0700 Subject: [PATCH 2/6] update api --- .../v1/api/app_registrations/approve_app.py | 1 + .../archive_app_registration.py | 1 + .../app_registrations/get_app_registration.py | 1 + .../list_app_registration_templates.py | 1 + .../list_app_registrations.py | 1 + .../list_my_app_registrations.py | 1 + .../app_registrations/regenerate_secret.py | 1 + cirro_api_client/v1/api/audit/get_event.py | 1 + cirro_api_client/v1/api/audit/list_events.py | 1 + .../v1/api/billing/delete_billing_account.py | 1 + .../v1/api/billing/get_billing_accounts.py | 1 + .../api/compute_environment/delete_agent.py | 1 + .../delete_compute_environment.py | 1 + .../v1/api/compute_environment/get_agents.py | 1 + .../get_compute_environments.py | 1 + .../v1/api/dashboards/create_dashboard.py | 20 +- .../dashboards/create_dashboard_template.py | 172 ++++++++++++++ .../v1/api/dashboards/delete_dashboard.py | 1 + .../dashboards/delete_dashboard_template.py | 102 ++++++++ .../v1/api/dashboards/get_dashboard.py | 1 + .../api/dashboards/get_dashboard_template.py | 167 +++++++++++++ .../api/dashboards/get_dashboard_templates.py | 141 +++++++++++ .../v1/api/dashboards/get_dashboards.py | 1 + .../v1/api/dashboards/update_dashboard.py | 20 +- .../dashboards/update_dashboard_template.py | 188 +++++++++++++++ .../v1/api/datasets/delete_dataset.py | 1 + .../v1/api/datasets/get_dataset.py | 1 + .../v1/api/datasets/get_dataset_manifest.py | 1 + .../v1/api/datasets/get_datasets.py | 1 + .../v1/api/datasets/get_sample_sheets.py | 1 + .../v1/api/datasets/ingest_samples.py | 1 + .../v1/api/datasets/regenerate_manifest.py | 1 + .../v1/api/datasets/rerun_transform.py | 1 + .../v1/api/execution/calculate_cost.py | 1 + .../v1/api/execution/get_execution_logs.py | 1 + .../v1/api/execution/get_project_summary.py | 1 + cirro_api_client/v1/api/execution/get_task.py | 1 + .../v1/api/execution/get_task_files.py | 1 + .../v1/api/execution/get_task_logs.py | 1 + .../api/execution/get_tasks_for_execution.py | 1 + .../v1/api/execution/stop_analysis.py | 1 + .../v1/api/feed/delete_discussion.py | 1 + .../v1/api/feed/delete_message.py | 1 + .../v1/api/feed/get_discussion.py | 1 + .../v1/api/feed/get_discussions_for_entity.py | 1 + .../api/feed/get_messages_for_discussion.py | 1 + .../api/governance/delete_classification.py | 1 + .../v1/api/governance/delete_contact.py | 1 + .../v1/api/governance/delete_requirement.py | 1 + .../v1/api/governance/get_classification.py | 1 + .../v1/api/governance/get_classifications.py | 1 + .../v1/api/governance/get_contact.py | 1 + .../v1/api/governance/get_contacts.py | 1 + .../v1/api/governance/get_requirement.py | 1 + .../v1/api/governance/get_requirements.py | 1 + .../governance/get_requirements_by_project.py | 1 + .../v1/api/metadata/get_dataset_samples.py | 1 + .../v1/api/metadata/get_project_samples.py | 1 + .../v1/api/metadata/get_project_schema.py | 1 + .../v1/api/metadata/get_sample_by_id.py | 1 + .../v1/api/metrics/get_all_metrics.py | 1 + .../v1/api/metrics/get_project_metrics.py | 1 + .../api/processes/archive_custom_process.py | 1 + .../processes/get_latest_process_revision.py | 187 +++++++++++++++ .../v1/api/processes/get_process.py | 1 + .../processes/get_process_documentation.py | 1 + .../api/processes/get_process_parameters.py | 1 + .../v1/api/processes/get_process_resource.py | 202 ++++++++++++++++ .../v1/api/processes/get_process_revision.py | 197 ++++++++++++++++ .../v1/api/processes/get_processes.py | 1 + .../api/processes/list_process_revisions.py | 223 ++++++++++++++++++ .../v1/api/processes/save_process_revision.py | 223 ++++++++++++++++++ .../v1/api/processes/sync_custom_process.py | 1 + .../v1/api/projects/archive_project.py | 1 + .../v1/api/projects/deny_access_request.py | 1 + .../v1/api/projects/get_access_requests.py | 1 + .../api/projects/get_discoverable_projects.py | 1 + .../v1/api/projects/get_project.py | 1 + .../projects/get_project_create_options.py | 1 + .../v1/api/projects/get_project_users.py | 1 + .../v1/api/projects/get_projects.py | 1 + .../v1/api/projects/get_quotas.py | 1 + .../v1/api/projects/redeploy_project.py | 1 + .../v1/api/projects/unarchive_project.py | 1 + .../references/delete_project_reference.py | 1 + .../v1/api/references/get_reference_types.py | 1 + .../v1/api/references/get_references.py | 1 + .../references/get_references_for_project.py | 1 + .../references/refresh_project_references.py | 1 + .../delete_shared_filesystem.py | 1 + .../get_shared_filesystem.py | 1 + .../list_shared_filesystems.py | 1 + .../v1/api/sharing/delete_share.py | 1 + .../v1/api/sharing/get_discoverable_shares.py | 1 + cirro_api_client/v1/api/sharing/get_share.py | 1 + .../v1/api/sharing/get_share_usages.py | 217 +++++++++++++++++ .../v1/api/sharing/get_shared_datasets.py | 1 + cirro_api_client/v1/api/sharing/get_shares.py | 1 + .../v1/api/sharing/revoke_share_usage.py | 122 ++++++++++ .../v1/api/sharing/subscribe_share.py | 1 + .../v1/api/sharing/unsubscribe_share.py | 1 + .../v1/api/sheets/delete_sheet.py | 1 + cirro_api_client/v1/api/sheets/get_jobs.py | 1 + cirro_api_client/v1/api/sheets/get_sheet.py | 1 + .../v1/api/sheets/get_sheet_data.py | 1 + cirro_api_client/v1/api/sheets/get_sheets.py | 1 + .../v1/api/sheets/refresh_view.py | 1 + .../v1/api/system/get_service_connections.py | 1 + cirro_api_client/v1/api/system/info.py | 1 + cirro_api_client/v1/api/users/get_user.py | 1 + cirro_api_client/v1/api/users/list_users.py | 1 + .../v1/api/users/sign_out_user.py | 1 + .../v1/api/workspaces/connect_workspace.py | 1 + .../v1/api/workspaces/delete_workspace.py | 1 + .../v1/api/workspaces/disconnect_workspace.py | 1 + .../v1/api/workspaces/get_workspace.py | 1 + .../workspaces/get_workspace_environments.py | 1 + .../v1/api/workspaces/get_workspace_logs.py | 1 + .../v1/api/workspaces/get_workspaces.py | 1 + .../v1/api/workspaces/start_workspace.py | 1 + .../v1/api/workspaces/stop_workspace.py | 1 + cirro_api_client/v1/models/__init__.py | 44 +++- cirro_api_client/v1/models/agent_detail.py | 5 +- .../agent_detail_environment_configuration.py | 1 + .../v1/models/agent_detail_tags.py | 1 + ...gent_input_configuration_options_schema.py | 1 + .../agent_input_environment_configuration.py | 1 + .../v1/models/agent_input_tags.py | 1 + cirro_api_client/v1/models/agent_tags.py | 1 + .../v1/models/app_registration.py | 7 +- .../v1/models/app_registration_detail.py | 11 +- .../v1/models/app_registration_input.py | 3 +- .../app_registration_secret_response.py | 3 +- cirro_api_client/v1/models/audit_event.py | 3 +- .../v1/models/audit_event_changes.py | 1 + .../v1/models/audit_event_event_detail.py | 1 + cirro_api_client/v1/models/aws_credentials.py | 3 +- .../models/calculate_pipeline_cost_request.py | 1 + cirro_api_client/v1/models/column_def.py | 2 +- .../compute_environment_configuration.py | 5 +- ...ironment_configuration_input_properties.py | 1 + ...te_environment_configuration_properties.py | 1 + cirro_api_client/v1/models/config_source.py | 16 ++ .../v1/models/custom_pipeline_settings.py | 3 +- .../v1/models/custom_process_input.py | 31 +++ cirro_api_client/v1/models/dashboard.py | 107 ++++++--- ...ashboard_info.py => dashboard_criteria.py} | 11 +- ....py => dashboard_dashboard_data_type_0.py} | 13 +- cirro_api_client/v1/models/dashboard_input.py | 119 ++++++++++ ...rd_data.py => dashboard_input_criteria.py} | 11 +- ...o.py => dashboard_input_dashboard_data.py} | 11 +- .../v1/models/dashboard_request.py | 119 ---------- .../v1/models/data_file_metadata.py | 1 + cirro_api_client/v1/models/dataset.py | 8 +- cirro_api_client/v1/models/dataset_detail.py | 8 +- .../v1/models/dataset_detail_info.py | 1 + .../v1/models/dataset_detail_params.py | 1 + .../dataset_detail_source_sample_files_map.py | 1 + cirro_api_client/v1/models/discussion.py | 7 +- cirro_api_client/v1/models/feature_flags.py | 16 ++ .../v1/models/file_entry_metadata.py | 1 + cirro_api_client/v1/models/file_type.py | 1 + .../v1/models/form_schema_form.py | 1 + .../form_schema_metadata_requirements.py | 1 + cirro_api_client/v1/models/form_schema_ui.py | 1 + .../get_project_summary_response_200.py | 1 + .../v1/models/governance_classification.py | 5 +- .../v1/models/governance_contact.py | 5 +- .../v1/models/governance_expiry.py | 3 +- .../v1/models/governance_requirement.py | 7 +- ...governance_requirement_project_file_map.py | 1 + cirro_api_client/v1/models/message.py | 5 +- cirro_api_client/v1/models/metric_record.py | 3 +- .../v1/models/metric_record_services.py | 1 + ...paginated_response_process_revision_dto.py | 83 +++++++ .../models/paginated_response_share_usage.py | 83 +++++++ cirro_api_client/v1/models/permission.py | 2 + cirro_api_client/v1/models/process.py | 5 +- cirro_api_client/v1/models/process_detail.py | 14 +- .../v1/models/process_documentation.py | 64 +++-- .../v1/models/process_resource.py | 20 ++ .../v1/models/process_resource_content_dto.py | 100 ++++++++ .../v1/models/process_revision_dto.py | 130 ++++++++++ .../v1/models/process_revision_dto_files.py | 47 ++++ .../v1/models/process_revision_save_file.py | 71 ++++++ .../models/process_revision_save_request.py | 161 +++++++++++++ .../models/process_revision_save_response.py | 109 +++++++++ cirro_api_client/v1/models/project.py | 3 +- .../v1/models/project_access_request.py | 5 +- cirro_api_client/v1/models/project_detail.py | 10 +- .../v1/models/project_requirement.py | 7 +- cirro_api_client/v1/models/query_column.py | 2 +- cirro_api_client/v1/models/reference.py | 3 +- .../models/reference_type_validation_item.py | 1 + .../models/requirement_fulfillment_input.py | 3 +- .../v1/models/requirement_input.py | 3 +- cirro_api_client/v1/models/resources_info.py | 3 +- .../v1/models/row_insert_values.py | 1 + .../row_insert_values_additional_property.py | 1 + .../v1/models/row_update_values.py | 1 + .../row_update_values_additional_property.py | 1 + .../v1/models/run_analysis_request_params.py | 1 + ...nalysis_request_source_sample_files_map.py | 1 + cirro_api_client/v1/models/sample.py | 5 +- cirro_api_client/v1/models/sample_metadata.py | 1 + .../v1/models/sample_request_metadata.py | 1 + .../v1/models/saved_process_revision.py | 89 +++++++ .../v1/models/sftp_credentials.py | 3 +- cirro_api_client/v1/models/share.py | 13 +- cirro_api_client/v1/models/share_detail.py | 5 +- cirro_api_client/v1/models/share_usage.py | 149 ++++++++++++ .../v1/models/shared_filesystem.py | 8 +- cirro_api_client/v1/models/sheet.py | 8 +- .../v1/models/sheet_data_update_response.py | 2 +- cirro_api_client/v1/models/sheet_detail.py | 10 +- cirro_api_client/v1/models/sheet_job.py | 12 +- .../v1/models/sheet_query_response.py | 7 +- .../models/sheet_query_response_rows_item.py | 1 + cirro_api_client/v1/models/task.py | 7 +- cirro_api_client/v1/models/user_detail.py | 5 +- .../v1/models/user_project_assignment.py | 3 +- cirro_api_client/v1/models/workspace.py | 12 +- ...ce_compute_config_environment_variables.py | 1 + .../models/workspace_connection_response.py | 3 +- .../v1/models/workspace_session.py | 3 +- 225 files changed, 3828 insertions(+), 360 deletions(-) create mode 100644 cirro_api_client/v1/api/dashboards/create_dashboard_template.py create mode 100644 cirro_api_client/v1/api/dashboards/delete_dashboard_template.py create mode 100644 cirro_api_client/v1/api/dashboards/get_dashboard_template.py create mode 100644 cirro_api_client/v1/api/dashboards/get_dashboard_templates.py create mode 100644 cirro_api_client/v1/api/dashboards/update_dashboard_template.py create mode 100644 cirro_api_client/v1/api/processes/get_latest_process_revision.py create mode 100644 cirro_api_client/v1/api/processes/get_process_resource.py create mode 100644 cirro_api_client/v1/api/processes/get_process_revision.py create mode 100644 cirro_api_client/v1/api/processes/list_process_revisions.py create mode 100644 cirro_api_client/v1/api/processes/save_process_revision.py create mode 100644 cirro_api_client/v1/api/sharing/get_share_usages.py create mode 100644 cirro_api_client/v1/api/sharing/revoke_share_usage.py create mode 100644 cirro_api_client/v1/models/config_source.py rename cirro_api_client/v1/models/{dashboard_info.py => dashboard_criteria.py} (84%) rename cirro_api_client/v1/models/{dashboard_request_dashboard_data.py => dashboard_dashboard_data_type_0.py} (77%) create mode 100644 cirro_api_client/v1/models/dashboard_input.py rename cirro_api_client/v1/models/{dashboard_dashboard_data.py => dashboard_input_criteria.py} (83%) rename cirro_api_client/v1/models/{dashboard_request_info.py => dashboard_input_dashboard_data.py} (81%) delete mode 100644 cirro_api_client/v1/models/dashboard_request.py create mode 100644 cirro_api_client/v1/models/paginated_response_process_revision_dto.py create mode 100644 cirro_api_client/v1/models/paginated_response_share_usage.py create mode 100644 cirro_api_client/v1/models/process_resource.py create mode 100644 cirro_api_client/v1/models/process_resource_content_dto.py create mode 100644 cirro_api_client/v1/models/process_revision_dto.py create mode 100644 cirro_api_client/v1/models/process_revision_dto_files.py create mode 100644 cirro_api_client/v1/models/process_revision_save_file.py create mode 100644 cirro_api_client/v1/models/process_revision_save_request.py create mode 100644 cirro_api_client/v1/models/process_revision_save_response.py create mode 100644 cirro_api_client/v1/models/saved_process_revision.py create mode 100644 cirro_api_client/v1/models/share_usage.py diff --git a/cirro_api_client/v1/api/app_registrations/approve_app.py b/cirro_api_client/v1/api/app_registrations/approve_app.py index 8eea3c5..64a36cd 100644 --- a/cirro_api_client/v1/api/app_registrations/approve_app.py +++ b/cirro_api_client/v1/api/app_registrations/approve_app.py @@ -12,6 +12,7 @@ def _get_kwargs( id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "post", "url": "/app-registrations/{id}:approve".format( diff --git a/cirro_api_client/v1/api/app_registrations/archive_app_registration.py b/cirro_api_client/v1/api/app_registrations/archive_app_registration.py index 4223e82..7d381fb 100644 --- a/cirro_api_client/v1/api/app_registrations/archive_app_registration.py +++ b/cirro_api_client/v1/api/app_registrations/archive_app_registration.py @@ -12,6 +12,7 @@ def _get_kwargs( id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "delete", "url": "/app-registrations/{id}".format( diff --git a/cirro_api_client/v1/api/app_registrations/get_app_registration.py b/cirro_api_client/v1/api/app_registrations/get_app_registration.py index dc5458c..bd7350a 100644 --- a/cirro_api_client/v1/api/app_registrations/get_app_registration.py +++ b/cirro_api_client/v1/api/app_registrations/get_app_registration.py @@ -13,6 +13,7 @@ def _get_kwargs( id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/app-registrations/{id}".format( diff --git a/cirro_api_client/v1/api/app_registrations/list_app_registration_templates.py b/cirro_api_client/v1/api/app_registrations/list_app_registration_templates.py index b3f02ce..62d80b1 100644 --- a/cirro_api_client/v1/api/app_registrations/list_app_registration_templates.py +++ b/cirro_api_client/v1/api/app_registrations/list_app_registration_templates.py @@ -10,6 +10,7 @@ def _get_kwargs() -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/app-registration-templates", diff --git a/cirro_api_client/v1/api/app_registrations/list_app_registrations.py b/cirro_api_client/v1/api/app_registrations/list_app_registrations.py index 894418a..c23f7e9 100644 --- a/cirro_api_client/v1/api/app_registrations/list_app_registrations.py +++ b/cirro_api_client/v1/api/app_registrations/list_app_registrations.py @@ -14,6 +14,7 @@ def _get_kwargs( limit: int | Unset = 100, next_token: str | Unset = UNSET, ) -> dict[str, Any]: + params: dict[str, Any] = {} params["limit"] = limit diff --git a/cirro_api_client/v1/api/app_registrations/list_my_app_registrations.py b/cirro_api_client/v1/api/app_registrations/list_my_app_registrations.py index e55bd1e..534b78b 100644 --- a/cirro_api_client/v1/api/app_registrations/list_my_app_registrations.py +++ b/cirro_api_client/v1/api/app_registrations/list_my_app_registrations.py @@ -10,6 +10,7 @@ def _get_kwargs() -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/app-registrations/mine", diff --git a/cirro_api_client/v1/api/app_registrations/regenerate_secret.py b/cirro_api_client/v1/api/app_registrations/regenerate_secret.py index 7f87ad2..dfe4613 100644 --- a/cirro_api_client/v1/api/app_registrations/regenerate_secret.py +++ b/cirro_api_client/v1/api/app_registrations/regenerate_secret.py @@ -13,6 +13,7 @@ def _get_kwargs( id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "post", "url": "/app-registrations/{id}:regenerate-secret".format( diff --git a/cirro_api_client/v1/api/audit/get_event.py b/cirro_api_client/v1/api/audit/get_event.py index 92591a5..224252e 100644 --- a/cirro_api_client/v1/api/audit/get_event.py +++ b/cirro_api_client/v1/api/audit/get_event.py @@ -13,6 +13,7 @@ def _get_kwargs( audit_event_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/audit-events/{audit_event_id}".format( diff --git a/cirro_api_client/v1/api/audit/list_events.py b/cirro_api_client/v1/api/audit/list_events.py index d6d3e87..335fd70 100644 --- a/cirro_api_client/v1/api/audit/list_events.py +++ b/cirro_api_client/v1/api/audit/list_events.py @@ -16,6 +16,7 @@ def _get_kwargs( entity_type: ListEventsEntityType | Unset = UNSET, entity_id: str | Unset = UNSET, ) -> dict[str, Any]: + params: dict[str, Any] = {} params["username"] = username diff --git a/cirro_api_client/v1/api/billing/delete_billing_account.py b/cirro_api_client/v1/api/billing/delete_billing_account.py index 937595d..ff1a225 100644 --- a/cirro_api_client/v1/api/billing/delete_billing_account.py +++ b/cirro_api_client/v1/api/billing/delete_billing_account.py @@ -12,6 +12,7 @@ def _get_kwargs( billing_account_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "delete", "url": "/billing/{billing_account_id}".format( diff --git a/cirro_api_client/v1/api/billing/get_billing_accounts.py b/cirro_api_client/v1/api/billing/get_billing_accounts.py index cdc4320..fbf0202 100644 --- a/cirro_api_client/v1/api/billing/get_billing_accounts.py +++ b/cirro_api_client/v1/api/billing/get_billing_accounts.py @@ -13,6 +13,7 @@ def _get_kwargs( *, include_archived: bool | Unset = False, ) -> dict[str, Any]: + params: dict[str, Any] = {} params["includeArchived"] = include_archived diff --git a/cirro_api_client/v1/api/compute_environment/delete_agent.py b/cirro_api_client/v1/api/compute_environment/delete_agent.py index 0451b38..2823163 100644 --- a/cirro_api_client/v1/api/compute_environment/delete_agent.py +++ b/cirro_api_client/v1/api/compute_environment/delete_agent.py @@ -12,6 +12,7 @@ def _get_kwargs( agent_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "delete", "url": "/agents/{agent_id}".format( diff --git a/cirro_api_client/v1/api/compute_environment/delete_compute_environment.py b/cirro_api_client/v1/api/compute_environment/delete_compute_environment.py index 0520efd..b88c737 100644 --- a/cirro_api_client/v1/api/compute_environment/delete_compute_environment.py +++ b/cirro_api_client/v1/api/compute_environment/delete_compute_environment.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, compute_environment_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "delete", "url": "/projects/{project_id}/compute-environments/{compute_environment_id}".format( diff --git a/cirro_api_client/v1/api/compute_environment/get_agents.py b/cirro_api_client/v1/api/compute_environment/get_agents.py index 52c2e1d..cea8675 100644 --- a/cirro_api_client/v1/api/compute_environment/get_agents.py +++ b/cirro_api_client/v1/api/compute_environment/get_agents.py @@ -10,6 +10,7 @@ def _get_kwargs() -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/agents", diff --git a/cirro_api_client/v1/api/compute_environment/get_compute_environments.py b/cirro_api_client/v1/api/compute_environment/get_compute_environments.py index 5ef0991..d37a64f 100644 --- a/cirro_api_client/v1/api/compute_environment/get_compute_environments.py +++ b/cirro_api_client/v1/api/compute_environment/get_compute_environments.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/compute-environments".format( diff --git a/cirro_api_client/v1/api/dashboards/create_dashboard.py b/cirro_api_client/v1/api/dashboards/create_dashboard.py index 2bafbbb..6830429 100644 --- a/cirro_api_client/v1/api/dashboards/create_dashboard.py +++ b/cirro_api_client/v1/api/dashboards/create_dashboard.py @@ -7,14 +7,14 @@ from ... import errors from ...client import Client from ...models.create_response import CreateResponse -from ...models.dashboard_request import DashboardRequest +from ...models.dashboard_input import DashboardInput from ...types import Response def _get_kwargs( project_id: str, *, - body: DashboardRequest, + body: DashboardInput, ) -> dict[str, Any]: headers: dict[str, Any] = {} @@ -55,7 +55,7 @@ def sync_detailed( project_id: str, *, client: Client, - body: DashboardRequest, + body: DashboardInput, ) -> Response[CreateResponse]: """Create dashboard @@ -63,7 +63,7 @@ def sync_detailed( Args: project_id (str): - body (DashboardRequest): + body (DashboardInput): client (Client): instance of the API client Raises: @@ -91,7 +91,7 @@ def sync( project_id: str, *, client: Client, - body: DashboardRequest, + body: DashboardInput, ) -> CreateResponse | None: """Create dashboard @@ -99,7 +99,7 @@ def sync( Args: project_id (str): - body (DashboardRequest): + body (DashboardInput): client (Client): instance of the API client Raises: @@ -124,7 +124,7 @@ async def asyncio_detailed( project_id: str, *, client: Client, - body: DashboardRequest, + body: DashboardInput, ) -> Response[CreateResponse]: """Create dashboard @@ -132,7 +132,7 @@ async def asyncio_detailed( Args: project_id (str): - body (DashboardRequest): + body (DashboardInput): client (Client): instance of the API client Raises: @@ -157,7 +157,7 @@ async def asyncio( project_id: str, *, client: Client, - body: DashboardRequest, + body: DashboardInput, ) -> CreateResponse | None: """Create dashboard @@ -165,7 +165,7 @@ async def asyncio( Args: project_id (str): - body (DashboardRequest): + body (DashboardInput): client (Client): instance of the API client Raises: diff --git a/cirro_api_client/v1/api/dashboards/create_dashboard_template.py b/cirro_api_client/v1/api/dashboards/create_dashboard_template.py new file mode 100644 index 0000000..c96d94a --- /dev/null +++ b/cirro_api_client/v1/api/dashboards/create_dashboard_template.py @@ -0,0 +1,172 @@ +from http import HTTPStatus +from typing import Any + +import httpx + +from ... import errors +from ...client import Client +from ...models.create_response import CreateResponse +from ...models.dashboard_input import DashboardInput +from ...types import Response + + +def _get_kwargs( + *, + body: DashboardInput, +) -> dict[str, Any]: + headers: dict[str, Any] = {} + + _kwargs: dict[str, Any] = { + "method": "post", + "url": "/dashboards", + } + + _kwargs["json"] = body.to_dict() + + headers["Content-Type"] = "application/json" + + _kwargs["headers"] = headers + return _kwargs + + +def _parse_response(*, client: Client, response: httpx.Response) -> CreateResponse | None: + if response.status_code == 201: + response_201 = CreateResponse.from_dict(response.json()) + + return response_201 + + errors.handle_error_response(response, client.raise_on_unexpected_status) + + +def _build_response(*, client: Client, response: httpx.Response) -> Response[CreateResponse]: + return Response( + status_code=HTTPStatus(response.status_code), + content=response.content, + headers=response.headers, + parsed=_parse_response(client=client, response=response), + ) + + +def sync_detailed( + *, + client: Client, + body: DashboardInput, +) -> Response[CreateResponse]: + """Create dashboard template + + Creates a new dashboard template + + Args: + body (DashboardInput): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[CreateResponse] + """ + + kwargs = _get_kwargs( + body=body, + ) + + response = client.get_httpx_client().request( + auth=client.get_auth(), + **kwargs, + ) + + return _build_response(client=client, response=response) + + +def sync( + *, + client: Client, + body: DashboardInput, +) -> CreateResponse | None: + """Create dashboard template + + Creates a new dashboard template + + Args: + body (DashboardInput): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + CreateResponse + """ + + try: + return sync_detailed( + client=client, + body=body, + ).parsed + except errors.NotFoundException: + return None + + +async def asyncio_detailed( + *, + client: Client, + body: DashboardInput, +) -> Response[CreateResponse]: + """Create dashboard template + + Creates a new dashboard template + + Args: + body (DashboardInput): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[CreateResponse] + """ + + kwargs = _get_kwargs( + body=body, + ) + + response = await client.get_async_httpx_client().request(auth=client.get_auth(), **kwargs) + + return _build_response(client=client, response=response) + + +async def asyncio( + *, + client: Client, + body: DashboardInput, +) -> CreateResponse | None: + """Create dashboard template + + Creates a new dashboard template + + Args: + body (DashboardInput): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + CreateResponse + """ + + try: + return ( + await asyncio_detailed( + client=client, + body=body, + ) + ).parsed + except errors.NotFoundException: + return None diff --git a/cirro_api_client/v1/api/dashboards/delete_dashboard.py b/cirro_api_client/v1/api/dashboards/delete_dashboard.py index 17d0b1c..22f53d4 100644 --- a/cirro_api_client/v1/api/dashboards/delete_dashboard.py +++ b/cirro_api_client/v1/api/dashboards/delete_dashboard.py @@ -14,6 +14,7 @@ def _get_kwargs( project_id: str, dashboard_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "delete", "url": "/projects/{project_id}/dashboards/{dashboard_id}".format( diff --git a/cirro_api_client/v1/api/dashboards/delete_dashboard_template.py b/cirro_api_client/v1/api/dashboards/delete_dashboard_template.py new file mode 100644 index 0000000..b816d7c --- /dev/null +++ b/cirro_api_client/v1/api/dashboards/delete_dashboard_template.py @@ -0,0 +1,102 @@ +from http import HTTPStatus +from typing import Any +from urllib.parse import quote + +import httpx + +from ... import errors +from ...client import Client +from ...types import Response + + +def _get_kwargs( + dashboard_id: str, +) -> dict[str, Any]: + + _kwargs: dict[str, Any] = { + "method": "delete", + "url": "/dashboards/{dashboard_id}".format( + dashboard_id=quote(str(dashboard_id), safe=""), + ), + } + + return _kwargs + + +def _parse_response(*, client: Client, response: httpx.Response) -> Any | None: + if response.status_code == 204: + return None + + errors.handle_error_response(response, client.raise_on_unexpected_status) + + +def _build_response(*, client: Client, response: httpx.Response) -> Response[Any]: + return Response( + status_code=HTTPStatus(response.status_code), + content=response.content, + headers=response.headers, + parsed=_parse_response(client=client, response=response), + ) + + +def sync_detailed( + dashboard_id: str, + *, + client: Client, +) -> Response[Any]: + """Delete dashboard template + + Deletes a dashboard template + + Args: + dashboard_id (str): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[Any] + """ + + kwargs = _get_kwargs( + dashboard_id=dashboard_id, + ) + + response = client.get_httpx_client().request( + auth=client.get_auth(), + **kwargs, + ) + + return _build_response(client=client, response=response) + + +async def asyncio_detailed( + dashboard_id: str, + *, + client: Client, +) -> Response[Any]: + """Delete dashboard template + + Deletes a dashboard template + + Args: + dashboard_id (str): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[Any] + """ + + kwargs = _get_kwargs( + dashboard_id=dashboard_id, + ) + + response = await client.get_async_httpx_client().request(auth=client.get_auth(), **kwargs) + + return _build_response(client=client, response=response) diff --git a/cirro_api_client/v1/api/dashboards/get_dashboard.py b/cirro_api_client/v1/api/dashboards/get_dashboard.py index e29e4ef..2f95acd 100644 --- a/cirro_api_client/v1/api/dashboards/get_dashboard.py +++ b/cirro_api_client/v1/api/dashboards/get_dashboard.py @@ -14,6 +14,7 @@ def _get_kwargs( project_id: str, dashboard_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/dashboards/{dashboard_id}".format( diff --git a/cirro_api_client/v1/api/dashboards/get_dashboard_template.py b/cirro_api_client/v1/api/dashboards/get_dashboard_template.py new file mode 100644 index 0000000..bec0dd9 --- /dev/null +++ b/cirro_api_client/v1/api/dashboards/get_dashboard_template.py @@ -0,0 +1,167 @@ +from http import HTTPStatus +from typing import Any +from urllib.parse import quote + +import httpx + +from ... import errors +from ...client import Client +from ...models.dashboard import Dashboard +from ...types import Response + + +def _get_kwargs( + dashboard_id: str, +) -> dict[str, Any]: + + _kwargs: dict[str, Any] = { + "method": "get", + "url": "/dashboards/{dashboard_id}".format( + dashboard_id=quote(str(dashboard_id), safe=""), + ), + } + + return _kwargs + + +def _parse_response(*, client: Client, response: httpx.Response) -> Dashboard | None: + if response.status_code == 200: + response_200 = Dashboard.from_dict(response.json()) + + return response_200 + + errors.handle_error_response(response, client.raise_on_unexpected_status) + + +def _build_response(*, client: Client, response: httpx.Response) -> Response[Dashboard]: + return Response( + status_code=HTTPStatus(response.status_code), + content=response.content, + headers=response.headers, + parsed=_parse_response(client=client, response=response), + ) + + +def sync_detailed( + dashboard_id: str, + *, + client: Client, +) -> Response[Dashboard]: + """Get dashboard template + + Retrieves a dashboard template by ID + + Args: + dashboard_id (str): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[Dashboard] + """ + + kwargs = _get_kwargs( + dashboard_id=dashboard_id, + ) + + response = client.get_httpx_client().request( + auth=client.get_auth(), + **kwargs, + ) + + return _build_response(client=client, response=response) + + +def sync( + dashboard_id: str, + *, + client: Client, +) -> Dashboard | None: + """Get dashboard template + + Retrieves a dashboard template by ID + + Args: + dashboard_id (str): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Dashboard + """ + + try: + return sync_detailed( + dashboard_id=dashboard_id, + client=client, + ).parsed + except errors.NotFoundException: + return None + + +async def asyncio_detailed( + dashboard_id: str, + *, + client: Client, +) -> Response[Dashboard]: + """Get dashboard template + + Retrieves a dashboard template by ID + + Args: + dashboard_id (str): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[Dashboard] + """ + + kwargs = _get_kwargs( + dashboard_id=dashboard_id, + ) + + response = await client.get_async_httpx_client().request(auth=client.get_auth(), **kwargs) + + return _build_response(client=client, response=response) + + +async def asyncio( + dashboard_id: str, + *, + client: Client, +) -> Dashboard | None: + """Get dashboard template + + Retrieves a dashboard template by ID + + Args: + dashboard_id (str): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Dashboard + """ + + try: + return ( + await asyncio_detailed( + dashboard_id=dashboard_id, + client=client, + ) + ).parsed + except errors.NotFoundException: + return None diff --git a/cirro_api_client/v1/api/dashboards/get_dashboard_templates.py b/cirro_api_client/v1/api/dashboards/get_dashboard_templates.py new file mode 100644 index 0000000..96cc24e --- /dev/null +++ b/cirro_api_client/v1/api/dashboards/get_dashboard_templates.py @@ -0,0 +1,141 @@ +from http import HTTPStatus +from typing import Any + +import httpx + +from ... import errors +from ...client import Client +from ...models.dashboard import Dashboard +from ...types import Response + + +def _get_kwargs() -> dict[str, Any]: + + _kwargs: dict[str, Any] = { + "method": "get", + "url": "/dashboards", + } + + return _kwargs + + +def _parse_response(*, client: Client, response: httpx.Response) -> list[Dashboard] | None: + if response.status_code == 200: + response_200 = [] + _response_200 = response.json() + for response_200_item_data in _response_200: + response_200_item = Dashboard.from_dict(response_200_item_data) + + response_200.append(response_200_item) + + return response_200 + + errors.handle_error_response(response, client.raise_on_unexpected_status) + + +def _build_response(*, client: Client, response: httpx.Response) -> Response[list[Dashboard]]: + return Response( + status_code=HTTPStatus(response.status_code), + content=response.content, + headers=response.headers, + parsed=_parse_response(client=client, response=response), + ) + + +def sync_detailed( + *, + client: Client, +) -> Response[list[Dashboard]]: + """List dashboard templates + + Retrieves dashboard templates for a given process + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[list[Dashboard]] + """ + + kwargs = _get_kwargs() + + response = client.get_httpx_client().request( + auth=client.get_auth(), + **kwargs, + ) + + return _build_response(client=client, response=response) + + +def sync( + *, + client: Client, +) -> list[Dashboard] | None: + """List dashboard templates + + Retrieves dashboard templates for a given process + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + list[Dashboard] + """ + + try: + return sync_detailed( + client=client, + ).parsed + except errors.NotFoundException: + return None + + +async def asyncio_detailed( + *, + client: Client, +) -> Response[list[Dashboard]]: + """List dashboard templates + + Retrieves dashboard templates for a given process + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[list[Dashboard]] + """ + + kwargs = _get_kwargs() + + response = await client.get_async_httpx_client().request(auth=client.get_auth(), **kwargs) + + return _build_response(client=client, response=response) + + +async def asyncio( + *, + client: Client, +) -> list[Dashboard] | None: + """List dashboard templates + + Retrieves dashboard templates for a given process + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + list[Dashboard] + """ + + try: + return ( + await asyncio_detailed( + client=client, + ) + ).parsed + except errors.NotFoundException: + return None diff --git a/cirro_api_client/v1/api/dashboards/get_dashboards.py b/cirro_api_client/v1/api/dashboards/get_dashboards.py index f33d788..2349027 100644 --- a/cirro_api_client/v1/api/dashboards/get_dashboards.py +++ b/cirro_api_client/v1/api/dashboards/get_dashboards.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/dashboards".format( diff --git a/cirro_api_client/v1/api/dashboards/update_dashboard.py b/cirro_api_client/v1/api/dashboards/update_dashboard.py index 6757973..8b76b72 100644 --- a/cirro_api_client/v1/api/dashboards/update_dashboard.py +++ b/cirro_api_client/v1/api/dashboards/update_dashboard.py @@ -7,7 +7,7 @@ from ... import errors from ...client import Client from ...models.dashboard import Dashboard -from ...models.dashboard_request import DashboardRequest +from ...models.dashboard_input import DashboardInput from ...types import Response @@ -15,7 +15,7 @@ def _get_kwargs( project_id: str, dashboard_id: str, *, - body: DashboardRequest, + body: DashboardInput, ) -> dict[str, Any]: headers: dict[str, Any] = {} @@ -58,7 +58,7 @@ def sync_detailed( dashboard_id: str, *, client: Client, - body: DashboardRequest, + body: DashboardInput, ) -> Response[Dashboard]: """Update dashboard @@ -67,7 +67,7 @@ def sync_detailed( Args: project_id (str): dashboard_id (str): - body (DashboardRequest): + body (DashboardInput): client (Client): instance of the API client Raises: @@ -97,7 +97,7 @@ def sync( dashboard_id: str, *, client: Client, - body: DashboardRequest, + body: DashboardInput, ) -> Dashboard | None: """Update dashboard @@ -106,7 +106,7 @@ def sync( Args: project_id (str): dashboard_id (str): - body (DashboardRequest): + body (DashboardInput): client (Client): instance of the API client Raises: @@ -133,7 +133,7 @@ async def asyncio_detailed( dashboard_id: str, *, client: Client, - body: DashboardRequest, + body: DashboardInput, ) -> Response[Dashboard]: """Update dashboard @@ -142,7 +142,7 @@ async def asyncio_detailed( Args: project_id (str): dashboard_id (str): - body (DashboardRequest): + body (DashboardInput): client (Client): instance of the API client Raises: @@ -169,7 +169,7 @@ async def asyncio( dashboard_id: str, *, client: Client, - body: DashboardRequest, + body: DashboardInput, ) -> Dashboard | None: """Update dashboard @@ -178,7 +178,7 @@ async def asyncio( Args: project_id (str): dashboard_id (str): - body (DashboardRequest): + body (DashboardInput): client (Client): instance of the API client Raises: diff --git a/cirro_api_client/v1/api/dashboards/update_dashboard_template.py b/cirro_api_client/v1/api/dashboards/update_dashboard_template.py new file mode 100644 index 0000000..0acbc04 --- /dev/null +++ b/cirro_api_client/v1/api/dashboards/update_dashboard_template.py @@ -0,0 +1,188 @@ +from http import HTTPStatus +from typing import Any +from urllib.parse import quote + +import httpx + +from ... import errors +from ...client import Client +from ...models.dashboard import Dashboard +from ...models.dashboard_input import DashboardInput +from ...types import Response + + +def _get_kwargs( + dashboard_id: str, + *, + body: DashboardInput, +) -> dict[str, Any]: + headers: dict[str, Any] = {} + + _kwargs: dict[str, Any] = { + "method": "put", + "url": "/dashboards/{dashboard_id}".format( + dashboard_id=quote(str(dashboard_id), safe=""), + ), + } + + _kwargs["json"] = body.to_dict() + + headers["Content-Type"] = "application/json" + + _kwargs["headers"] = headers + return _kwargs + + +def _parse_response(*, client: Client, response: httpx.Response) -> Dashboard | None: + if response.status_code == 200: + response_200 = Dashboard.from_dict(response.json()) + + return response_200 + + errors.handle_error_response(response, client.raise_on_unexpected_status) + + +def _build_response(*, client: Client, response: httpx.Response) -> Response[Dashboard]: + return Response( + status_code=HTTPStatus(response.status_code), + content=response.content, + headers=response.headers, + parsed=_parse_response(client=client, response=response), + ) + + +def sync_detailed( + dashboard_id: str, + *, + client: Client, + body: DashboardInput, +) -> Response[Dashboard]: + """Update dashboard template + + Updates a dashboard template + + Args: + dashboard_id (str): + body (DashboardInput): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[Dashboard] + """ + + kwargs = _get_kwargs( + dashboard_id=dashboard_id, + body=body, + ) + + response = client.get_httpx_client().request( + auth=client.get_auth(), + **kwargs, + ) + + return _build_response(client=client, response=response) + + +def sync( + dashboard_id: str, + *, + client: Client, + body: DashboardInput, +) -> Dashboard | None: + """Update dashboard template + + Updates a dashboard template + + Args: + dashboard_id (str): + body (DashboardInput): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Dashboard + """ + + try: + return sync_detailed( + dashboard_id=dashboard_id, + client=client, + body=body, + ).parsed + except errors.NotFoundException: + return None + + +async def asyncio_detailed( + dashboard_id: str, + *, + client: Client, + body: DashboardInput, +) -> Response[Dashboard]: + """Update dashboard template + + Updates a dashboard template + + Args: + dashboard_id (str): + body (DashboardInput): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[Dashboard] + """ + + kwargs = _get_kwargs( + dashboard_id=dashboard_id, + body=body, + ) + + response = await client.get_async_httpx_client().request(auth=client.get_auth(), **kwargs) + + return _build_response(client=client, response=response) + + +async def asyncio( + dashboard_id: str, + *, + client: Client, + body: DashboardInput, +) -> Dashboard | None: + """Update dashboard template + + Updates a dashboard template + + Args: + dashboard_id (str): + body (DashboardInput): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Dashboard + """ + + try: + return ( + await asyncio_detailed( + dashboard_id=dashboard_id, + client=client, + body=body, + ) + ).parsed + except errors.NotFoundException: + return None diff --git a/cirro_api_client/v1/api/datasets/delete_dataset.py b/cirro_api_client/v1/api/datasets/delete_dataset.py index 778c8f0..18dd78f 100644 --- a/cirro_api_client/v1/api/datasets/delete_dataset.py +++ b/cirro_api_client/v1/api/datasets/delete_dataset.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, dataset_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "delete", "url": "/projects/{project_id}/datasets/{dataset_id}".format( diff --git a/cirro_api_client/v1/api/datasets/get_dataset.py b/cirro_api_client/v1/api/datasets/get_dataset.py index 9486543..7fcb967 100644 --- a/cirro_api_client/v1/api/datasets/get_dataset.py +++ b/cirro_api_client/v1/api/datasets/get_dataset.py @@ -14,6 +14,7 @@ def _get_kwargs( project_id: str, dataset_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/datasets/{dataset_id}".format( diff --git a/cirro_api_client/v1/api/datasets/get_dataset_manifest.py b/cirro_api_client/v1/api/datasets/get_dataset_manifest.py index b736c31..6e6158a 100644 --- a/cirro_api_client/v1/api/datasets/get_dataset_manifest.py +++ b/cirro_api_client/v1/api/datasets/get_dataset_manifest.py @@ -17,6 +17,7 @@ def _get_kwargs( file_offset: int | Unset = 0, file_limit: int | Unset = 20000, ) -> dict[str, Any]: + params: dict[str, Any] = {} params["fileOffset"] = file_offset diff --git a/cirro_api_client/v1/api/datasets/get_datasets.py b/cirro_api_client/v1/api/datasets/get_datasets.py index 9fce64b..7c06fcd 100644 --- a/cirro_api_client/v1/api/datasets/get_datasets.py +++ b/cirro_api_client/v1/api/datasets/get_datasets.py @@ -16,6 +16,7 @@ def _get_kwargs( limit: int | Unset = 5000, next_token: str | Unset = UNSET, ) -> dict[str, Any]: + params: dict[str, Any] = {} params["limit"] = limit diff --git a/cirro_api_client/v1/api/datasets/get_sample_sheets.py b/cirro_api_client/v1/api/datasets/get_sample_sheets.py index ef6f864..795379b 100644 --- a/cirro_api_client/v1/api/datasets/get_sample_sheets.py +++ b/cirro_api_client/v1/api/datasets/get_sample_sheets.py @@ -14,6 +14,7 @@ def _get_kwargs( project_id: str, dataset_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/datasets/{dataset_id}/samplesheet".format( diff --git a/cirro_api_client/v1/api/datasets/ingest_samples.py b/cirro_api_client/v1/api/datasets/ingest_samples.py index 3914820..5a4510d 100644 --- a/cirro_api_client/v1/api/datasets/ingest_samples.py +++ b/cirro_api_client/v1/api/datasets/ingest_samples.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, dataset_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "put", "url": "/projects/{project_id}/datasets/{dataset_id}/ingest-samples".format( diff --git a/cirro_api_client/v1/api/datasets/regenerate_manifest.py b/cirro_api_client/v1/api/datasets/regenerate_manifest.py index 811ee15..8803dbc 100644 --- a/cirro_api_client/v1/api/datasets/regenerate_manifest.py +++ b/cirro_api_client/v1/api/datasets/regenerate_manifest.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, dataset_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "put", "url": "/projects/{project_id}/datasets/{dataset_id}/regenerate-manifest".format( diff --git a/cirro_api_client/v1/api/datasets/rerun_transform.py b/cirro_api_client/v1/api/datasets/rerun_transform.py index 53d8f5e..90e1d8c 100644 --- a/cirro_api_client/v1/api/datasets/rerun_transform.py +++ b/cirro_api_client/v1/api/datasets/rerun_transform.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, dataset_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "put", "url": "/projects/{project_id}/datasets/{dataset_id}/rerun-transform".format( diff --git a/cirro_api_client/v1/api/execution/calculate_cost.py b/cirro_api_client/v1/api/execution/calculate_cost.py index 6e553a0..06ffdd2 100644 --- a/cirro_api_client/v1/api/execution/calculate_cost.py +++ b/cirro_api_client/v1/api/execution/calculate_cost.py @@ -14,6 +14,7 @@ def _get_kwargs( project_id: str, dataset_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/execution/{dataset_id}/cost".format( diff --git a/cirro_api_client/v1/api/execution/get_execution_logs.py b/cirro_api_client/v1/api/execution/get_execution_logs.py index 962924b..8a3d844 100644 --- a/cirro_api_client/v1/api/execution/get_execution_logs.py +++ b/cirro_api_client/v1/api/execution/get_execution_logs.py @@ -16,6 +16,7 @@ def _get_kwargs( *, force_live: bool | Unset = False, ) -> dict[str, Any]: + params: dict[str, Any] = {} params["forceLive"] = force_live diff --git a/cirro_api_client/v1/api/execution/get_project_summary.py b/cirro_api_client/v1/api/execution/get_project_summary.py index 500e382..ff31370 100644 --- a/cirro_api_client/v1/api/execution/get_project_summary.py +++ b/cirro_api_client/v1/api/execution/get_project_summary.py @@ -15,6 +15,7 @@ def _get_kwargs( *, number_of_days: int | Unset = 1, ) -> dict[str, Any]: + params: dict[str, Any] = {} params["numberOfDays"] = number_of_days diff --git a/cirro_api_client/v1/api/execution/get_task.py b/cirro_api_client/v1/api/execution/get_task.py index d93966b..538ff50 100644 --- a/cirro_api_client/v1/api/execution/get_task.py +++ b/cirro_api_client/v1/api/execution/get_task.py @@ -17,6 +17,7 @@ def _get_kwargs( *, force_live: bool | Unset = False, ) -> dict[str, Any]: + params: dict[str, Any] = {} params["forceLive"] = force_live diff --git a/cirro_api_client/v1/api/execution/get_task_files.py b/cirro_api_client/v1/api/execution/get_task_files.py index 6e32e50..f4df4d9 100644 --- a/cirro_api_client/v1/api/execution/get_task_files.py +++ b/cirro_api_client/v1/api/execution/get_task_files.py @@ -15,6 +15,7 @@ def _get_kwargs( dataset_id: str, task_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/execution/{dataset_id}/tasks/{task_id}/files".format( diff --git a/cirro_api_client/v1/api/execution/get_task_logs.py b/cirro_api_client/v1/api/execution/get_task_logs.py index 79c95ec..842779a 100644 --- a/cirro_api_client/v1/api/execution/get_task_logs.py +++ b/cirro_api_client/v1/api/execution/get_task_logs.py @@ -19,6 +19,7 @@ def _get_kwargs( force_live: bool | Unset = False, source: TaskLogSource | Unset = UNSET, ) -> dict[str, Any]: + params: dict[str, Any] = {} params["forceLive"] = force_live diff --git a/cirro_api_client/v1/api/execution/get_tasks_for_execution.py b/cirro_api_client/v1/api/execution/get_tasks_for_execution.py index aa751d6..dc48074 100644 --- a/cirro_api_client/v1/api/execution/get_tasks_for_execution.py +++ b/cirro_api_client/v1/api/execution/get_tasks_for_execution.py @@ -16,6 +16,7 @@ def _get_kwargs( *, force_live: bool | Unset = False, ) -> dict[str, Any]: + params: dict[str, Any] = {} params["forceLive"] = force_live diff --git a/cirro_api_client/v1/api/execution/stop_analysis.py b/cirro_api_client/v1/api/execution/stop_analysis.py index 0dac160..4255b75 100644 --- a/cirro_api_client/v1/api/execution/stop_analysis.py +++ b/cirro_api_client/v1/api/execution/stop_analysis.py @@ -14,6 +14,7 @@ def _get_kwargs( project_id: str, dataset_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "put", "url": "/projects/{project_id}/execution/{dataset_id}/stop".format( diff --git a/cirro_api_client/v1/api/feed/delete_discussion.py b/cirro_api_client/v1/api/feed/delete_discussion.py index 8e9df65..b37dde3 100644 --- a/cirro_api_client/v1/api/feed/delete_discussion.py +++ b/cirro_api_client/v1/api/feed/delete_discussion.py @@ -12,6 +12,7 @@ def _get_kwargs( discussion_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "delete", "url": "/discussions/{discussion_id}".format( diff --git a/cirro_api_client/v1/api/feed/delete_message.py b/cirro_api_client/v1/api/feed/delete_message.py index 25776ca..9411833 100644 --- a/cirro_api_client/v1/api/feed/delete_message.py +++ b/cirro_api_client/v1/api/feed/delete_message.py @@ -13,6 +13,7 @@ def _get_kwargs( discussion_id: str, message_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "delete", "url": "/discussions/{discussion_id}/messages/{message_id}".format( diff --git a/cirro_api_client/v1/api/feed/get_discussion.py b/cirro_api_client/v1/api/feed/get_discussion.py index 6d59de4..801f4ae 100644 --- a/cirro_api_client/v1/api/feed/get_discussion.py +++ b/cirro_api_client/v1/api/feed/get_discussion.py @@ -13,6 +13,7 @@ def _get_kwargs( discussion_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/discussions/{discussion_id}".format( diff --git a/cirro_api_client/v1/api/feed/get_discussions_for_entity.py b/cirro_api_client/v1/api/feed/get_discussions_for_entity.py index e889954..e6d528f 100644 --- a/cirro_api_client/v1/api/feed/get_discussions_for_entity.py +++ b/cirro_api_client/v1/api/feed/get_discussions_for_entity.py @@ -19,6 +19,7 @@ def _get_kwargs( limit: int | Unset = 5000, order: None | SortOrder | Unset = UNSET, ) -> dict[str, Any]: + params: dict[str, Any] = {} json_entity_type = entity_type.value diff --git a/cirro_api_client/v1/api/feed/get_messages_for_discussion.py b/cirro_api_client/v1/api/feed/get_messages_for_discussion.py index 8541826..3953858 100644 --- a/cirro_api_client/v1/api/feed/get_messages_for_discussion.py +++ b/cirro_api_client/v1/api/feed/get_messages_for_discussion.py @@ -19,6 +19,7 @@ def _get_kwargs( thread_id: None | str | Unset = UNSET, order: None | SortOrder | Unset = UNSET, ) -> dict[str, Any]: + params: dict[str, Any] = {} json_next_token: None | str | Unset diff --git a/cirro_api_client/v1/api/governance/delete_classification.py b/cirro_api_client/v1/api/governance/delete_classification.py index dd540a3..d273556 100644 --- a/cirro_api_client/v1/api/governance/delete_classification.py +++ b/cirro_api_client/v1/api/governance/delete_classification.py @@ -12,6 +12,7 @@ def _get_kwargs( classification_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "delete", "url": "/governance/classifications/{classification_id}".format( diff --git a/cirro_api_client/v1/api/governance/delete_contact.py b/cirro_api_client/v1/api/governance/delete_contact.py index f6053ed..7d55e13 100644 --- a/cirro_api_client/v1/api/governance/delete_contact.py +++ b/cirro_api_client/v1/api/governance/delete_contact.py @@ -12,6 +12,7 @@ def _get_kwargs( contact_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "delete", "url": "/governance/contacts/{contact_id}".format( diff --git a/cirro_api_client/v1/api/governance/delete_requirement.py b/cirro_api_client/v1/api/governance/delete_requirement.py index c0c5d1a..080c1c7 100644 --- a/cirro_api_client/v1/api/governance/delete_requirement.py +++ b/cirro_api_client/v1/api/governance/delete_requirement.py @@ -12,6 +12,7 @@ def _get_kwargs( requirement_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "delete", "url": "/governance/requirements/{requirement_id}".format( diff --git a/cirro_api_client/v1/api/governance/get_classification.py b/cirro_api_client/v1/api/governance/get_classification.py index f4d9842..2721a44 100644 --- a/cirro_api_client/v1/api/governance/get_classification.py +++ b/cirro_api_client/v1/api/governance/get_classification.py @@ -13,6 +13,7 @@ def _get_kwargs( classification_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/governance/classifications/{classification_id}".format( diff --git a/cirro_api_client/v1/api/governance/get_classifications.py b/cirro_api_client/v1/api/governance/get_classifications.py index cb6639b..35bb1e3 100644 --- a/cirro_api_client/v1/api/governance/get_classifications.py +++ b/cirro_api_client/v1/api/governance/get_classifications.py @@ -10,6 +10,7 @@ def _get_kwargs() -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/governance/classifications", diff --git a/cirro_api_client/v1/api/governance/get_contact.py b/cirro_api_client/v1/api/governance/get_contact.py index 42055a2..7bcaee9 100644 --- a/cirro_api_client/v1/api/governance/get_contact.py +++ b/cirro_api_client/v1/api/governance/get_contact.py @@ -13,6 +13,7 @@ def _get_kwargs( contact_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/governance/contacts/{contact_id}".format( diff --git a/cirro_api_client/v1/api/governance/get_contacts.py b/cirro_api_client/v1/api/governance/get_contacts.py index 0a7c6a0..26e0f58 100644 --- a/cirro_api_client/v1/api/governance/get_contacts.py +++ b/cirro_api_client/v1/api/governance/get_contacts.py @@ -10,6 +10,7 @@ def _get_kwargs() -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/governance/contacts", diff --git a/cirro_api_client/v1/api/governance/get_requirement.py b/cirro_api_client/v1/api/governance/get_requirement.py index 4262186..5ae8fdb 100644 --- a/cirro_api_client/v1/api/governance/get_requirement.py +++ b/cirro_api_client/v1/api/governance/get_requirement.py @@ -13,6 +13,7 @@ def _get_kwargs( requirement_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/governance/requirements/{requirement_id}".format( diff --git a/cirro_api_client/v1/api/governance/get_requirements.py b/cirro_api_client/v1/api/governance/get_requirements.py index b520036..32e6cba 100644 --- a/cirro_api_client/v1/api/governance/get_requirements.py +++ b/cirro_api_client/v1/api/governance/get_requirements.py @@ -13,6 +13,7 @@ def _get_kwargs( *, project_id: str | Unset = UNSET, ) -> dict[str, Any]: + params: dict[str, Any] = {} params["projectId"] = project_id diff --git a/cirro_api_client/v1/api/governance/get_requirements_by_project.py b/cirro_api_client/v1/api/governance/get_requirements_by_project.py index 2a42144..cc4d45f 100644 --- a/cirro_api_client/v1/api/governance/get_requirements_by_project.py +++ b/cirro_api_client/v1/api/governance/get_requirements_by_project.py @@ -15,6 +15,7 @@ def _get_kwargs( *, username: str | Unset = UNSET, ) -> dict[str, Any]: + params: dict[str, Any] = {} params["username"] = username diff --git a/cirro_api_client/v1/api/metadata/get_dataset_samples.py b/cirro_api_client/v1/api/metadata/get_dataset_samples.py index b073f88..72f1f63 100644 --- a/cirro_api_client/v1/api/metadata/get_dataset_samples.py +++ b/cirro_api_client/v1/api/metadata/get_dataset_samples.py @@ -14,6 +14,7 @@ def _get_kwargs( project_id: str, dataset_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/datasets/{dataset_id}/samples".format( diff --git a/cirro_api_client/v1/api/metadata/get_project_samples.py b/cirro_api_client/v1/api/metadata/get_project_samples.py index 3d79ffc..e12f0e1 100644 --- a/cirro_api_client/v1/api/metadata/get_project_samples.py +++ b/cirro_api_client/v1/api/metadata/get_project_samples.py @@ -16,6 +16,7 @@ def _get_kwargs( limit: int | Unset = 5000, next_token: str | Unset = UNSET, ) -> dict[str, Any]: + params: dict[str, Any] = {} params["limit"] = limit diff --git a/cirro_api_client/v1/api/metadata/get_project_schema.py b/cirro_api_client/v1/api/metadata/get_project_schema.py index 314e619..f5ce970 100644 --- a/cirro_api_client/v1/api/metadata/get_project_schema.py +++ b/cirro_api_client/v1/api/metadata/get_project_schema.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/schema".format( diff --git a/cirro_api_client/v1/api/metadata/get_sample_by_id.py b/cirro_api_client/v1/api/metadata/get_sample_by_id.py index 9838915..e950170 100644 --- a/cirro_api_client/v1/api/metadata/get_sample_by_id.py +++ b/cirro_api_client/v1/api/metadata/get_sample_by_id.py @@ -14,6 +14,7 @@ def _get_kwargs( project_id: str, sample_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/samples/{sample_id}".format( diff --git a/cirro_api_client/v1/api/metrics/get_all_metrics.py b/cirro_api_client/v1/api/metrics/get_all_metrics.py index 982f4c5..f1d6659 100644 --- a/cirro_api_client/v1/api/metrics/get_all_metrics.py +++ b/cirro_api_client/v1/api/metrics/get_all_metrics.py @@ -10,6 +10,7 @@ def _get_kwargs() -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/metrics", diff --git a/cirro_api_client/v1/api/metrics/get_project_metrics.py b/cirro_api_client/v1/api/metrics/get_project_metrics.py index 30de0a4..e5a4926 100644 --- a/cirro_api_client/v1/api/metrics/get_project_metrics.py +++ b/cirro_api_client/v1/api/metrics/get_project_metrics.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/metrics".format( diff --git a/cirro_api_client/v1/api/processes/archive_custom_process.py b/cirro_api_client/v1/api/processes/archive_custom_process.py index f0b8fad..7d29a0f 100644 --- a/cirro_api_client/v1/api/processes/archive_custom_process.py +++ b/cirro_api_client/v1/api/processes/archive_custom_process.py @@ -12,6 +12,7 @@ def _get_kwargs( process_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "delete", "url": "/processes/{process_id}".format( diff --git a/cirro_api_client/v1/api/processes/get_latest_process_revision.py b/cirro_api_client/v1/api/processes/get_latest_process_revision.py new file mode 100644 index 0000000..8d2e997 --- /dev/null +++ b/cirro_api_client/v1/api/processes/get_latest_process_revision.py @@ -0,0 +1,187 @@ +from http import HTTPStatus +from typing import Any +from urllib.parse import quote + +import httpx + +from ... import errors +from ...client import Client +from ...models.error_message import ErrorMessage +from ...models.portal_error_response import PortalErrorResponse +from ...models.process_revision_dto import ProcessRevisionDto +from ...types import Response + + +def _get_kwargs( + process_id: str, +) -> dict[str, Any]: + + _kwargs: dict[str, Any] = { + "method": "get", + "url": "/processes/{process_id}/revisions:latest".format( + process_id=quote(str(process_id), safe=""), + ), + } + + return _kwargs + + +def _parse_response( + *, client: Client, response: httpx.Response +) -> ErrorMessage | PortalErrorResponse | ProcessRevisionDto | None: + if response.status_code == 200: + response_200 = ProcessRevisionDto.from_dict(response.json()) + + return response_200 + + if response.status_code == 400: + response_400 = PortalErrorResponse.from_dict(response.json()) + + return response_400 + + if response.status_code == 401: + response_401 = ErrorMessage.from_dict(response.json()) + + return response_401 + + errors.handle_error_response(response, client.raise_on_unexpected_status) + + +def _build_response( + *, client: Client, response: httpx.Response +) -> Response[ErrorMessage | PortalErrorResponse | ProcessRevisionDto]: + return Response( + status_code=HTTPStatus(response.status_code), + content=response.content, + headers=response.headers, + parsed=_parse_response(client=client, response=response), + ) + + +def sync_detailed( + process_id: str, + *, + client: Client, +) -> Response[ErrorMessage | PortalErrorResponse | ProcessRevisionDto]: + """Fetch the latest configuration revision for a process + + Returns the highest-numbered revision entry for the given process. Returns 404 for processes without + configuration in tenant storage. + + Args: + process_id (str): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[ErrorMessage | PortalErrorResponse | ProcessRevisionDto] + """ + + kwargs = _get_kwargs( + process_id=process_id, + ) + + response = client.get_httpx_client().request( + auth=client.get_auth(), + **kwargs, + ) + + return _build_response(client=client, response=response) + + +def sync( + process_id: str, + *, + client: Client, +) -> ErrorMessage | PortalErrorResponse | ProcessRevisionDto | None: + """Fetch the latest configuration revision for a process + + Returns the highest-numbered revision entry for the given process. Returns 404 for processes without + configuration in tenant storage. + + Args: + process_id (str): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + ErrorMessage | PortalErrorResponse | ProcessRevisionDto + """ + + try: + return sync_detailed( + process_id=process_id, + client=client, + ).parsed + except errors.NotFoundException: + return None + + +async def asyncio_detailed( + process_id: str, + *, + client: Client, +) -> Response[ErrorMessage | PortalErrorResponse | ProcessRevisionDto]: + """Fetch the latest configuration revision for a process + + Returns the highest-numbered revision entry for the given process. Returns 404 for processes without + configuration in tenant storage. + + Args: + process_id (str): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[ErrorMessage | PortalErrorResponse | ProcessRevisionDto] + """ + + kwargs = _get_kwargs( + process_id=process_id, + ) + + response = await client.get_async_httpx_client().request(auth=client.get_auth(), **kwargs) + + return _build_response(client=client, response=response) + + +async def asyncio( + process_id: str, + *, + client: Client, +) -> ErrorMessage | PortalErrorResponse | ProcessRevisionDto | None: + """Fetch the latest configuration revision for a process + + Returns the highest-numbered revision entry for the given process. Returns 404 for processes without + configuration in tenant storage. + + Args: + process_id (str): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + ErrorMessage | PortalErrorResponse | ProcessRevisionDto + """ + + try: + return ( + await asyncio_detailed( + process_id=process_id, + client=client, + ) + ).parsed + except errors.NotFoundException: + return None diff --git a/cirro_api_client/v1/api/processes/get_process.py b/cirro_api_client/v1/api/processes/get_process.py index 650964c..28c97f8 100644 --- a/cirro_api_client/v1/api/processes/get_process.py +++ b/cirro_api_client/v1/api/processes/get_process.py @@ -13,6 +13,7 @@ def _get_kwargs( process_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/processes/{process_id}".format( diff --git a/cirro_api_client/v1/api/processes/get_process_documentation.py b/cirro_api_client/v1/api/processes/get_process_documentation.py index f4ed429..40b9ee0 100644 --- a/cirro_api_client/v1/api/processes/get_process_documentation.py +++ b/cirro_api_client/v1/api/processes/get_process_documentation.py @@ -13,6 +13,7 @@ def _get_kwargs( process_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/processes/{process_id}/documentation".format( diff --git a/cirro_api_client/v1/api/processes/get_process_parameters.py b/cirro_api_client/v1/api/processes/get_process_parameters.py index 996ee9e..50c0901 100644 --- a/cirro_api_client/v1/api/processes/get_process_parameters.py +++ b/cirro_api_client/v1/api/processes/get_process_parameters.py @@ -13,6 +13,7 @@ def _get_kwargs( process_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/processes/{process_id}/parameters".format( diff --git a/cirro_api_client/v1/api/processes/get_process_resource.py b/cirro_api_client/v1/api/processes/get_process_resource.py new file mode 100644 index 0000000..01499e4 --- /dev/null +++ b/cirro_api_client/v1/api/processes/get_process_resource.py @@ -0,0 +1,202 @@ +from http import HTTPStatus +from typing import Any +from urllib.parse import quote + +import httpx + +from ... import errors +from ...client import Client +from ...models.error_message import ErrorMessage +from ...models.portal_error_response import PortalErrorResponse +from ...models.process_resource import ProcessResource +from ...models.process_resource_content_dto import ProcessResourceContentDto +from ...types import Response + + +def _get_kwargs( + process_id: str, + type_: ProcessResource, +) -> dict[str, Any]: + + _kwargs: dict[str, Any] = { + "method": "get", + "url": "/processes/{process_id}/resources/{type_}".format( + process_id=quote(str(process_id), safe=""), + type_=quote(str(type_), safe=""), + ), + } + + return _kwargs + + +def _parse_response( + *, client: Client, response: httpx.Response +) -> ErrorMessage | PortalErrorResponse | ProcessResourceContentDto | None: + if response.status_code == 200: + response_200 = ProcessResourceContentDto.from_dict(response.json()) + + return response_200 + + if response.status_code == 400: + response_400 = PortalErrorResponse.from_dict(response.json()) + + return response_400 + + if response.status_code == 401: + response_401 = ErrorMessage.from_dict(response.json()) + + return response_401 + + errors.handle_error_response(response, client.raise_on_unexpected_status) + + +def _build_response( + *, client: Client, response: httpx.Response +) -> Response[ErrorMessage | PortalErrorResponse | ProcessResourceContentDto]: + return Response( + status_code=HTTPStatus(response.status_code), + content=response.content, + headers=response.headers, + parsed=_parse_response(client=client, response=response), + ) + + +def sync_detailed( + process_id: str, + type_: ProcessResource, + *, + client: Client, +) -> Response[ErrorMessage | PortalErrorResponse | ProcessResourceContentDto]: + """Fetch the stored content of one pipeline configuration resource at the latest revision + + Returns the resource content wrapped in a JSON envelope carrying the source revision number and the + content sha256 digest. The same digest is reflected in the response ETag header. + + Args: + process_id (str): + type_ (ProcessResource): Resource type for this saved file. Example: FORM. + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[ErrorMessage | PortalErrorResponse | ProcessResourceContentDto] + """ + + kwargs = _get_kwargs( + process_id=process_id, + type_=type_, + ) + + response = client.get_httpx_client().request( + auth=client.get_auth(), + **kwargs, + ) + + return _build_response(client=client, response=response) + + +def sync( + process_id: str, + type_: ProcessResource, + *, + client: Client, +) -> ErrorMessage | PortalErrorResponse | ProcessResourceContentDto | None: + """Fetch the stored content of one pipeline configuration resource at the latest revision + + Returns the resource content wrapped in a JSON envelope carrying the source revision number and the + content sha256 digest. The same digest is reflected in the response ETag header. + + Args: + process_id (str): + type_ (ProcessResource): Resource type for this saved file. Example: FORM. + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + ErrorMessage | PortalErrorResponse | ProcessResourceContentDto + """ + + try: + return sync_detailed( + process_id=process_id, + type_=type_, + client=client, + ).parsed + except errors.NotFoundException: + return None + + +async def asyncio_detailed( + process_id: str, + type_: ProcessResource, + *, + client: Client, +) -> Response[ErrorMessage | PortalErrorResponse | ProcessResourceContentDto]: + """Fetch the stored content of one pipeline configuration resource at the latest revision + + Returns the resource content wrapped in a JSON envelope carrying the source revision number and the + content sha256 digest. The same digest is reflected in the response ETag header. + + Args: + process_id (str): + type_ (ProcessResource): Resource type for this saved file. Example: FORM. + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[ErrorMessage | PortalErrorResponse | ProcessResourceContentDto] + """ + + kwargs = _get_kwargs( + process_id=process_id, + type_=type_, + ) + + response = await client.get_async_httpx_client().request(auth=client.get_auth(), **kwargs) + + return _build_response(client=client, response=response) + + +async def asyncio( + process_id: str, + type_: ProcessResource, + *, + client: Client, +) -> ErrorMessage | PortalErrorResponse | ProcessResourceContentDto | None: + """Fetch the stored content of one pipeline configuration resource at the latest revision + + Returns the resource content wrapped in a JSON envelope carrying the source revision number and the + content sha256 digest. The same digest is reflected in the response ETag header. + + Args: + process_id (str): + type_ (ProcessResource): Resource type for this saved file. Example: FORM. + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + ErrorMessage | PortalErrorResponse | ProcessResourceContentDto + """ + + try: + return ( + await asyncio_detailed( + process_id=process_id, + type_=type_, + client=client, + ) + ).parsed + except errors.NotFoundException: + return None diff --git a/cirro_api_client/v1/api/processes/get_process_revision.py b/cirro_api_client/v1/api/processes/get_process_revision.py new file mode 100644 index 0000000..979e316 --- /dev/null +++ b/cirro_api_client/v1/api/processes/get_process_revision.py @@ -0,0 +1,197 @@ +from http import HTTPStatus +from typing import Any +from urllib.parse import quote + +import httpx + +from ... import errors +from ...client import Client +from ...models.error_message import ErrorMessage +from ...models.portal_error_response import PortalErrorResponse +from ...models.process_revision_dto import ProcessRevisionDto +from ...types import Response + + +def _get_kwargs( + process_id: str, + revision_num: int, +) -> dict[str, Any]: + + _kwargs: dict[str, Any] = { + "method": "get", + "url": "/processes/{process_id}/revisions/{revision_num}".format( + process_id=quote(str(process_id), safe=""), + revision_num=quote(str(revision_num), safe=""), + ), + } + + return _kwargs + + +def _parse_response( + *, client: Client, response: httpx.Response +) -> ErrorMessage | PortalErrorResponse | ProcessRevisionDto | None: + if response.status_code == 200: + response_200 = ProcessRevisionDto.from_dict(response.json()) + + return response_200 + + if response.status_code == 400: + response_400 = PortalErrorResponse.from_dict(response.json()) + + return response_400 + + if response.status_code == 401: + response_401 = ErrorMessage.from_dict(response.json()) + + return response_401 + + errors.handle_error_response(response, client.raise_on_unexpected_status) + + +def _build_response( + *, client: Client, response: httpx.Response +) -> Response[ErrorMessage | PortalErrorResponse | ProcessRevisionDto]: + return Response( + status_code=HTTPStatus(response.status_code), + content=response.content, + headers=response.headers, + parsed=_parse_response(client=client, response=response), + ) + + +def sync_detailed( + process_id: str, + revision_num: int, + *, + client: Client, +) -> Response[ErrorMessage | PortalErrorResponse | ProcessRevisionDto]: + """Fetch a single configuration revision entry + + Returns the full revision entry (files map + provenance) for the named revision number. + + Args: + process_id (str): + revision_num (int): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[ErrorMessage | PortalErrorResponse | ProcessRevisionDto] + """ + + kwargs = _get_kwargs( + process_id=process_id, + revision_num=revision_num, + ) + + response = client.get_httpx_client().request( + auth=client.get_auth(), + **kwargs, + ) + + return _build_response(client=client, response=response) + + +def sync( + process_id: str, + revision_num: int, + *, + client: Client, +) -> ErrorMessage | PortalErrorResponse | ProcessRevisionDto | None: + """Fetch a single configuration revision entry + + Returns the full revision entry (files map + provenance) for the named revision number. + + Args: + process_id (str): + revision_num (int): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + ErrorMessage | PortalErrorResponse | ProcessRevisionDto + """ + + try: + return sync_detailed( + process_id=process_id, + revision_num=revision_num, + client=client, + ).parsed + except errors.NotFoundException: + return None + + +async def asyncio_detailed( + process_id: str, + revision_num: int, + *, + client: Client, +) -> Response[ErrorMessage | PortalErrorResponse | ProcessRevisionDto]: + """Fetch a single configuration revision entry + + Returns the full revision entry (files map + provenance) for the named revision number. + + Args: + process_id (str): + revision_num (int): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[ErrorMessage | PortalErrorResponse | ProcessRevisionDto] + """ + + kwargs = _get_kwargs( + process_id=process_id, + revision_num=revision_num, + ) + + response = await client.get_async_httpx_client().request(auth=client.get_auth(), **kwargs) + + return _build_response(client=client, response=response) + + +async def asyncio( + process_id: str, + revision_num: int, + *, + client: Client, +) -> ErrorMessage | PortalErrorResponse | ProcessRevisionDto | None: + """Fetch a single configuration revision entry + + Returns the full revision entry (files map + provenance) for the named revision number. + + Args: + process_id (str): + revision_num (int): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + ErrorMessage | PortalErrorResponse | ProcessRevisionDto + """ + + try: + return ( + await asyncio_detailed( + process_id=process_id, + revision_num=revision_num, + client=client, + ) + ).parsed + except errors.NotFoundException: + return None diff --git a/cirro_api_client/v1/api/processes/get_processes.py b/cirro_api_client/v1/api/processes/get_processes.py index c4cf3c0..9c801fa 100644 --- a/cirro_api_client/v1/api/processes/get_processes.py +++ b/cirro_api_client/v1/api/processes/get_processes.py @@ -13,6 +13,7 @@ def _get_kwargs( *, include_archived: bool | Unset = False, ) -> dict[str, Any]: + params: dict[str, Any] = {} params["includeArchived"] = include_archived diff --git a/cirro_api_client/v1/api/processes/list_process_revisions.py b/cirro_api_client/v1/api/processes/list_process_revisions.py new file mode 100644 index 0000000..0ec0013 --- /dev/null +++ b/cirro_api_client/v1/api/processes/list_process_revisions.py @@ -0,0 +1,223 @@ +from http import HTTPStatus +from typing import Any +from urllib.parse import quote + +import httpx + +from ... import errors +from ...client import Client +from ...models.error_message import ErrorMessage +from ...models.paginated_response_process_revision_dto import PaginatedResponseProcessRevisionDto +from ...models.portal_error_response import PortalErrorResponse +from ...types import UNSET, Response, Unset + + +def _get_kwargs( + process_id: str, + *, + limit: int | Unset = 20, + next_token: str | Unset = UNSET, +) -> dict[str, Any]: + + params: dict[str, Any] = {} + + params["limit"] = limit + + params["nextToken"] = next_token + + params = {k: v for k, v in params.items() if v is not UNSET and v is not None} + + _kwargs: dict[str, Any] = { + "method": "get", + "url": "/processes/{process_id}/revisions".format( + process_id=quote(str(process_id), safe=""), + ), + "params": params, + } + + return _kwargs + + +def _parse_response( + *, client: Client, response: httpx.Response +) -> ErrorMessage | PaginatedResponseProcessRevisionDto | PortalErrorResponse | None: + if response.status_code == 200: + response_200 = PaginatedResponseProcessRevisionDto.from_dict(response.json()) + + return response_200 + + if response.status_code == 400: + response_400 = PortalErrorResponse.from_dict(response.json()) + + return response_400 + + if response.status_code == 401: + response_401 = ErrorMessage.from_dict(response.json()) + + return response_401 + + errors.handle_error_response(response, client.raise_on_unexpected_status) + + +def _build_response( + *, client: Client, response: httpx.Response +) -> Response[ErrorMessage | PaginatedResponseProcessRevisionDto | PortalErrorResponse]: + return Response( + status_code=HTTPStatus(response.status_code), + content=response.content, + headers=response.headers, + parsed=_parse_response(client=client, response=response), + ) + + +def sync_detailed( + process_id: str, + *, + client: Client, + limit: int | Unset = 20, + next_token: str | Unset = UNSET, +) -> Response[ErrorMessage | PaginatedResponseProcessRevisionDto | PortalErrorResponse]: + """List configuration revisions for a process that are in storage + + Paginated, newest-first by default. Returns 404 for processes without configuration in tenant + storage + + Args: + process_id (str): + limit (int | Unset): Default: 20. + next_token (str | Unset): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[ErrorMessage | PaginatedResponseProcessRevisionDto | PortalErrorResponse] + """ + + kwargs = _get_kwargs( + process_id=process_id, + limit=limit, + next_token=next_token, + ) + + response = client.get_httpx_client().request( + auth=client.get_auth(), + **kwargs, + ) + + return _build_response(client=client, response=response) + + +def sync( + process_id: str, + *, + client: Client, + limit: int | Unset = 20, + next_token: str | Unset = UNSET, +) -> ErrorMessage | PaginatedResponseProcessRevisionDto | PortalErrorResponse | None: + """List configuration revisions for a process that are in storage + + Paginated, newest-first by default. Returns 404 for processes without configuration in tenant + storage + + Args: + process_id (str): + limit (int | Unset): Default: 20. + next_token (str | Unset): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + ErrorMessage | PaginatedResponseProcessRevisionDto | PortalErrorResponse + """ + + try: + return sync_detailed( + process_id=process_id, + client=client, + limit=limit, + next_token=next_token, + ).parsed + except errors.NotFoundException: + return None + + +async def asyncio_detailed( + process_id: str, + *, + client: Client, + limit: int | Unset = 20, + next_token: str | Unset = UNSET, +) -> Response[ErrorMessage | PaginatedResponseProcessRevisionDto | PortalErrorResponse]: + """List configuration revisions for a process that are in storage + + Paginated, newest-first by default. Returns 404 for processes without configuration in tenant + storage + + Args: + process_id (str): + limit (int | Unset): Default: 20. + next_token (str | Unset): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[ErrorMessage | PaginatedResponseProcessRevisionDto | PortalErrorResponse] + """ + + kwargs = _get_kwargs( + process_id=process_id, + limit=limit, + next_token=next_token, + ) + + response = await client.get_async_httpx_client().request(auth=client.get_auth(), **kwargs) + + return _build_response(client=client, response=response) + + +async def asyncio( + process_id: str, + *, + client: Client, + limit: int | Unset = 20, + next_token: str | Unset = UNSET, +) -> ErrorMessage | PaginatedResponseProcessRevisionDto | PortalErrorResponse | None: + """List configuration revisions for a process that are in storage + + Paginated, newest-first by default. Returns 404 for processes without configuration in tenant + storage + + Args: + process_id (str): + limit (int | Unset): Default: 20. + next_token (str | Unset): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + ErrorMessage | PaginatedResponseProcessRevisionDto | PortalErrorResponse + """ + + try: + return ( + await asyncio_detailed( + process_id=process_id, + client=client, + limit=limit, + next_token=next_token, + ) + ).parsed + except errors.NotFoundException: + return None diff --git a/cirro_api_client/v1/api/processes/save_process_revision.py b/cirro_api_client/v1/api/processes/save_process_revision.py new file mode 100644 index 0000000..85e4c34 --- /dev/null +++ b/cirro_api_client/v1/api/processes/save_process_revision.py @@ -0,0 +1,223 @@ +from http import HTTPStatus +from typing import Any +from urllib.parse import quote + +import httpx + +from ... import errors +from ...client import Client +from ...models.error_message import ErrorMessage +from ...models.portal_error_response import PortalErrorResponse +from ...models.process_revision_save_request import ProcessRevisionSaveRequest +from ...models.process_revision_save_response import ProcessRevisionSaveResponse +from ...types import UNSET, Response, Unset + + +def _get_kwargs( + process_id: str, + *, + body: ProcessRevisionSaveRequest, + if_match: None | str | Unset = UNSET, +) -> dict[str, Any]: + headers: dict[str, Any] = {} + if not isinstance(if_match, Unset): + headers["If-Match"] = if_match + + _kwargs: dict[str, Any] = { + "method": "put", + "url": "/processes/{process_id}/revisions".format( + process_id=quote(str(process_id), safe=""), + ), + } + + _kwargs["json"] = body.to_dict() + + headers["Content-Type"] = "application/json" + + _kwargs["headers"] = headers + return _kwargs + + +def _parse_response( + *, client: Client, response: httpx.Response +) -> ErrorMessage | PortalErrorResponse | ProcessRevisionSaveResponse | None: + if response.status_code == 200: + response_200 = ProcessRevisionSaveResponse.from_dict(response.json()) + + return response_200 + + if response.status_code == 400: + response_400 = PortalErrorResponse.from_dict(response.json()) + + return response_400 + + if response.status_code == 401: + response_401 = ErrorMessage.from_dict(response.json()) + + return response_401 + + errors.handle_error_response(response, client.raise_on_unexpected_status) + + +def _build_response( + *, client: Client, response: httpx.Response +) -> Response[ErrorMessage | PortalErrorResponse | ProcessRevisionSaveResponse]: + return Response( + status_code=HTTPStatus(response.status_code), + content=response.content, + headers=response.headers, + parsed=_parse_response(client=client, response=response), + ) + + +def sync_detailed( + process_id: str, + *, + client: Client, + body: ProcessRevisionSaveRequest, + if_match: None | str | Unset = UNSET, +) -> Response[ErrorMessage | PortalErrorResponse | ProcessRevisionSaveResponse]: + """Save one or more process configuration resources to storage as a new revision + + Writes the given configuration files to tenant storage and appends a single revision entry that + records every resource type touched by this save. + + Args: + process_id (str): + if_match (None | str | Unset): + body (ProcessRevisionSaveRequest): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[ErrorMessage | PortalErrorResponse | ProcessRevisionSaveResponse] + """ + + kwargs = _get_kwargs( + process_id=process_id, + body=body, + if_match=if_match, + ) + + response = client.get_httpx_client().request( + auth=client.get_auth(), + **kwargs, + ) + + return _build_response(client=client, response=response) + + +def sync( + process_id: str, + *, + client: Client, + body: ProcessRevisionSaveRequest, + if_match: None | str | Unset = UNSET, +) -> ErrorMessage | PortalErrorResponse | ProcessRevisionSaveResponse | None: + """Save one or more process configuration resources to storage as a new revision + + Writes the given configuration files to tenant storage and appends a single revision entry that + records every resource type touched by this save. + + Args: + process_id (str): + if_match (None | str | Unset): + body (ProcessRevisionSaveRequest): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + ErrorMessage | PortalErrorResponse | ProcessRevisionSaveResponse + """ + + try: + return sync_detailed( + process_id=process_id, + client=client, + body=body, + if_match=if_match, + ).parsed + except errors.NotFoundException: + return None + + +async def asyncio_detailed( + process_id: str, + *, + client: Client, + body: ProcessRevisionSaveRequest, + if_match: None | str | Unset = UNSET, +) -> Response[ErrorMessage | PortalErrorResponse | ProcessRevisionSaveResponse]: + """Save one or more process configuration resources to storage as a new revision + + Writes the given configuration files to tenant storage and appends a single revision entry that + records every resource type touched by this save. + + Args: + process_id (str): + if_match (None | str | Unset): + body (ProcessRevisionSaveRequest): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[ErrorMessage | PortalErrorResponse | ProcessRevisionSaveResponse] + """ + + kwargs = _get_kwargs( + process_id=process_id, + body=body, + if_match=if_match, + ) + + response = await client.get_async_httpx_client().request(auth=client.get_auth(), **kwargs) + + return _build_response(client=client, response=response) + + +async def asyncio( + process_id: str, + *, + client: Client, + body: ProcessRevisionSaveRequest, + if_match: None | str | Unset = UNSET, +) -> ErrorMessage | PortalErrorResponse | ProcessRevisionSaveResponse | None: + """Save one or more process configuration resources to storage as a new revision + + Writes the given configuration files to tenant storage and appends a single revision entry that + records every resource type touched by this save. + + Args: + process_id (str): + if_match (None | str | Unset): + body (ProcessRevisionSaveRequest): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + ErrorMessage | PortalErrorResponse | ProcessRevisionSaveResponse + """ + + try: + return ( + await asyncio_detailed( + process_id=process_id, + client=client, + body=body, + if_match=if_match, + ) + ).parsed + except errors.NotFoundException: + return None diff --git a/cirro_api_client/v1/api/processes/sync_custom_process.py b/cirro_api_client/v1/api/processes/sync_custom_process.py index c9a8f4b..7fa7f68 100644 --- a/cirro_api_client/v1/api/processes/sync_custom_process.py +++ b/cirro_api_client/v1/api/processes/sync_custom_process.py @@ -13,6 +13,7 @@ def _get_kwargs( process_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "put", "url": "/processes/{process_id}:sync".format( diff --git a/cirro_api_client/v1/api/projects/archive_project.py b/cirro_api_client/v1/api/projects/archive_project.py index 245e109..d786da0 100644 --- a/cirro_api_client/v1/api/projects/archive_project.py +++ b/cirro_api_client/v1/api/projects/archive_project.py @@ -12,6 +12,7 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "put", "url": "/projects/{project_id}:archive".format( diff --git a/cirro_api_client/v1/api/projects/deny_access_request.py b/cirro_api_client/v1/api/projects/deny_access_request.py index 6ceccd2..e845a97 100644 --- a/cirro_api_client/v1/api/projects/deny_access_request.py +++ b/cirro_api_client/v1/api/projects/deny_access_request.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, access_request_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "put", "url": "/projects/{project_id}/access-requests/{access_request_id}:deny".format( diff --git a/cirro_api_client/v1/api/projects/get_access_requests.py b/cirro_api_client/v1/api/projects/get_access_requests.py index 75e77d9..9908e35 100644 --- a/cirro_api_client/v1/api/projects/get_access_requests.py +++ b/cirro_api_client/v1/api/projects/get_access_requests.py @@ -15,6 +15,7 @@ def _get_kwargs( *, include_closed: bool | Unset = False, ) -> dict[str, Any]: + params: dict[str, Any] = {} params["includeClosed"] = include_closed diff --git a/cirro_api_client/v1/api/projects/get_discoverable_projects.py b/cirro_api_client/v1/api/projects/get_discoverable_projects.py index 5a4b1a2..fcf8d59 100644 --- a/cirro_api_client/v1/api/projects/get_discoverable_projects.py +++ b/cirro_api_client/v1/api/projects/get_discoverable_projects.py @@ -10,6 +10,7 @@ def _get_kwargs() -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/discover", diff --git a/cirro_api_client/v1/api/projects/get_project.py b/cirro_api_client/v1/api/projects/get_project.py index fbf135b..c6c1e6c 100644 --- a/cirro_api_client/v1/api/projects/get_project.py +++ b/cirro_api_client/v1/api/projects/get_project.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}".format( diff --git a/cirro_api_client/v1/api/projects/get_project_create_options.py b/cirro_api_client/v1/api/projects/get_project_create_options.py index 40450f7..7c8ccb0 100644 --- a/cirro_api_client/v1/api/projects/get_project_create_options.py +++ b/cirro_api_client/v1/api/projects/get_project_create_options.py @@ -10,6 +10,7 @@ def _get_kwargs() -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/options", diff --git a/cirro_api_client/v1/api/projects/get_project_users.py b/cirro_api_client/v1/api/projects/get_project_users.py index 428a08f..12916dd 100644 --- a/cirro_api_client/v1/api/projects/get_project_users.py +++ b/cirro_api_client/v1/api/projects/get_project_users.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/permissions".format( diff --git a/cirro_api_client/v1/api/projects/get_projects.py b/cirro_api_client/v1/api/projects/get_projects.py index 86cecdc..ebd28c0 100644 --- a/cirro_api_client/v1/api/projects/get_projects.py +++ b/cirro_api_client/v1/api/projects/get_projects.py @@ -10,6 +10,7 @@ def _get_kwargs() -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects", diff --git a/cirro_api_client/v1/api/projects/get_quotas.py b/cirro_api_client/v1/api/projects/get_quotas.py index 3700a97..df595b3 100644 --- a/cirro_api_client/v1/api/projects/get_quotas.py +++ b/cirro_api_client/v1/api/projects/get_quotas.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/cloud-quotas".format( diff --git a/cirro_api_client/v1/api/projects/redeploy_project.py b/cirro_api_client/v1/api/projects/redeploy_project.py index 8244a7d..eac2526 100644 --- a/cirro_api_client/v1/api/projects/redeploy_project.py +++ b/cirro_api_client/v1/api/projects/redeploy_project.py @@ -12,6 +12,7 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "put", "url": "/projects/{project_id}:re-deploy".format( diff --git a/cirro_api_client/v1/api/projects/unarchive_project.py b/cirro_api_client/v1/api/projects/unarchive_project.py index 2d2b891..6757ed0 100644 --- a/cirro_api_client/v1/api/projects/unarchive_project.py +++ b/cirro_api_client/v1/api/projects/unarchive_project.py @@ -12,6 +12,7 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "put", "url": "/projects/{project_id}:unarchive".format( diff --git a/cirro_api_client/v1/api/references/delete_project_reference.py b/cirro_api_client/v1/api/references/delete_project_reference.py index 9f72b4e..cd362a3 100644 --- a/cirro_api_client/v1/api/references/delete_project_reference.py +++ b/cirro_api_client/v1/api/references/delete_project_reference.py @@ -12,6 +12,7 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "delete", "url": "/projects/{project_id}/references".format( diff --git a/cirro_api_client/v1/api/references/get_reference_types.py b/cirro_api_client/v1/api/references/get_reference_types.py index 811b676..c330fd3 100644 --- a/cirro_api_client/v1/api/references/get_reference_types.py +++ b/cirro_api_client/v1/api/references/get_reference_types.py @@ -10,6 +10,7 @@ def _get_kwargs() -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/reference-types", diff --git a/cirro_api_client/v1/api/references/get_references.py b/cirro_api_client/v1/api/references/get_references.py index 460ca44..cbc67f3 100644 --- a/cirro_api_client/v1/api/references/get_references.py +++ b/cirro_api_client/v1/api/references/get_references.py @@ -10,6 +10,7 @@ def _get_kwargs() -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/references", diff --git a/cirro_api_client/v1/api/references/get_references_for_project.py b/cirro_api_client/v1/api/references/get_references_for_project.py index 3875dac..dd3133f 100644 --- a/cirro_api_client/v1/api/references/get_references_for_project.py +++ b/cirro_api_client/v1/api/references/get_references_for_project.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/references".format( diff --git a/cirro_api_client/v1/api/references/refresh_project_references.py b/cirro_api_client/v1/api/references/refresh_project_references.py index 451d6d7..43c4c04 100644 --- a/cirro_api_client/v1/api/references/refresh_project_references.py +++ b/cirro_api_client/v1/api/references/refresh_project_references.py @@ -12,6 +12,7 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "put", "url": "/projects/{project_id}/references".format( diff --git a/cirro_api_client/v1/api/shared_filesystems/delete_shared_filesystem.py b/cirro_api_client/v1/api/shared_filesystems/delete_shared_filesystem.py index 0863b98..84af61e 100644 --- a/cirro_api_client/v1/api/shared_filesystems/delete_shared_filesystem.py +++ b/cirro_api_client/v1/api/shared_filesystems/delete_shared_filesystem.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, filesystem_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "delete", "url": "/projects/{project_id}/shared-filesystems/{filesystem_id}".format( diff --git a/cirro_api_client/v1/api/shared_filesystems/get_shared_filesystem.py b/cirro_api_client/v1/api/shared_filesystems/get_shared_filesystem.py index be1c5b0..5f476b4 100644 --- a/cirro_api_client/v1/api/shared_filesystems/get_shared_filesystem.py +++ b/cirro_api_client/v1/api/shared_filesystems/get_shared_filesystem.py @@ -14,6 +14,7 @@ def _get_kwargs( project_id: str, filesystem_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/shared-filesystems/{filesystem_id}".format( diff --git a/cirro_api_client/v1/api/shared_filesystems/list_shared_filesystems.py b/cirro_api_client/v1/api/shared_filesystems/list_shared_filesystems.py index 0fa90a2..e7b44e4 100644 --- a/cirro_api_client/v1/api/shared_filesystems/list_shared_filesystems.py +++ b/cirro_api_client/v1/api/shared_filesystems/list_shared_filesystems.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/shared-filesystems".format( diff --git a/cirro_api_client/v1/api/sharing/delete_share.py b/cirro_api_client/v1/api/sharing/delete_share.py index 8cf3a7f..6e91983 100644 --- a/cirro_api_client/v1/api/sharing/delete_share.py +++ b/cirro_api_client/v1/api/sharing/delete_share.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, share_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "delete", "url": "/projects/{project_id}/shares/{share_id}".format( diff --git a/cirro_api_client/v1/api/sharing/get_discoverable_shares.py b/cirro_api_client/v1/api/sharing/get_discoverable_shares.py index aa2e58e..0176832 100644 --- a/cirro_api_client/v1/api/sharing/get_discoverable_shares.py +++ b/cirro_api_client/v1/api/sharing/get_discoverable_shares.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/shares/discover".format( diff --git a/cirro_api_client/v1/api/sharing/get_share.py b/cirro_api_client/v1/api/sharing/get_share.py index 50f0c51..7b4c057 100644 --- a/cirro_api_client/v1/api/sharing/get_share.py +++ b/cirro_api_client/v1/api/sharing/get_share.py @@ -14,6 +14,7 @@ def _get_kwargs( project_id: str, share_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/shares/{share_id}".format( diff --git a/cirro_api_client/v1/api/sharing/get_share_usages.py b/cirro_api_client/v1/api/sharing/get_share_usages.py new file mode 100644 index 0000000..4cab2ca --- /dev/null +++ b/cirro_api_client/v1/api/sharing/get_share_usages.py @@ -0,0 +1,217 @@ +from http import HTTPStatus +from typing import Any +from urllib.parse import quote + +import httpx + +from ... import errors +from ...client import Client +from ...models.paginated_response_share_usage import PaginatedResponseShareUsage +from ...types import UNSET, Response, Unset + + +def _get_kwargs( + project_id: str, + share_id: str, + *, + limit: int | Unset = 5000, + next_token: str | Unset = UNSET, +) -> dict[str, Any]: + + params: dict[str, Any] = {} + + params["limit"] = limit + + params["nextToken"] = next_token + + params = {k: v for k, v in params.items() if v is not UNSET and v is not None} + + _kwargs: dict[str, Any] = { + "method": "get", + "url": "/projects/{project_id}/shares/{share_id}/usages".format( + project_id=quote(str(project_id), safe=""), + share_id=quote(str(share_id), safe=""), + ), + "params": params, + } + + return _kwargs + + +def _parse_response(*, client: Client, response: httpx.Response) -> PaginatedResponseShareUsage | None: + if response.status_code == 200: + response_200 = PaginatedResponseShareUsage.from_dict(response.json()) + + return response_200 + + errors.handle_error_response(response, client.raise_on_unexpected_status) + + +def _build_response(*, client: Client, response: httpx.Response) -> Response[PaginatedResponseShareUsage]: + return Response( + status_code=HTTPStatus(response.status_code), + content=response.content, + headers=response.headers, + parsed=_parse_response(client=client, response=response), + ) + + +def sync_detailed( + project_id: str, + share_id: str, + *, + client: Client, + limit: int | Unset = 5000, + next_token: str | Unset = UNSET, +) -> Response[PaginatedResponseShareUsage]: + """Get share usages + + Get usage records for a share published by this project + + Args: + project_id (str): + share_id (str): + limit (int | Unset): Default: 5000. + next_token (str | Unset): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[PaginatedResponseShareUsage] + """ + + kwargs = _get_kwargs( + project_id=project_id, + share_id=share_id, + limit=limit, + next_token=next_token, + ) + + response = client.get_httpx_client().request( + auth=client.get_auth(), + **kwargs, + ) + + return _build_response(client=client, response=response) + + +def sync( + project_id: str, + share_id: str, + *, + client: Client, + limit: int | Unset = 5000, + next_token: str | Unset = UNSET, +) -> PaginatedResponseShareUsage | None: + """Get share usages + + Get usage records for a share published by this project + + Args: + project_id (str): + share_id (str): + limit (int | Unset): Default: 5000. + next_token (str | Unset): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + PaginatedResponseShareUsage + """ + + try: + return sync_detailed( + project_id=project_id, + share_id=share_id, + client=client, + limit=limit, + next_token=next_token, + ).parsed + except errors.NotFoundException: + return None + + +async def asyncio_detailed( + project_id: str, + share_id: str, + *, + client: Client, + limit: int | Unset = 5000, + next_token: str | Unset = UNSET, +) -> Response[PaginatedResponseShareUsage]: + """Get share usages + + Get usage records for a share published by this project + + Args: + project_id (str): + share_id (str): + limit (int | Unset): Default: 5000. + next_token (str | Unset): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[PaginatedResponseShareUsage] + """ + + kwargs = _get_kwargs( + project_id=project_id, + share_id=share_id, + limit=limit, + next_token=next_token, + ) + + response = await client.get_async_httpx_client().request(auth=client.get_auth(), **kwargs) + + return _build_response(client=client, response=response) + + +async def asyncio( + project_id: str, + share_id: str, + *, + client: Client, + limit: int | Unset = 5000, + next_token: str | Unset = UNSET, +) -> PaginatedResponseShareUsage | None: + """Get share usages + + Get usage records for a share published by this project + + Args: + project_id (str): + share_id (str): + limit (int | Unset): Default: 5000. + next_token (str | Unset): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + PaginatedResponseShareUsage + """ + + try: + return ( + await asyncio_detailed( + project_id=project_id, + share_id=share_id, + client=client, + limit=limit, + next_token=next_token, + ) + ).parsed + except errors.NotFoundException: + return None diff --git a/cirro_api_client/v1/api/sharing/get_shared_datasets.py b/cirro_api_client/v1/api/sharing/get_shared_datasets.py index 3fb20a7..6aa151f 100644 --- a/cirro_api_client/v1/api/sharing/get_shared_datasets.py +++ b/cirro_api_client/v1/api/sharing/get_shared_datasets.py @@ -17,6 +17,7 @@ def _get_kwargs( limit: int | Unset = 5000, next_token: str | Unset = UNSET, ) -> dict[str, Any]: + params: dict[str, Any] = {} params["limit"] = limit diff --git a/cirro_api_client/v1/api/sharing/get_shares.py b/cirro_api_client/v1/api/sharing/get_shares.py index ced3e1e..f5ab089 100644 --- a/cirro_api_client/v1/api/sharing/get_shares.py +++ b/cirro_api_client/v1/api/sharing/get_shares.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/shares".format( diff --git a/cirro_api_client/v1/api/sharing/revoke_share_usage.py b/cirro_api_client/v1/api/sharing/revoke_share_usage.py new file mode 100644 index 0000000..ec161cb --- /dev/null +++ b/cirro_api_client/v1/api/sharing/revoke_share_usage.py @@ -0,0 +1,122 @@ +from http import HTTPStatus +from typing import Any +from urllib.parse import quote + +import httpx + +from ... import errors +from ...client import Client +from ...types import Response + + +def _get_kwargs( + project_id: str, + share_id: str, + usage_id: str, +) -> dict[str, Any]: + + _kwargs: dict[str, Any] = { + "method": "delete", + "url": "/projects/{project_id}/shares/{share_id}/usages/{usage_id}".format( + project_id=quote(str(project_id), safe=""), + share_id=quote(str(share_id), safe=""), + usage_id=quote(str(usage_id), safe=""), + ), + } + + return _kwargs + + +def _parse_response(*, client: Client, response: httpx.Response) -> Any | None: + if response.status_code == 200: + return None + + errors.handle_error_response(response, client.raise_on_unexpected_status) + + +def _build_response(*, client: Client, response: httpx.Response) -> Response[Any]: + return Response( + status_code=HTTPStatus(response.status_code), + content=response.content, + headers=response.headers, + parsed=_parse_response(client=client, response=response), + ) + + +def sync_detailed( + project_id: str, + share_id: str, + usage_id: str, + *, + client: Client, +) -> Response[Any]: + """Revoke share usage + + Revokes the data access grant to an item associated with this usage. Because an access point is + shared across all usages from the same consuming item to the same originating project, all related + usages are closed together. + + Args: + project_id (str): + share_id (str): + usage_id (str): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[Any] + """ + + kwargs = _get_kwargs( + project_id=project_id, + share_id=share_id, + usage_id=usage_id, + ) + + response = client.get_httpx_client().request( + auth=client.get_auth(), + **kwargs, + ) + + return _build_response(client=client, response=response) + + +async def asyncio_detailed( + project_id: str, + share_id: str, + usage_id: str, + *, + client: Client, +) -> Response[Any]: + """Revoke share usage + + Revokes the data access grant to an item associated with this usage. Because an access point is + shared across all usages from the same consuming item to the same originating project, all related + usages are closed together. + + Args: + project_id (str): + share_id (str): + usage_id (str): + client (Client): instance of the API client + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[Any] + """ + + kwargs = _get_kwargs( + project_id=project_id, + share_id=share_id, + usage_id=usage_id, + ) + + response = await client.get_async_httpx_client().request(auth=client.get_auth(), **kwargs) + + return _build_response(client=client, response=response) diff --git a/cirro_api_client/v1/api/sharing/subscribe_share.py b/cirro_api_client/v1/api/sharing/subscribe_share.py index f1dcfe0..c97c8ff 100644 --- a/cirro_api_client/v1/api/sharing/subscribe_share.py +++ b/cirro_api_client/v1/api/sharing/subscribe_share.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, share_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "put", "url": "/projects/{project_id}/shares/{share_id}:subscribe".format( diff --git a/cirro_api_client/v1/api/sharing/unsubscribe_share.py b/cirro_api_client/v1/api/sharing/unsubscribe_share.py index f6eebf3..c59479e 100644 --- a/cirro_api_client/v1/api/sharing/unsubscribe_share.py +++ b/cirro_api_client/v1/api/sharing/unsubscribe_share.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, share_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "put", "url": "/projects/{project_id}/shares/{share_id}:unsubscribe".format( diff --git a/cirro_api_client/v1/api/sheets/delete_sheet.py b/cirro_api_client/v1/api/sheets/delete_sheet.py index 33a7b9e..41a5eb1 100644 --- a/cirro_api_client/v1/api/sheets/delete_sheet.py +++ b/cirro_api_client/v1/api/sheets/delete_sheet.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, sheet_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "delete", "url": "/projects/{project_id}/sheets/{sheet_id}".format( diff --git a/cirro_api_client/v1/api/sheets/get_jobs.py b/cirro_api_client/v1/api/sheets/get_jobs.py index b6f1438..9dc7a66 100644 --- a/cirro_api_client/v1/api/sheets/get_jobs.py +++ b/cirro_api_client/v1/api/sheets/get_jobs.py @@ -14,6 +14,7 @@ def _get_kwargs( project_id: str, sheet_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/sheets/{sheet_id}/jobs".format( diff --git a/cirro_api_client/v1/api/sheets/get_sheet.py b/cirro_api_client/v1/api/sheets/get_sheet.py index a1c31d8..ed06047 100644 --- a/cirro_api_client/v1/api/sheets/get_sheet.py +++ b/cirro_api_client/v1/api/sheets/get_sheet.py @@ -14,6 +14,7 @@ def _get_kwargs( project_id: str, sheet_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/sheets/{sheet_id}".format( diff --git a/cirro_api_client/v1/api/sheets/get_sheet_data.py b/cirro_api_client/v1/api/sheets/get_sheet_data.py index 281e9e2..bef572f 100644 --- a/cirro_api_client/v1/api/sheets/get_sheet_data.py +++ b/cirro_api_client/v1/api/sheets/get_sheet_data.py @@ -20,6 +20,7 @@ def _get_kwargs( order_by: None | str | Unset = UNSET, order: SqlSortOrder | Unset = UNSET, ) -> dict[str, Any]: + params: dict[str, Any] = {} params["limit"] = limit diff --git a/cirro_api_client/v1/api/sheets/get_sheets.py b/cirro_api_client/v1/api/sheets/get_sheets.py index bcbf89c..42162b0 100644 --- a/cirro_api_client/v1/api/sheets/get_sheets.py +++ b/cirro_api_client/v1/api/sheets/get_sheets.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/sheets".format( diff --git a/cirro_api_client/v1/api/sheets/refresh_view.py b/cirro_api_client/v1/api/sheets/refresh_view.py index 0d4fef7..8a4eaa6 100644 --- a/cirro_api_client/v1/api/sheets/refresh_view.py +++ b/cirro_api_client/v1/api/sheets/refresh_view.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, sheet_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "put", "url": "/projects/{project_id}/sheets/{sheet_id}:refresh".format( diff --git a/cirro_api_client/v1/api/system/get_service_connections.py b/cirro_api_client/v1/api/system/get_service_connections.py index c12c60a..fc13176 100644 --- a/cirro_api_client/v1/api/system/get_service_connections.py +++ b/cirro_api_client/v1/api/system/get_service_connections.py @@ -10,6 +10,7 @@ def _get_kwargs() -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/service-connections", diff --git a/cirro_api_client/v1/api/system/info.py b/cirro_api_client/v1/api/system/info.py index ae512ac..49982c7 100644 --- a/cirro_api_client/v1/api/system/info.py +++ b/cirro_api_client/v1/api/system/info.py @@ -10,6 +10,7 @@ def _get_kwargs() -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/info", diff --git a/cirro_api_client/v1/api/users/get_user.py b/cirro_api_client/v1/api/users/get_user.py index 23bd584..95a24a4 100644 --- a/cirro_api_client/v1/api/users/get_user.py +++ b/cirro_api_client/v1/api/users/get_user.py @@ -13,6 +13,7 @@ def _get_kwargs( username: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/users/{username}".format( diff --git a/cirro_api_client/v1/api/users/list_users.py b/cirro_api_client/v1/api/users/list_users.py index 6e5b4df..ba22bb2 100644 --- a/cirro_api_client/v1/api/users/list_users.py +++ b/cirro_api_client/v1/api/users/list_users.py @@ -15,6 +15,7 @@ def _get_kwargs( limit: int | Unset = 5000, next_token: str | Unset = UNSET, ) -> dict[str, Any]: + params: dict[str, Any] = {} json_username: None | str | Unset diff --git a/cirro_api_client/v1/api/users/sign_out_user.py b/cirro_api_client/v1/api/users/sign_out_user.py index 147edfb..78f838c 100644 --- a/cirro_api_client/v1/api/users/sign_out_user.py +++ b/cirro_api_client/v1/api/users/sign_out_user.py @@ -12,6 +12,7 @@ def _get_kwargs( username: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "put", "url": "/users/{username}:signOut".format( diff --git a/cirro_api_client/v1/api/workspaces/connect_workspace.py b/cirro_api_client/v1/api/workspaces/connect_workspace.py index c8ebed2..76c9297 100644 --- a/cirro_api_client/v1/api/workspaces/connect_workspace.py +++ b/cirro_api_client/v1/api/workspaces/connect_workspace.py @@ -14,6 +14,7 @@ def _get_kwargs( project_id: str, workspace_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "post", "url": "/projects/{project_id}/workspaces/{workspace_id}:connect".format( diff --git a/cirro_api_client/v1/api/workspaces/delete_workspace.py b/cirro_api_client/v1/api/workspaces/delete_workspace.py index 1ae68d0..c1c2f6c 100644 --- a/cirro_api_client/v1/api/workspaces/delete_workspace.py +++ b/cirro_api_client/v1/api/workspaces/delete_workspace.py @@ -15,6 +15,7 @@ def _get_kwargs( *, force: bool | Unset = False, ) -> dict[str, Any]: + params: dict[str, Any] = {} params["force"] = force diff --git a/cirro_api_client/v1/api/workspaces/disconnect_workspace.py b/cirro_api_client/v1/api/workspaces/disconnect_workspace.py index f9335f5..1bb6067 100644 --- a/cirro_api_client/v1/api/workspaces/disconnect_workspace.py +++ b/cirro_api_client/v1/api/workspaces/disconnect_workspace.py @@ -15,6 +15,7 @@ def _get_kwargs( *, session_id: str, ) -> dict[str, Any]: + params: dict[str, Any] = {} params["sessionId"] = session_id diff --git a/cirro_api_client/v1/api/workspaces/get_workspace.py b/cirro_api_client/v1/api/workspaces/get_workspace.py index 30e7df7..4ac3e96 100644 --- a/cirro_api_client/v1/api/workspaces/get_workspace.py +++ b/cirro_api_client/v1/api/workspaces/get_workspace.py @@ -14,6 +14,7 @@ def _get_kwargs( project_id: str, workspace_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/workspaces/{workspace_id}".format( diff --git a/cirro_api_client/v1/api/workspaces/get_workspace_environments.py b/cirro_api_client/v1/api/workspaces/get_workspace_environments.py index c9f3083..0bbb935 100644 --- a/cirro_api_client/v1/api/workspaces/get_workspace_environments.py +++ b/cirro_api_client/v1/api/workspaces/get_workspace_environments.py @@ -10,6 +10,7 @@ def _get_kwargs() -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/workspace-environments", diff --git a/cirro_api_client/v1/api/workspaces/get_workspace_logs.py b/cirro_api_client/v1/api/workspaces/get_workspace_logs.py index f9677e0..4af80e0 100644 --- a/cirro_api_client/v1/api/workspaces/get_workspace_logs.py +++ b/cirro_api_client/v1/api/workspaces/get_workspace_logs.py @@ -14,6 +14,7 @@ def _get_kwargs( project_id: str, workspace_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/workspaces/{workspace_id}/logs".format( diff --git a/cirro_api_client/v1/api/workspaces/get_workspaces.py b/cirro_api_client/v1/api/workspaces/get_workspaces.py index 24aa5ec..ba2377e 100644 --- a/cirro_api_client/v1/api/workspaces/get_workspaces.py +++ b/cirro_api_client/v1/api/workspaces/get_workspaces.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/workspaces".format( diff --git a/cirro_api_client/v1/api/workspaces/start_workspace.py b/cirro_api_client/v1/api/workspaces/start_workspace.py index 9d452d1..f67fad0 100644 --- a/cirro_api_client/v1/api/workspaces/start_workspace.py +++ b/cirro_api_client/v1/api/workspaces/start_workspace.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, workspace_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "post", "url": "/projects/{project_id}/workspaces/{workspace_id}:start".format( diff --git a/cirro_api_client/v1/api/workspaces/stop_workspace.py b/cirro_api_client/v1/api/workspaces/stop_workspace.py index 5641e8b..3d30c47 100644 --- a/cirro_api_client/v1/api/workspaces/stop_workspace.py +++ b/cirro_api_client/v1/api/workspaces/stop_workspace.py @@ -13,6 +13,7 @@ def _get_kwargs( project_id: str, workspace_id: str, ) -> dict[str, Any]: + _kwargs: dict[str, Any] = { "method": "post", "url": "/projects/{project_id}/workspaces/{workspace_id}:stop".format( diff --git a/cirro_api_client/v1/models/__init__.py b/cirro_api_client/v1/models/__init__.py index 309268d..4c41d3c 100644 --- a/cirro_api_client/v1/models/__init__.py +++ b/cirro_api_client/v1/models/__init__.py @@ -44,6 +44,7 @@ from .compute_environment_configuration_input import ComputeEnvironmentConfigurationInput from .compute_environment_configuration_input_properties import ComputeEnvironmentConfigurationInputProperties from .compute_environment_configuration_properties import ComputeEnvironmentConfigurationProperties +from .config_source import ConfigSource from .contact import Contact from .contact_input import ContactInput from .cost_response import CostResponse @@ -54,11 +55,11 @@ from .custom_process_input import CustomProcessInput from .customer_type import CustomerType from .dashboard import Dashboard -from .dashboard_dashboard_data import DashboardDashboardData -from .dashboard_info import DashboardInfo -from .dashboard_request import DashboardRequest -from .dashboard_request_dashboard_data import DashboardRequestDashboardData -from .dashboard_request_info import DashboardRequestInfo +from .dashboard_criteria import DashboardCriteria +from .dashboard_dashboard_data_type_0 import DashboardDashboardDataType0 +from .dashboard_input import DashboardInput +from .dashboard_input_criteria import DashboardInputCriteria +from .dashboard_input_dashboard_data import DashboardInputDashboardData from .data_file import DataFile from .data_file_metadata import DataFileMetadata from .dataset import Dataset @@ -139,7 +140,9 @@ from .paginated_response_dataset_list_dto import PaginatedResponseDatasetListDto from .paginated_response_discussion import PaginatedResponseDiscussion from .paginated_response_message import PaginatedResponseMessage +from .paginated_response_process_revision_dto import PaginatedResponseProcessRevisionDto from .paginated_response_sample_dto import PaginatedResponseSampleDto +from .paginated_response_share_usage import PaginatedResponseShareUsage from .paginated_response_user_dto import PaginatedResponseUserDto from .permission import Permission from .pipeline_code import PipelineCode @@ -150,6 +153,13 @@ from .process import Process from .process_detail import ProcessDetail from .process_documentation import ProcessDocumentation +from .process_resource import ProcessResource +from .process_resource_content_dto import ProcessResourceContentDto +from .process_revision_dto import ProcessRevisionDto +from .process_revision_dto_files import ProcessRevisionDtoFiles +from .process_revision_save_file import ProcessRevisionSaveFile +from .process_revision_save_request import ProcessRevisionSaveRequest +from .process_revision_save_response import ProcessRevisionSaveResponse from .project import Project from .project_access_request import ProjectAccessRequest from .project_access_type import ProjectAccessType @@ -190,6 +200,7 @@ from .sample_request import SampleRequest from .sample_request_metadata import SampleRequestMetadata from .sample_sheets import SampleSheets +from .saved_process_revision import SavedProcessRevision from .semantic_column_type import SemanticColumnType from .service_connection import ServiceConnection from .set_user_project_role_request import SetUserProjectRoleRequest @@ -198,6 +209,7 @@ from .share_detail import ShareDetail from .share_input import ShareInput from .share_type import ShareType +from .share_usage import ShareUsage from .shared_filesystem import SharedFilesystem from .shared_filesystem_input import SharedFilesystemInput from .sharing_type import SharingType @@ -298,6 +310,7 @@ "ComputeEnvironmentConfigurationInput", "ComputeEnvironmentConfigurationInputProperties", "ComputeEnvironmentConfigurationProperties", + "ConfigSource", "Contact", "ContactInput", "CostResponse", @@ -308,11 +321,11 @@ "CustomPipelineSettings", "CustomProcessInput", "Dashboard", - "DashboardDashboardData", - "DashboardInfo", - "DashboardRequest", - "DashboardRequestDashboardData", - "DashboardRequestInfo", + "DashboardCriteria", + "DashboardDashboardDataType0", + "DashboardInput", + "DashboardInputCriteria", + "DashboardInputDashboardData", "DataFile", "DataFileMetadata", "Dataset", @@ -393,7 +406,9 @@ "PaginatedResponseDatasetListDto", "PaginatedResponseDiscussion", "PaginatedResponseMessage", + "PaginatedResponseProcessRevisionDto", "PaginatedResponseSampleDto", + "PaginatedResponseShareUsage", "PaginatedResponseUserDto", "Permission", "PipelineCode", @@ -404,6 +419,13 @@ "Process", "ProcessDetail", "ProcessDocumentation", + "ProcessResource", + "ProcessResourceContentDto", + "ProcessRevisionDto", + "ProcessRevisionDtoFiles", + "ProcessRevisionSaveFile", + "ProcessRevisionSaveRequest", + "ProcessRevisionSaveResponse", "Project", "ProjectAccessRequest", "ProjectAccessType", @@ -444,6 +466,7 @@ "SampleRequest", "SampleRequestMetadata", "SampleSheets", + "SavedProcessRevision", "SemanticColumnType", "ServiceConnection", "SetUserProjectRoleRequest", @@ -454,6 +477,7 @@ "SharedFilesystemInput", "ShareInput", "ShareType", + "ShareUsage", "SharingType", "Sheet", "SheetCreationMode", diff --git a/cirro_api_client/v1/models/agent_detail.py b/cirro_api_client/v1/models/agent_detail.py index 8b8df18..31b7da5 100644 --- a/cirro_api_client/v1/models/agent_detail.py +++ b/cirro_api_client/v1/models/agent_detail.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..models.agent_status import AgentStatus from ..types import UNSET, Unset @@ -130,9 +129,9 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: created_by = d.pop("createdBy") - created_at = isoparse(d.pop("createdAt")) + created_at = datetime.datetime.fromisoformat(d.pop("createdAt")) - updated_at = isoparse(d.pop("updatedAt")) + updated_at = datetime.datetime.fromisoformat(d.pop("updatedAt")) def _parse_registration(data: object) -> AgentRegistration | None | Unset: if data is None: diff --git a/cirro_api_client/v1/models/agent_detail_environment_configuration.py b/cirro_api_client/v1/models/agent_detail_environment_configuration.py index 753221f..652a61e 100644 --- a/cirro_api_client/v1/models/agent_detail_environment_configuration.py +++ b/cirro_api_client/v1/models/agent_detail_environment_configuration.py @@ -16,6 +16,7 @@ class AgentDetailEnvironmentConfiguration: additional_properties: dict[str, str] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/agent_detail_tags.py b/cirro_api_client/v1/models/agent_detail_tags.py index 86dac65..34ced34 100644 --- a/cirro_api_client/v1/models/agent_detail_tags.py +++ b/cirro_api_client/v1/models/agent_detail_tags.py @@ -16,6 +16,7 @@ class AgentDetailTags: additional_properties: dict[str, str] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/agent_input_configuration_options_schema.py b/cirro_api_client/v1/models/agent_input_configuration_options_schema.py index b831e3c..f9661c2 100644 --- a/cirro_api_client/v1/models/agent_input_configuration_options_schema.py +++ b/cirro_api_client/v1/models/agent_input_configuration_options_schema.py @@ -16,6 +16,7 @@ class AgentInputConfigurationOptionsSchema: additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/agent_input_environment_configuration.py b/cirro_api_client/v1/models/agent_input_environment_configuration.py index dbe18db..7f32dc0 100644 --- a/cirro_api_client/v1/models/agent_input_environment_configuration.py +++ b/cirro_api_client/v1/models/agent_input_environment_configuration.py @@ -21,6 +21,7 @@ class AgentInputEnvironmentConfiguration: additional_properties: dict[str, str] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/agent_input_tags.py b/cirro_api_client/v1/models/agent_input_tags.py index cd36871..777eb32 100644 --- a/cirro_api_client/v1/models/agent_input_tags.py +++ b/cirro_api_client/v1/models/agent_input_tags.py @@ -21,6 +21,7 @@ class AgentInputTags: additional_properties: dict[str, str] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/agent_tags.py b/cirro_api_client/v1/models/agent_tags.py index 02a4ea9..a53ebc0 100644 --- a/cirro_api_client/v1/models/agent_tags.py +++ b/cirro_api_client/v1/models/agent_tags.py @@ -16,6 +16,7 @@ class AgentTags: additional_properties: dict[str, str] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/app_registration.py b/cirro_api_client/v1/models/app_registration.py index 030d7c5..5167b8e 100644 --- a/cirro_api_client/v1/models/app_registration.py +++ b/cirro_api_client/v1/models/app_registration.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..models.app_client_type import AppClientType from ..models.app_publisher_type import AppPublisherType @@ -170,9 +169,9 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: created_from_template = d.pop("createdFromTemplate") - updated_at = isoparse(d.pop("updatedAt")) + updated_at = datetime.datetime.fromisoformat(d.pop("updatedAt")) - created_at = isoparse(d.pop("createdAt")) + created_at = datetime.datetime.fromisoformat(d.pop("createdAt")) created_by = d.pop("createdBy") @@ -184,7 +183,7 @@ def _parse_secret_expires_at(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - secret_expires_at_type_0 = isoparse(data) + secret_expires_at_type_0 = datetime.datetime.fromisoformat(data) return secret_expires_at_type_0 except (TypeError, ValueError, AttributeError, KeyError): diff --git a/cirro_api_client/v1/models/app_registration_detail.py b/cirro_api_client/v1/models/app_registration_detail.py index dac9ac7..0daa19c 100644 --- a/cirro_api_client/v1/models/app_registration_detail.py +++ b/cirro_api_client/v1/models/app_registration_detail.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..models.app_client_type import AppClientType from ..models.app_publisher_type import AppPublisherType @@ -287,9 +286,9 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: created_from_template = d.pop("createdFromTemplate") - created_at = isoparse(d.pop("createdAt")) + created_at = datetime.datetime.fromisoformat(d.pop("createdAt")) - updated_at = isoparse(d.pop("updatedAt")) + updated_at = datetime.datetime.fromisoformat(d.pop("updatedAt")) created_by = d.pop("createdBy") @@ -335,7 +334,7 @@ def _parse_secret_expires_at(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - secret_expires_at_type_0 = isoparse(data) + secret_expires_at_type_0 = datetime.datetime.fromisoformat(data) return secret_expires_at_type_0 except (TypeError, ValueError, AttributeError, KeyError): @@ -352,7 +351,7 @@ def _parse_secret_generated_at(data: object) -> datetime.datetime | None | Unset try: if not isinstance(data, str): raise TypeError() - secret_generated_at_type_0 = isoparse(data) + secret_generated_at_type_0 = datetime.datetime.fromisoformat(data) return secret_generated_at_type_0 except (TypeError, ValueError, AttributeError, KeyError): @@ -387,7 +386,7 @@ def _parse_approved_at(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - approved_at_type_0 = isoparse(data) + approved_at_type_0 = datetime.datetime.fromisoformat(data) return approved_at_type_0 except (TypeError, ValueError, AttributeError, KeyError): diff --git a/cirro_api_client/v1/models/app_registration_input.py b/cirro_api_client/v1/models/app_registration_input.py index 444e831..3f14005 100644 --- a/cirro_api_client/v1/models/app_registration_input.py +++ b/cirro_api_client/v1/models/app_registration_input.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..models.app_client_type import AppClientType from ..models.permission import Permission @@ -214,7 +213,7 @@ def _parse_secret_expires_at(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - secret_expires_at_type_0 = isoparse(data) + secret_expires_at_type_0 = datetime.datetime.fromisoformat(data) return secret_expires_at_type_0 except (TypeError, ValueError, AttributeError, KeyError): diff --git a/cirro_api_client/v1/models/app_registration_secret_response.py b/cirro_api_client/v1/models/app_registration_secret_response.py index bb17a4c..b5c337d 100644 --- a/cirro_api_client/v1/models/app_registration_secret_response.py +++ b/cirro_api_client/v1/models/app_registration_secret_response.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse T = TypeVar("T", bound="AppRegistrationSecretResponse") @@ -58,7 +57,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: client_secret = d.pop("clientSecret") - secret_generated_at = isoparse(d.pop("secretGeneratedAt")) + secret_generated_at = datetime.datetime.fromisoformat(d.pop("secretGeneratedAt")) app_registration_secret_response = cls( id=id, diff --git a/cirro_api_client/v1/models/audit_event.py b/cirro_api_client/v1/models/audit_event.py index e411bc1..a40769c 100644 --- a/cirro_api_client/v1/models/audit_event.py +++ b/cirro_api_client/v1/models/audit_event.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..types import UNSET, Unset @@ -171,7 +170,7 @@ def _parse_changes(data: object) -> AuditEventChanges | None | Unset: if isinstance(_created_at, Unset): created_at = UNSET else: - created_at = isoparse(_created_at) + created_at = datetime.datetime.fromisoformat(_created_at) audit_event = cls( id=id, diff --git a/cirro_api_client/v1/models/audit_event_changes.py b/cirro_api_client/v1/models/audit_event_changes.py index 3586e5d..967a063 100644 --- a/cirro_api_client/v1/models/audit_event_changes.py +++ b/cirro_api_client/v1/models/audit_event_changes.py @@ -21,6 +21,7 @@ class AuditEventChanges: additional_properties: dict[str, str] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/audit_event_event_detail.py b/cirro_api_client/v1/models/audit_event_event_detail.py index 49c9697..6f31f96 100644 --- a/cirro_api_client/v1/models/audit_event_event_detail.py +++ b/cirro_api_client/v1/models/audit_event_event_detail.py @@ -16,6 +16,7 @@ class AuditEventEventDetail: additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/aws_credentials.py b/cirro_api_client/v1/models/aws_credentials.py index 2935367..8a3d9f5 100644 --- a/cirro_api_client/v1/models/aws_credentials.py +++ b/cirro_api_client/v1/models/aws_credentials.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..types import UNSET, Unset @@ -66,7 +65,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: session_token = d.pop("sessionToken") - expiration = isoparse(d.pop("expiration")) + expiration = datetime.datetime.fromisoformat(d.pop("expiration")) region = d.pop("region", UNSET) diff --git a/cirro_api_client/v1/models/calculate_pipeline_cost_request.py b/cirro_api_client/v1/models/calculate_pipeline_cost_request.py index 7d794f8..b09050b 100644 --- a/cirro_api_client/v1/models/calculate_pipeline_cost_request.py +++ b/cirro_api_client/v1/models/calculate_pipeline_cost_request.py @@ -16,6 +16,7 @@ class CalculatePipelineCostRequest: additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/column_def.py b/cirro_api_client/v1/models/column_def.py index 573f81f..60d447d 100644 --- a/cirro_api_client/v1/models/column_def.py +++ b/cirro_api_client/v1/models/column_def.py @@ -22,7 +22,7 @@ class ColumnDef: """ Attributes: name (str): - data_type (ColumnDataType): Column data type. + data_type (ColumnDataType): Data type for the column. id (None | str | Unset): display_name (None | str | Unset): Name displayed on UI. hidden (bool | Unset): Whether the column is hidden on the UI. Default: False. diff --git a/cirro_api_client/v1/models/compute_environment_configuration.py b/cirro_api_client/v1/models/compute_environment_configuration.py index 1e74dac..970a363 100644 --- a/cirro_api_client/v1/models/compute_environment_configuration.py +++ b/cirro_api_client/v1/models/compute_environment_configuration.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..models.environment_type import EnvironmentType from ..types import UNSET, Unset @@ -101,9 +100,9 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: d = dict(src_dict) environment_type = EnvironmentType(d.pop("environmentType")) - created_at = isoparse(d.pop("createdAt")) + created_at = datetime.datetime.fromisoformat(d.pop("createdAt")) - updated_at = isoparse(d.pop("updatedAt")) + updated_at = datetime.datetime.fromisoformat(d.pop("updatedAt")) id = d.pop("id", UNSET) diff --git a/cirro_api_client/v1/models/compute_environment_configuration_input_properties.py b/cirro_api_client/v1/models/compute_environment_configuration_input_properties.py index df149da..d9196d5 100644 --- a/cirro_api_client/v1/models/compute_environment_configuration_input_properties.py +++ b/cirro_api_client/v1/models/compute_environment_configuration_input_properties.py @@ -16,6 +16,7 @@ class ComputeEnvironmentConfigurationInputProperties: additional_properties: dict[str, str] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/compute_environment_configuration_properties.py b/cirro_api_client/v1/models/compute_environment_configuration_properties.py index e4fbe23..8d7a083 100644 --- a/cirro_api_client/v1/models/compute_environment_configuration_properties.py +++ b/cirro_api_client/v1/models/compute_environment_configuration_properties.py @@ -16,6 +16,7 @@ class ComputeEnvironmentConfigurationProperties: additional_properties: dict[str, str] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/config_source.py b/cirro_api_client/v1/models/config_source.py new file mode 100644 index 0000000..0cb07d7 --- /dev/null +++ b/cirro_api_client/v1/models/config_source.py @@ -0,0 +1,16 @@ +from enum import Enum + + +class ConfigSource(str, Enum): + EXTERNAL = "EXTERNAL" + STORAGE = "STORAGE" + WITH_PROCESS = "WITH_PROCESS" + UNKNOWN = "UNKNOWN" + """ This is a fallback value for when the value is not known, do not use this value when making requests """ + + def __str__(self) -> str: + return str(self.value) + + @classmethod + def _missing_(cls, number): + return cls(cls.UNKNOWN) diff --git a/cirro_api_client/v1/models/custom_pipeline_settings.py b/cirro_api_client/v1/models/custom_pipeline_settings.py index 8ba6ab9..89e34ed 100644 --- a/cirro_api_client/v1/models/custom_pipeline_settings.py +++ b/cirro_api_client/v1/models/custom_pipeline_settings.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..models.repository_type import RepositoryType from ..models.sync_status import SyncStatus @@ -138,7 +137,7 @@ def _parse_last_sync(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - last_sync_type_0 = isoparse(data) + last_sync_type_0 = datetime.datetime.fromisoformat(data) return last_sync_type_0 except (TypeError, ValueError, AttributeError, KeyError): diff --git a/cirro_api_client/v1/models/custom_process_input.py b/cirro_api_client/v1/models/custom_process_input.py index 099ba62..2af206d 100644 --- a/cirro_api_client/v1/models/custom_process_input.py +++ b/cirro_api_client/v1/models/custom_process_input.py @@ -6,6 +6,7 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field +from ..models.config_source import ConfigSource from ..models.executor import Executor from ..types import UNSET, Unset @@ -44,6 +45,7 @@ class CustomProcessInput: custom_settings (CustomPipelineSettings | None | Unset): file_mapping_rules (list[FileMappingRule] | None | Unset): tags (list[Tag] | None | Unset): + config_source (ConfigSource | None | Unset): """ id: str @@ -64,6 +66,7 @@ class CustomProcessInput: custom_settings: CustomPipelineSettings | None | Unset = UNSET file_mapping_rules: list[FileMappingRule] | None | Unset = UNSET tags: list[Tag] | None | Unset = UNSET + config_source: ConfigSource | None | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: @@ -150,6 +153,14 @@ def to_dict(self) -> dict[str, Any]: else: tags = self.tags + config_source: None | str | Unset + if isinstance(self.config_source, Unset): + config_source = UNSET + elif isinstance(self.config_source, ConfigSource): + config_source = self.config_source.value + else: + config_source = self.config_source + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update( @@ -185,6 +196,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["fileMappingRules"] = file_mapping_rules if tags is not UNSET: field_dict["tags"] = tags + if config_source is not UNSET: + field_dict["configSource"] = config_source return field_dict @@ -323,6 +336,23 @@ def _parse_tags(data: object) -> list[Tag] | None | Unset: tags = _parse_tags(d.pop("tags", UNSET)) + def _parse_config_source(data: object) -> ConfigSource | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + try: + if not isinstance(data, str): + raise TypeError() + config_source_type_1 = ConfigSource(data) + + return config_source_type_1 + except (TypeError, ValueError, AttributeError, KeyError): + pass + return cast(ConfigSource | None | Unset, data) + + config_source = _parse_config_source(d.pop("configSource", UNSET)) + custom_process_input = cls( id=id, name=name, @@ -342,6 +372,7 @@ def _parse_tags(data: object) -> list[Tag] | None | Unset: custom_settings=custom_settings, file_mapping_rules=file_mapping_rules, tags=tags, + config_source=config_source, ) custom_process_input.additional_properties = d diff --git a/cirro_api_client/v1/models/dashboard.py b/cirro_api_client/v1/models/dashboard.py index e54450e..18d100e 100644 --- a/cirro_api_client/v1/models/dashboard.py +++ b/cirro_api_client/v1/models/dashboard.py @@ -6,13 +6,13 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..types import UNSET, Unset if TYPE_CHECKING: - from ..models.dashboard_dashboard_data import DashboardDashboardData - from ..models.dashboard_info import DashboardInfo + from ..models.dashboard_criteria import DashboardCriteria + from ..models.dashboard_dashboard_data_type_0 import DashboardDashboardDataType0 + from ..models.tag import Tag T = TypeVar("T", bound="Dashboard") @@ -25,33 +25,41 @@ class Dashboard: id (str): name (str): description (str): - process_ids (list[str]): + tags (list[Tag]): created_by (str): created_at (datetime.datetime): updated_at (datetime.datetime): - dashboard_data (DashboardDashboardData | Unset): - info (DashboardInfo | Unset): + criteria (DashboardCriteria | Unset): + dashboard_data (DashboardDashboardDataType0 | None | Unset): Dashboard definition (not provided in list + responses) + schema_version (int | Unset): Schema version of dashboardData """ id: str name: str description: str - process_ids: list[str] + tags: list[Tag] created_by: str created_at: datetime.datetime updated_at: datetime.datetime - dashboard_data: DashboardDashboardData | Unset = UNSET - info: DashboardInfo | Unset = UNSET + criteria: DashboardCriteria | Unset = UNSET + dashboard_data: DashboardDashboardDataType0 | None | Unset = UNSET + schema_version: int | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + from ..models.dashboard_dashboard_data_type_0 import DashboardDashboardDataType0 + id = self.id name = self.name description = self.description - process_ids = self.process_ids + tags = [] + for tags_item_data in self.tags: + tags_item = tags_item_data.to_dict() + tags.append(tags_item) created_by = self.created_by @@ -59,13 +67,19 @@ def to_dict(self) -> dict[str, Any]: updated_at = self.updated_at.isoformat() - dashboard_data: dict[str, Any] | Unset = UNSET - if not isinstance(self.dashboard_data, Unset): + criteria: dict[str, Any] | Unset = UNSET + if not isinstance(self.criteria, Unset): + criteria = self.criteria.to_dict() + + dashboard_data: dict[str, Any] | None | Unset + if isinstance(self.dashboard_data, Unset): + dashboard_data = UNSET + elif isinstance(self.dashboard_data, DashboardDashboardDataType0): dashboard_data = self.dashboard_data.to_dict() + else: + dashboard_data = self.dashboard_data - info: dict[str, Any] | Unset = UNSET - if not isinstance(self.info, Unset): - info = self.info.to_dict() + schema_version = self.schema_version field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) @@ -74,23 +88,26 @@ def to_dict(self) -> dict[str, Any]: "id": id, "name": name, "description": description, - "processIds": process_ids, + "tags": tags, "createdBy": created_by, "createdAt": created_at, "updatedAt": updated_at, } ) + if criteria is not UNSET: + field_dict["criteria"] = criteria if dashboard_data is not UNSET: field_dict["dashboardData"] = dashboard_data - if info is not UNSET: - field_dict["info"] = info + if schema_version is not UNSET: + field_dict["schemaVersion"] = schema_version return field_dict @classmethod def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: - from ..models.dashboard_dashboard_data import DashboardDashboardData - from ..models.dashboard_info import DashboardInfo + from ..models.dashboard_criteria import DashboardCriteria + from ..models.dashboard_dashboard_data_type_0 import DashboardDashboardDataType0 + from ..models.tag import Tag d = dict(src_dict) id = d.pop("id") @@ -99,38 +116,56 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: description = d.pop("description") - process_ids = cast(list[str], d.pop("processIds")) + tags = [] + _tags = d.pop("tags") + for tags_item_data in _tags: + tags_item = Tag.from_dict(tags_item_data) + + tags.append(tags_item) created_by = d.pop("createdBy") - created_at = isoparse(d.pop("createdAt")) + created_at = datetime.datetime.fromisoformat(d.pop("createdAt")) - updated_at = isoparse(d.pop("updatedAt")) + updated_at = datetime.datetime.fromisoformat(d.pop("updatedAt")) - _dashboard_data = d.pop("dashboardData", UNSET) - dashboard_data: DashboardDashboardData | Unset - if isinstance(_dashboard_data, Unset): - dashboard_data = UNSET + _criteria = d.pop("criteria", UNSET) + criteria: DashboardCriteria | Unset + if isinstance(_criteria, Unset): + criteria = UNSET else: - dashboard_data = DashboardDashboardData.from_dict(_dashboard_data) + criteria = DashboardCriteria.from_dict(_criteria) - _info = d.pop("info", UNSET) - info: DashboardInfo | Unset - if isinstance(_info, Unset): - info = UNSET - else: - info = DashboardInfo.from_dict(_info) + def _parse_dashboard_data(data: object) -> DashboardDashboardDataType0 | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + try: + if not isinstance(data, dict): + raise TypeError() + dashboard_data_type_0 = DashboardDashboardDataType0.from_dict(data) + + return dashboard_data_type_0 + except (TypeError, ValueError, AttributeError, KeyError): + pass + return cast(DashboardDashboardDataType0 | None | Unset, data) + + dashboard_data = _parse_dashboard_data(d.pop("dashboardData", UNSET)) + + schema_version = d.pop("schemaVersion", UNSET) dashboard = cls( id=id, name=name, description=description, - process_ids=process_ids, + tags=tags, created_by=created_by, created_at=created_at, updated_at=updated_at, + criteria=criteria, dashboard_data=dashboard_data, - info=info, + schema_version=schema_version, ) dashboard.additional_properties = d diff --git a/cirro_api_client/v1/models/dashboard_info.py b/cirro_api_client/v1/models/dashboard_criteria.py similarity index 84% rename from cirro_api_client/v1/models/dashboard_info.py rename to cirro_api_client/v1/models/dashboard_criteria.py index 246ee58..2134f79 100644 --- a/cirro_api_client/v1/models/dashboard_info.py +++ b/cirro_api_client/v1/models/dashboard_criteria.py @@ -6,16 +6,17 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -T = TypeVar("T", bound="DashboardInfo") +T = TypeVar("T", bound="DashboardCriteria") @_attrs_define -class DashboardInfo: +class DashboardCriteria: """ """ additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) @@ -24,10 +25,10 @@ def to_dict(self) -> dict[str, Any]: @classmethod def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: d = dict(src_dict) - dashboard_info = cls() + dashboard_criteria = cls() - dashboard_info.additional_properties = d - return dashboard_info + dashboard_criteria.additional_properties = d + return dashboard_criteria @property def additional_keys(self) -> list[str]: diff --git a/cirro_api_client/v1/models/dashboard_request_dashboard_data.py b/cirro_api_client/v1/models/dashboard_dashboard_data_type_0.py similarity index 77% rename from cirro_api_client/v1/models/dashboard_request_dashboard_data.py rename to cirro_api_client/v1/models/dashboard_dashboard_data_type_0.py index 9791f1d..9395b94 100644 --- a/cirro_api_client/v1/models/dashboard_request_dashboard_data.py +++ b/cirro_api_client/v1/models/dashboard_dashboard_data_type_0.py @@ -6,16 +6,17 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -T = TypeVar("T", bound="DashboardRequestDashboardData") +T = TypeVar("T", bound="DashboardDashboardDataType0") @_attrs_define -class DashboardRequestDashboardData: - """ """ +class DashboardDashboardDataType0: + """Dashboard definition (not provided in list responses)""" additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) @@ -24,10 +25,10 @@ def to_dict(self) -> dict[str, Any]: @classmethod def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: d = dict(src_dict) - dashboard_request_dashboard_data = cls() + dashboard_dashboard_data_type_0 = cls() - dashboard_request_dashboard_data.additional_properties = d - return dashboard_request_dashboard_data + dashboard_dashboard_data_type_0.additional_properties = d + return dashboard_dashboard_data_type_0 @property def additional_keys(self) -> list[str]: diff --git a/cirro_api_client/v1/models/dashboard_input.py b/cirro_api_client/v1/models/dashboard_input.py new file mode 100644 index 0000000..64879ee --- /dev/null +++ b/cirro_api_client/v1/models/dashboard_input.py @@ -0,0 +1,119 @@ +from __future__ import annotations + +from collections.abc import Mapping +from typing import TYPE_CHECKING, Any, TypeVar + +from attrs import define as _attrs_define +from attrs import field as _attrs_field + +if TYPE_CHECKING: + from ..models.dashboard_input_criteria import DashboardInputCriteria + from ..models.dashboard_input_dashboard_data import DashboardInputDashboardData + from ..models.tag import Tag + + +T = TypeVar("T", bound="DashboardInput") + + +@_attrs_define +class DashboardInput: + """ + Attributes: + name (str): + description (str): + dashboard_data (DashboardInputDashboardData): + criteria (DashboardInputCriteria): + tags (list[Tag]): + schema_version (int): + """ + + name: str + description: str + dashboard_data: DashboardInputDashboardData + criteria: DashboardInputCriteria + tags: list[Tag] + schema_version: int + additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) + + def to_dict(self) -> dict[str, Any]: + name = self.name + + description = self.description + + dashboard_data = self.dashboard_data.to_dict() + + criteria = self.criteria.to_dict() + + tags = [] + for tags_item_data in self.tags: + tags_item = tags_item_data.to_dict() + tags.append(tags_item) + + schema_version = self.schema_version + + field_dict: dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update( + { + "name": name, + "description": description, + "dashboardData": dashboard_data, + "criteria": criteria, + "tags": tags, + "schemaVersion": schema_version, + } + ) + + return field_dict + + @classmethod + def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: + from ..models.dashboard_input_criteria import DashboardInputCriteria + from ..models.dashboard_input_dashboard_data import DashboardInputDashboardData + from ..models.tag import Tag + + d = dict(src_dict) + name = d.pop("name") + + description = d.pop("description") + + dashboard_data = DashboardInputDashboardData.from_dict(d.pop("dashboardData")) + + criteria = DashboardInputCriteria.from_dict(d.pop("criteria")) + + tags = [] + _tags = d.pop("tags") + for tags_item_data in _tags: + tags_item = Tag.from_dict(tags_item_data) + + tags.append(tags_item) + + schema_version = d.pop("schemaVersion") + + dashboard_input = cls( + name=name, + description=description, + dashboard_data=dashboard_data, + criteria=criteria, + tags=tags, + schema_version=schema_version, + ) + + dashboard_input.additional_properties = d + return dashboard_input + + @property + def additional_keys(self) -> list[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/cirro_api_client/v1/models/dashboard_dashboard_data.py b/cirro_api_client/v1/models/dashboard_input_criteria.py similarity index 83% rename from cirro_api_client/v1/models/dashboard_dashboard_data.py rename to cirro_api_client/v1/models/dashboard_input_criteria.py index 9f33b96..3a200e0 100644 --- a/cirro_api_client/v1/models/dashboard_dashboard_data.py +++ b/cirro_api_client/v1/models/dashboard_input_criteria.py @@ -6,16 +6,17 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -T = TypeVar("T", bound="DashboardDashboardData") +T = TypeVar("T", bound="DashboardInputCriteria") @_attrs_define -class DashboardDashboardData: +class DashboardInputCriteria: """ """ additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) @@ -24,10 +25,10 @@ def to_dict(self) -> dict[str, Any]: @classmethod def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: d = dict(src_dict) - dashboard_dashboard_data = cls() + dashboard_input_criteria = cls() - dashboard_dashboard_data.additional_properties = d - return dashboard_dashboard_data + dashboard_input_criteria.additional_properties = d + return dashboard_input_criteria @property def additional_keys(self) -> list[str]: diff --git a/cirro_api_client/v1/models/dashboard_request_info.py b/cirro_api_client/v1/models/dashboard_input_dashboard_data.py similarity index 81% rename from cirro_api_client/v1/models/dashboard_request_info.py rename to cirro_api_client/v1/models/dashboard_input_dashboard_data.py index 4bef924..0b12515 100644 --- a/cirro_api_client/v1/models/dashboard_request_info.py +++ b/cirro_api_client/v1/models/dashboard_input_dashboard_data.py @@ -6,16 +6,17 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -T = TypeVar("T", bound="DashboardRequestInfo") +T = TypeVar("T", bound="DashboardInputDashboardData") @_attrs_define -class DashboardRequestInfo: +class DashboardInputDashboardData: """ """ additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) @@ -24,10 +25,10 @@ def to_dict(self) -> dict[str, Any]: @classmethod def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: d = dict(src_dict) - dashboard_request_info = cls() + dashboard_input_dashboard_data = cls() - dashboard_request_info.additional_properties = d - return dashboard_request_info + dashboard_input_dashboard_data.additional_properties = d + return dashboard_input_dashboard_data @property def additional_keys(self) -> list[str]: diff --git a/cirro_api_client/v1/models/dashboard_request.py b/cirro_api_client/v1/models/dashboard_request.py deleted file mode 100644 index 48aa4f6..0000000 --- a/cirro_api_client/v1/models/dashboard_request.py +++ /dev/null @@ -1,119 +0,0 @@ -from __future__ import annotations - -from collections.abc import Mapping -from typing import TYPE_CHECKING, Any, TypeVar, cast - -from attrs import define as _attrs_define -from attrs import field as _attrs_field - -from ..types import UNSET, Unset - -if TYPE_CHECKING: - from ..models.dashboard_request_dashboard_data import DashboardRequestDashboardData - from ..models.dashboard_request_info import DashboardRequestInfo - - -T = TypeVar("T", bound="DashboardRequest") - - -@_attrs_define -class DashboardRequest: - """ - Attributes: - name (str): - description (str): - process_ids (list[str]): - dashboard_data (DashboardRequestDashboardData | Unset): - info (DashboardRequestInfo | Unset): - """ - - name: str - description: str - process_ids: list[str] - dashboard_data: DashboardRequestDashboardData | Unset = UNSET - info: DashboardRequestInfo | Unset = UNSET - additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) - - def to_dict(self) -> dict[str, Any]: - name = self.name - - description = self.description - - process_ids = self.process_ids - - dashboard_data: dict[str, Any] | Unset = UNSET - if not isinstance(self.dashboard_data, Unset): - dashboard_data = self.dashboard_data.to_dict() - - info: dict[str, Any] | Unset = UNSET - if not isinstance(self.info, Unset): - info = self.info.to_dict() - - field_dict: dict[str, Any] = {} - field_dict.update(self.additional_properties) - field_dict.update( - { - "name": name, - "description": description, - "processIds": process_ids, - } - ) - if dashboard_data is not UNSET: - field_dict["dashboardData"] = dashboard_data - if info is not UNSET: - field_dict["info"] = info - - return field_dict - - @classmethod - def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: - from ..models.dashboard_request_dashboard_data import DashboardRequestDashboardData - from ..models.dashboard_request_info import DashboardRequestInfo - - d = dict(src_dict) - name = d.pop("name") - - description = d.pop("description") - - process_ids = cast(list[str], d.pop("processIds")) - - _dashboard_data = d.pop("dashboardData", UNSET) - dashboard_data: DashboardRequestDashboardData | Unset - if isinstance(_dashboard_data, Unset): - dashboard_data = UNSET - else: - dashboard_data = DashboardRequestDashboardData.from_dict(_dashboard_data) - - _info = d.pop("info", UNSET) - info: DashboardRequestInfo | Unset - if isinstance(_info, Unset): - info = UNSET - else: - info = DashboardRequestInfo.from_dict(_info) - - dashboard_request = cls( - name=name, - description=description, - process_ids=process_ids, - dashboard_data=dashboard_data, - info=info, - ) - - dashboard_request.additional_properties = d - return dashboard_request - - @property - def additional_keys(self) -> list[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/cirro_api_client/v1/models/data_file_metadata.py b/cirro_api_client/v1/models/data_file_metadata.py index 9d20c75..11528cd 100644 --- a/cirro_api_client/v1/models/data_file_metadata.py +++ b/cirro_api_client/v1/models/data_file_metadata.py @@ -16,6 +16,7 @@ class DataFileMetadata: additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/dataset.py b/cirro_api_client/v1/models/dataset.py index a8334b4..594606a 100644 --- a/cirro_api_client/v1/models/dataset.py +++ b/cirro_api_client/v1/models/dataset.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..models.status import Status from ..types import UNSET, Unset @@ -27,7 +26,8 @@ class Dataset: project_id (str): Project ID process_id (str): Process ID source_dataset_ids (list[str]): Source dataset IDs - status (Status): + status (Status): Current state of the usage. RUNNING means access is active; DELETED means the access point has + been revoked. tags (list[Tag]): Tags created_by (str): User who created the dataset created_at (datetime.datetime): Timestamp when the dataset was created @@ -121,9 +121,9 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: created_by = d.pop("createdBy") - created_at = isoparse(d.pop("createdAt")) + created_at = datetime.datetime.fromisoformat(d.pop("createdAt")) - updated_at = isoparse(d.pop("updatedAt")) + updated_at = datetime.datetime.fromisoformat(d.pop("updatedAt")) description = d.pop("description", UNSET) diff --git a/cirro_api_client/v1/models/dataset_detail.py b/cirro_api_client/v1/models/dataset_detail.py index 87e9206..83dc6d1 100644 --- a/cirro_api_client/v1/models/dataset_detail.py +++ b/cirro_api_client/v1/models/dataset_detail.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..models.status import Status from ..types import UNSET, Unset @@ -36,7 +35,8 @@ class DatasetDetail: source_sample_ids (list[str]): source_sample_files_map (DatasetDetailSourceSampleFilesMap): Keys are sampleIds, and the lists are file paths to include. - status (Status): + status (Status): Current state of the usage. RUNNING means access is active; DELETED means the access point has + been revoked. status_message (str): tags (list[Tag]): Tags params (DatasetDetailParams): @@ -235,9 +235,9 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: created_by = d.pop("createdBy") - created_at = isoparse(d.pop("createdAt")) + created_at = datetime.datetime.fromisoformat(d.pop("createdAt")) - updated_at = isoparse(d.pop("updatedAt")) + updated_at = datetime.datetime.fromisoformat(d.pop("updatedAt")) description = d.pop("description", UNSET) diff --git a/cirro_api_client/v1/models/dataset_detail_info.py b/cirro_api_client/v1/models/dataset_detail_info.py index aeafa70..61627fc 100644 --- a/cirro_api_client/v1/models/dataset_detail_info.py +++ b/cirro_api_client/v1/models/dataset_detail_info.py @@ -16,6 +16,7 @@ class DatasetDetailInfo: additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/dataset_detail_params.py b/cirro_api_client/v1/models/dataset_detail_params.py index 5854afc..7b71cc9 100644 --- a/cirro_api_client/v1/models/dataset_detail_params.py +++ b/cirro_api_client/v1/models/dataset_detail_params.py @@ -16,6 +16,7 @@ class DatasetDetailParams: additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/dataset_detail_source_sample_files_map.py b/cirro_api_client/v1/models/dataset_detail_source_sample_files_map.py index 69dbe60..b01649b 100644 --- a/cirro_api_client/v1/models/dataset_detail_source_sample_files_map.py +++ b/cirro_api_client/v1/models/dataset_detail_source_sample_files_map.py @@ -16,6 +16,7 @@ class DatasetDetailSourceSampleFilesMap: additional_properties: dict[str, list[str]] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} for prop_name, prop in self.additional_properties.items(): field_dict[prop_name] = prop diff --git a/cirro_api_client/v1/models/discussion.py b/cirro_api_client/v1/models/discussion.py index d8b1474..491298a 100644 --- a/cirro_api_client/v1/models/discussion.py +++ b/cirro_api_client/v1/models/discussion.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..models.discussion_type import DiscussionType from ..types import UNSET, Unset @@ -112,9 +111,9 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: created_by = d.pop("createdBy") - created_at = isoparse(d.pop("createdAt")) + created_at = datetime.datetime.fromisoformat(d.pop("createdAt")) - updated_at = isoparse(d.pop("updatedAt")) + updated_at = datetime.datetime.fromisoformat(d.pop("updatedAt")) def _parse_last_message_time(data: object) -> datetime.datetime | None | Unset: if data is None: @@ -124,7 +123,7 @@ def _parse_last_message_time(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - last_message_time_type_0 = isoparse(data) + last_message_time_type_0 = datetime.datetime.fromisoformat(data) return last_message_time_type_0 except (TypeError, ValueError, AttributeError, KeyError): diff --git a/cirro_api_client/v1/models/feature_flags.py b/cirro_api_client/v1/models/feature_flags.py index 1d733ff..64a4981 100644 --- a/cirro_api_client/v1/models/feature_flags.py +++ b/cirro_api_client/v1/models/feature_flags.py @@ -13,6 +13,7 @@ class FeatureFlags: """ Attributes: + zip_service_enabled (bool): sftp_enabled (bool): governance_enabled (bool): project_requests_enabled (bool): @@ -25,8 +26,10 @@ class FeatureFlags: shared_filesystems_enabled (bool): custom_workspace_roles_enabled (bool): orcid_integration_enabled (bool): + cirro_stored_pipeline_config_enabled (bool): """ + zip_service_enabled: bool sftp_enabled: bool governance_enabled: bool project_requests_enabled: bool @@ -39,9 +42,12 @@ class FeatureFlags: shared_filesystems_enabled: bool custom_workspace_roles_enabled: bool orcid_integration_enabled: bool + cirro_stored_pipeline_config_enabled: bool additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + zip_service_enabled = self.zip_service_enabled + sftp_enabled = self.sftp_enabled governance_enabled = self.governance_enabled @@ -66,10 +72,13 @@ def to_dict(self) -> dict[str, Any]: orcid_integration_enabled = self.orcid_integration_enabled + cirro_stored_pipeline_config_enabled = self.cirro_stored_pipeline_config_enabled + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update( { + "zipServiceEnabled": zip_service_enabled, "sftpEnabled": sftp_enabled, "governanceEnabled": governance_enabled, "projectRequestsEnabled": project_requests_enabled, @@ -82,6 +91,7 @@ def to_dict(self) -> dict[str, Any]: "sharedFilesystemsEnabled": shared_filesystems_enabled, "customWorkspaceRolesEnabled": custom_workspace_roles_enabled, "orcidIntegrationEnabled": orcid_integration_enabled, + "cirroStoredPipelineConfigEnabled": cirro_stored_pipeline_config_enabled, } ) @@ -90,6 +100,8 @@ def to_dict(self) -> dict[str, Any]: @classmethod def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: d = dict(src_dict) + zip_service_enabled = d.pop("zipServiceEnabled") + sftp_enabled = d.pop("sftpEnabled") governance_enabled = d.pop("governanceEnabled") @@ -114,7 +126,10 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: orcid_integration_enabled = d.pop("orcidIntegrationEnabled") + cirro_stored_pipeline_config_enabled = d.pop("cirroStoredPipelineConfigEnabled") + feature_flags = cls( + zip_service_enabled=zip_service_enabled, sftp_enabled=sftp_enabled, governance_enabled=governance_enabled, project_requests_enabled=project_requests_enabled, @@ -127,6 +142,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: shared_filesystems_enabled=shared_filesystems_enabled, custom_workspace_roles_enabled=custom_workspace_roles_enabled, orcid_integration_enabled=orcid_integration_enabled, + cirro_stored_pipeline_config_enabled=cirro_stored_pipeline_config_enabled, ) feature_flags.additional_properties = d diff --git a/cirro_api_client/v1/models/file_entry_metadata.py b/cirro_api_client/v1/models/file_entry_metadata.py index 4ce9115..034b5e4 100644 --- a/cirro_api_client/v1/models/file_entry_metadata.py +++ b/cirro_api_client/v1/models/file_entry_metadata.py @@ -21,6 +21,7 @@ class FileEntryMetadata: additional_properties: dict[str, str] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/file_type.py b/cirro_api_client/v1/models/file_type.py index 36a292c..86c044d 100644 --- a/cirro_api_client/v1/models/file_type.py +++ b/cirro_api_client/v1/models/file_type.py @@ -5,6 +5,7 @@ class FileType(str, Enum): CSV = "CSV" JSON = "JSON" PARQUET = "PARQUET" + XLSX = "XLSX" UNKNOWN = "UNKNOWN" """ This is a fallback value for when the value is not known, do not use this value when making requests """ diff --git a/cirro_api_client/v1/models/form_schema_form.py b/cirro_api_client/v1/models/form_schema_form.py index 8d10ad0..6858575 100644 --- a/cirro_api_client/v1/models/form_schema_form.py +++ b/cirro_api_client/v1/models/form_schema_form.py @@ -16,6 +16,7 @@ class FormSchemaForm: additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/form_schema_metadata_requirements.py b/cirro_api_client/v1/models/form_schema_metadata_requirements.py index 322bc83..ff7b7a9 100644 --- a/cirro_api_client/v1/models/form_schema_metadata_requirements.py +++ b/cirro_api_client/v1/models/form_schema_metadata_requirements.py @@ -16,6 +16,7 @@ class FormSchemaMetadataRequirements: additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/form_schema_ui.py b/cirro_api_client/v1/models/form_schema_ui.py index 81ae512..780438d 100644 --- a/cirro_api_client/v1/models/form_schema_ui.py +++ b/cirro_api_client/v1/models/form_schema_ui.py @@ -16,6 +16,7 @@ class FormSchemaUi: additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/get_project_summary_response_200.py b/cirro_api_client/v1/models/get_project_summary_response_200.py index 5933995..29564ad 100644 --- a/cirro_api_client/v1/models/get_project_summary_response_200.py +++ b/cirro_api_client/v1/models/get_project_summary_response_200.py @@ -20,6 +20,7 @@ class GetProjectSummaryResponse200: additional_properties: dict[str, list[Task]] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} for prop_name, prop in self.additional_properties.items(): field_dict[prop_name] = [] diff --git a/cirro_api_client/v1/models/governance_classification.py b/cirro_api_client/v1/models/governance_classification.py index 77440f6..0cbd404 100644 --- a/cirro_api_client/v1/models/governance_classification.py +++ b/cirro_api_client/v1/models/governance_classification.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse T = TypeVar("T", bound="GovernanceClassification") @@ -77,9 +76,9 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: created_by = d.pop("createdBy") - created_at = isoparse(d.pop("createdAt")) + created_at = datetime.datetime.fromisoformat(d.pop("createdAt")) - updated_at = isoparse(d.pop("updatedAt")) + updated_at = datetime.datetime.fromisoformat(d.pop("updatedAt")) governance_classification = cls( id=id, diff --git a/cirro_api_client/v1/models/governance_contact.py b/cirro_api_client/v1/models/governance_contact.py index 95e420b..a9238c8 100644 --- a/cirro_api_client/v1/models/governance_contact.py +++ b/cirro_api_client/v1/models/governance_contact.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse T = TypeVar("T", bound="GovernanceContact") @@ -91,9 +90,9 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: created_by = d.pop("createdBy") - created_at = isoparse(d.pop("createdAt")) + created_at = datetime.datetime.fromisoformat(d.pop("createdAt")) - updated_at = isoparse(d.pop("updatedAt")) + updated_at = datetime.datetime.fromisoformat(d.pop("updatedAt")) governance_contact = cls( id=id, diff --git a/cirro_api_client/v1/models/governance_expiry.py b/cirro_api_client/v1/models/governance_expiry.py index 0730f6c..60fa740 100644 --- a/cirro_api_client/v1/models/governance_expiry.py +++ b/cirro_api_client/v1/models/governance_expiry.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..models.governance_expiry_type import GovernanceExpiryType from ..types import UNSET, Unset @@ -86,7 +85,7 @@ def _parse_date(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - date_type_0 = isoparse(data) + date_type_0 = datetime.datetime.fromisoformat(data) return date_type_0 except (TypeError, ValueError, AttributeError, KeyError): diff --git a/cirro_api_client/v1/models/governance_requirement.py b/cirro_api_client/v1/models/governance_requirement.py index b9d527c..e6c9889 100644 --- a/cirro_api_client/v1/models/governance_requirement.py +++ b/cirro_api_client/v1/models/governance_requirement.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..models.governance_scope import GovernanceScope from ..models.governance_training_verification import GovernanceTrainingVerification @@ -220,9 +219,9 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: created_by = d.pop("createdBy") - created_at = isoparse(d.pop("createdAt")) + created_at = datetime.datetime.fromisoformat(d.pop("createdAt")) - updated_at = isoparse(d.pop("updatedAt")) + updated_at = datetime.datetime.fromisoformat(d.pop("updatedAt")) project_id = d.pop("projectId", UNSET) @@ -251,7 +250,7 @@ def _parse_enactment_date(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - enactment_date_type_0 = isoparse(data) + enactment_date_type_0 = datetime.datetime.fromisoformat(data) return enactment_date_type_0 except (TypeError, ValueError, AttributeError, KeyError): diff --git a/cirro_api_client/v1/models/governance_requirement_project_file_map.py b/cirro_api_client/v1/models/governance_requirement_project_file_map.py index c2e573f..8bf58f8 100644 --- a/cirro_api_client/v1/models/governance_requirement_project_file_map.py +++ b/cirro_api_client/v1/models/governance_requirement_project_file_map.py @@ -20,6 +20,7 @@ class GovernanceRequirementProjectFileMap: additional_properties: dict[str, GovernanceFile] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} for prop_name, prop in self.additional_properties.items(): field_dict[prop_name] = prop.to_dict() diff --git a/cirro_api_client/v1/models/message.py b/cirro_api_client/v1/models/message.py index 26db617..5ad1fc8 100644 --- a/cirro_api_client/v1/models/message.py +++ b/cirro_api_client/v1/models/message.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..models.message_type import MessageType from ..types import UNSET, Unset @@ -111,9 +110,9 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: created_by = d.pop("createdBy") - created_at = isoparse(d.pop("createdAt")) + created_at = datetime.datetime.fromisoformat(d.pop("createdAt")) - updated_at = isoparse(d.pop("updatedAt")) + updated_at = datetime.datetime.fromisoformat(d.pop("updatedAt")) def _parse_parent_message_id(data: object) -> None | str | Unset: if data is None: diff --git a/cirro_api_client/v1/models/metric_record.py b/cirro_api_client/v1/models/metric_record.py index e8fb841..be2a653 100644 --- a/cirro_api_client/v1/models/metric_record.py +++ b/cirro_api_client/v1/models/metric_record.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..types import UNSET, Unset @@ -69,7 +68,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: if isinstance(_date, Unset): date = UNSET else: - date = isoparse(_date).date() + date = datetime.date.fromisoformat(_date) _services = d.pop("services", UNSET) services: MetricRecordServices | Unset diff --git a/cirro_api_client/v1/models/metric_record_services.py b/cirro_api_client/v1/models/metric_record_services.py index e6b9f6a..49449ff 100644 --- a/cirro_api_client/v1/models/metric_record_services.py +++ b/cirro_api_client/v1/models/metric_record_services.py @@ -21,6 +21,7 @@ class MetricRecordServices: additional_properties: dict[str, float] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/paginated_response_process_revision_dto.py b/cirro_api_client/v1/models/paginated_response_process_revision_dto.py new file mode 100644 index 0000000..a129cb4 --- /dev/null +++ b/cirro_api_client/v1/models/paginated_response_process_revision_dto.py @@ -0,0 +1,83 @@ +from __future__ import annotations + +from collections.abc import Mapping +from typing import TYPE_CHECKING, Any, TypeVar + +from attrs import define as _attrs_define +from attrs import field as _attrs_field + +if TYPE_CHECKING: + from ..models.process_revision_dto import ProcessRevisionDto + + +T = TypeVar("T", bound="PaginatedResponseProcessRevisionDto") + + +@_attrs_define +class PaginatedResponseProcessRevisionDto: + """ + Attributes: + data (list[ProcessRevisionDto]): + next_token (str): + """ + + data: list[ProcessRevisionDto] + next_token: str + additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) + + def to_dict(self) -> dict[str, Any]: + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + data.append(data_item) + + next_token = self.next_token + + field_dict: dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update( + { + "data": data, + "nextToken": next_token, + } + ) + + return field_dict + + @classmethod + def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: + from ..models.process_revision_dto import ProcessRevisionDto + + d = dict(src_dict) + data = [] + _data = d.pop("data") + for data_item_data in _data: + data_item = ProcessRevisionDto.from_dict(data_item_data) + + data.append(data_item) + + next_token = d.pop("nextToken") + + paginated_response_process_revision_dto = cls( + data=data, + next_token=next_token, + ) + + paginated_response_process_revision_dto.additional_properties = d + return paginated_response_process_revision_dto + + @property + def additional_keys(self) -> list[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/cirro_api_client/v1/models/paginated_response_share_usage.py b/cirro_api_client/v1/models/paginated_response_share_usage.py new file mode 100644 index 0000000..d5e9e8e --- /dev/null +++ b/cirro_api_client/v1/models/paginated_response_share_usage.py @@ -0,0 +1,83 @@ +from __future__ import annotations + +from collections.abc import Mapping +from typing import TYPE_CHECKING, Any, TypeVar + +from attrs import define as _attrs_define +from attrs import field as _attrs_field + +if TYPE_CHECKING: + from ..models.share_usage import ShareUsage + + +T = TypeVar("T", bound="PaginatedResponseShareUsage") + + +@_attrs_define +class PaginatedResponseShareUsage: + """ + Attributes: + data (list[ShareUsage]): + next_token (str): + """ + + data: list[ShareUsage] + next_token: str + additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) + + def to_dict(self) -> dict[str, Any]: + data = [] + for data_item_data in self.data: + data_item = data_item_data.to_dict() + data.append(data_item) + + next_token = self.next_token + + field_dict: dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update( + { + "data": data, + "nextToken": next_token, + } + ) + + return field_dict + + @classmethod + def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: + from ..models.share_usage import ShareUsage + + d = dict(src_dict) + data = [] + _data = d.pop("data") + for data_item_data in _data: + data_item = ShareUsage.from_dict(data_item_data) + + data.append(data_item) + + next_token = d.pop("nextToken") + + paginated_response_share_usage = cls( + data=data, + next_token=next_token, + ) + + paginated_response_share_usage.additional_properties = d + return paginated_response_share_usage + + @property + def additional_keys(self) -> list[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/cirro_api_client/v1/models/permission.py b/cirro_api_client/v1/models/permission.py index 3e4f056..0b8925f 100644 --- a/cirro_api_client/v1/models/permission.py +++ b/cirro_api_client/v1/models/permission.py @@ -9,6 +9,7 @@ class Permission(str, Enum): CREATE_CUSTOM_PIPELINE_TENANT = "CREATE_CUSTOM_PIPELINE_TENANT" CREATE_CUSTOM_WORKSPACE = "CREATE_CUSTOM_WORKSPACE" CREATE_DASHBOARD = "CREATE_DASHBOARD" + CREATE_DASHBOARD_TEMPLATE = "CREATE_DASHBOARD_TEMPLATE" CREATE_DATASET = "CREATE_DATASET" CREATE_DISCUSSION = "CREATE_DISCUSSION" CREATE_HOSTED_PROJECT = "CREATE_HOSTED_PROJECT" @@ -51,6 +52,7 @@ class Permission(str, Enum): VIEW_CLASSIFICATIONS = "VIEW_CLASSIFICATIONS" VIEW_CONTACTS = "VIEW_CONTACTS" VIEW_DASHBOARD = "VIEW_DASHBOARD" + VIEW_DASHBOARD_TEMPLATE = "VIEW_DASHBOARD_TEMPLATE" VIEW_DATASET = "VIEW_DATASET" VIEW_DATASET_LOGS = "VIEW_DATASET_LOGS" VIEW_DISCUSSION = "VIEW_DISCUSSION" diff --git a/cirro_api_client/v1/models/process.py b/cirro_api_client/v1/models/process.py index f4cd5ea..4518317 100644 --- a/cirro_api_client/v1/models/process.py +++ b/cirro_api_client/v1/models/process.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..models.executor import Executor from ..types import UNSET, Unset @@ -215,14 +214,14 @@ def _parse_owner(data: object) -> None | str | Unset: if isinstance(_created_at, Unset): created_at = UNSET else: - created_at = isoparse(_created_at) + created_at = datetime.datetime.fromisoformat(_created_at) _updated_at = d.pop("updatedAt", UNSET) updated_at: datetime.datetime | Unset if isinstance(_updated_at, Unset): updated_at = UNSET else: - updated_at = isoparse(_updated_at) + updated_at = datetime.datetime.fromisoformat(_updated_at) process = cls( id=id, diff --git a/cirro_api_client/v1/models/process_detail.py b/cirro_api_client/v1/models/process_detail.py index 0f75eee..1f517eb 100644 --- a/cirro_api_client/v1/models/process_detail.py +++ b/cirro_api_client/v1/models/process_detail.py @@ -6,8 +6,8 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse +from ..models.config_source import ConfigSource from ..models.executor import Executor from ..types import UNSET, Unset @@ -40,6 +40,7 @@ class ProcessDetail: uses_sample_sheet (bool): Whether the pipeline uses the Cirro-provided sample sheet is_archived (bool): Whether the process is marked as archived tags (list[Tag]): + config_source (ConfigSource): Storage backend for the custom pipeline's configuration files category (str | Unset): Category of the process Example: Microbial Analysis. pipeline_type (str | Unset): Type of pipeline Example: nf-core. documentation_url (str | Unset): Link to process documentation Example: @@ -66,6 +67,7 @@ class ProcessDetail: uses_sample_sheet: bool is_archived: bool tags: list[Tag] + config_source: ConfigSource category: str | Unset = UNSET pipeline_type: str | Unset = UNSET documentation_url: str | Unset = UNSET @@ -111,6 +113,8 @@ def to_dict(self) -> dict[str, Any]: tags_item = tags_item_data.to_dict() tags.append(tags_item) + config_source = self.config_source.value + category = self.category pipeline_type = self.pipeline_type @@ -178,6 +182,7 @@ def to_dict(self) -> dict[str, Any]: "usesSampleSheet": uses_sample_sheet, "isArchived": is_archived, "tags": tags, + "configSource": config_source, } ) if category is not UNSET: @@ -242,6 +247,8 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: tags.append(tags_item) + config_source = ConfigSource(d.pop("configSource")) + category = d.pop("category", UNSET) pipeline_type = d.pop("pipelineType", UNSET) @@ -320,14 +327,14 @@ def _parse_file_mapping_rules(data: object) -> list[FileMappingRule] | None | Un if isinstance(_created_at, Unset): created_at = UNSET else: - created_at = isoparse(_created_at) + created_at = datetime.datetime.fromisoformat(_created_at) _updated_at = d.pop("updatedAt", UNSET) updated_at: datetime.datetime | Unset if isinstance(_updated_at, Unset): updated_at = UNSET else: - updated_at = isoparse(_updated_at) + updated_at = datetime.datetime.fromisoformat(_updated_at) process_detail = cls( id=id, @@ -343,6 +350,7 @@ def _parse_file_mapping_rules(data: object) -> list[FileMappingRule] | None | Un uses_sample_sheet=uses_sample_sheet, is_archived=is_archived, tags=tags, + config_source=config_source, category=category, pipeline_type=pipeline_type, documentation_url=documentation_url, diff --git a/cirro_api_client/v1/models/process_documentation.py b/cirro_api_client/v1/models/process_documentation.py index c608bf0..c1cee86 100644 --- a/cirro_api_client/v1/models/process_documentation.py +++ b/cirro_api_client/v1/models/process_documentation.py @@ -1,7 +1,7 @@ from __future__ import annotations from collections.abc import Mapping -from typing import Any, TypeVar +from typing import Any, TypeVar, cast from attrs import define as _attrs_define from attrs import field as _attrs_field @@ -15,22 +15,34 @@ class ProcessDocumentation: """ Attributes: - docs_uri (str | Unset): Full URI to documentation - partial_uri (str | Unset): URI of process documentation (partial) - content (str | Unset): Documentation content + docs_uri (None | str | Unset): Full URI to documentation + partial_uri (None | str | Unset): URI of process documentation (partial) - only for Cirro-hosted docs + content (None | str | Unset): Documentation content """ - docs_uri: str | Unset = UNSET - partial_uri: str | Unset = UNSET - content: str | Unset = UNSET + docs_uri: None | str | Unset = UNSET + partial_uri: None | str | Unset = UNSET + content: None | str | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: - docs_uri = self.docs_uri - - partial_uri = self.partial_uri - - content = self.content + docs_uri: None | str | Unset + if isinstance(self.docs_uri, Unset): + docs_uri = UNSET + else: + docs_uri = self.docs_uri + + partial_uri: None | str | Unset + if isinstance(self.partial_uri, Unset): + partial_uri = UNSET + else: + partial_uri = self.partial_uri + + content: None | str | Unset + if isinstance(self.content, Unset): + content = UNSET + else: + content = self.content field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) @@ -47,11 +59,33 @@ def to_dict(self) -> dict[str, Any]: @classmethod def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: d = dict(src_dict) - docs_uri = d.pop("docsUri", UNSET) - partial_uri = d.pop("partialUri", UNSET) + def _parse_docs_uri(data: object) -> None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(None | str | Unset, data) + + docs_uri = _parse_docs_uri(d.pop("docsUri", UNSET)) + + def _parse_partial_uri(data: object) -> None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(None | str | Unset, data) + + partial_uri = _parse_partial_uri(d.pop("partialUri", UNSET)) + + def _parse_content(data: object) -> None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(None | str | Unset, data) - content = d.pop("content", UNSET) + content = _parse_content(d.pop("content", UNSET)) process_documentation = cls( docs_uri=docs_uri, diff --git a/cirro_api_client/v1/models/process_resource.py b/cirro_api_client/v1/models/process_resource.py new file mode 100644 index 0000000..835a0cd --- /dev/null +++ b/cirro_api_client/v1/models/process_resource.py @@ -0,0 +1,20 @@ +from enum import Enum + + +class ProcessResource(str, Enum): + COMPUTE = "compute" + DOCUMENTATION = "documentation" + FORM = "form" + INPUT = "input" + METADATA = "metadata" + OUTPUT = "output" + PREPROCESS = "preprocess" + UNKNOWN = "UNKNOWN" + """ This is a fallback value for when the value is not known, do not use this value when making requests """ + + def __str__(self) -> str: + return str(self.value) + + @classmethod + def _missing_(cls, number): + return cls(cls.UNKNOWN) diff --git a/cirro_api_client/v1/models/process_resource_content_dto.py b/cirro_api_client/v1/models/process_resource_content_dto.py new file mode 100644 index 0000000..6b60fab --- /dev/null +++ b/cirro_api_client/v1/models/process_resource_content_dto.py @@ -0,0 +1,100 @@ +from __future__ import annotations + +from collections.abc import Mapping +from typing import Any, TypeVar + +from attrs import define as _attrs_define +from attrs import field as _attrs_field + +from ..models.process_resource import ProcessResource +from ..types import UNSET, Unset + +T = TypeVar("T", bound="ProcessResourceContentDto") + + +@_attrs_define +class ProcessResourceContentDto: + """Stored content for a single pipeline configuration resource at the current revision. + + Attributes: + type_ (ProcessResource | Unset): Resource type for this saved file. Example: FORM. + revision_number (int | Unset): The revision number this content was read from (the latest revision of the + process at request time). + digest (str | Unset): Sha256 hex of the content bytes. Matches the entry in the revision's files map. Same value + appears in the response ETag header. + content (str | Unset): Raw resource content as a string. For JSON-typed resources this is a serialized JSON + document. + """ + + type_: ProcessResource | Unset = UNSET + revision_number: int | Unset = UNSET + digest: str | Unset = UNSET + content: str | Unset = UNSET + additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) + + def to_dict(self) -> dict[str, Any]: + type_: str | Unset = UNSET + if not isinstance(self.type_, Unset): + type_ = self.type_.value + + revision_number = self.revision_number + + digest = self.digest + + content = self.content + + field_dict: dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if type_ is not UNSET: + field_dict["type"] = type_ + if revision_number is not UNSET: + field_dict["revisionNumber"] = revision_number + if digest is not UNSET: + field_dict["digest"] = digest + if content is not UNSET: + field_dict["content"] = content + + return field_dict + + @classmethod + def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: + d = dict(src_dict) + _type_ = d.pop("type", UNSET) + type_: ProcessResource | Unset + if isinstance(_type_, Unset): + type_ = UNSET + else: + type_ = ProcessResource(_type_) + + revision_number = d.pop("revisionNumber", UNSET) + + digest = d.pop("digest", UNSET) + + content = d.pop("content", UNSET) + + process_resource_content_dto = cls( + type_=type_, + revision_number=revision_number, + digest=digest, + content=content, + ) + + process_resource_content_dto.additional_properties = d + return process_resource_content_dto + + @property + def additional_keys(self) -> list[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/cirro_api_client/v1/models/process_revision_dto.py b/cirro_api_client/v1/models/process_revision_dto.py new file mode 100644 index 0000000..efdf40c --- /dev/null +++ b/cirro_api_client/v1/models/process_revision_dto.py @@ -0,0 +1,130 @@ +from __future__ import annotations + +import datetime +from collections.abc import Mapping +from typing import TYPE_CHECKING, Any, TypeVar, cast + +from attrs import define as _attrs_define +from attrs import field as _attrs_field + +from ..types import UNSET, Unset + +if TYPE_CHECKING: + from ..models.process_revision_dto_files import ProcessRevisionDtoFiles + + +T = TypeVar("T", bound="ProcessRevisionDto") + + +@_attrs_define +class ProcessRevisionDto: + """ + Attributes: + revision_number (int): + saved_by (str): + saved_at (datetime.datetime): + saved_resource_types (list[str]): + deleted_resource_types (list[str]): + files (ProcessRevisionDtoFiles): + commit_message (None | str | Unset): + """ + + revision_number: int + saved_by: str + saved_at: datetime.datetime + saved_resource_types: list[str] + deleted_resource_types: list[str] + files: ProcessRevisionDtoFiles + commit_message: None | str | Unset = UNSET + additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) + + def to_dict(self) -> dict[str, Any]: + revision_number = self.revision_number + + saved_by = self.saved_by + + saved_at = self.saved_at.isoformat() + + saved_resource_types = self.saved_resource_types + + deleted_resource_types = self.deleted_resource_types + + files = self.files.to_dict() + + commit_message: None | str | Unset + if isinstance(self.commit_message, Unset): + commit_message = UNSET + else: + commit_message = self.commit_message + + field_dict: dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update( + { + "revisionNumber": revision_number, + "savedBy": saved_by, + "savedAt": saved_at, + "savedResourceTypes": saved_resource_types, + "deletedResourceTypes": deleted_resource_types, + "files": files, + } + ) + if commit_message is not UNSET: + field_dict["commitMessage"] = commit_message + + return field_dict + + @classmethod + def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: + from ..models.process_revision_dto_files import ProcessRevisionDtoFiles + + d = dict(src_dict) + revision_number = d.pop("revisionNumber") + + saved_by = d.pop("savedBy") + + saved_at = datetime.datetime.fromisoformat(d.pop("savedAt")) + + saved_resource_types = cast(list[str], d.pop("savedResourceTypes")) + + deleted_resource_types = cast(list[str], d.pop("deletedResourceTypes")) + + files = ProcessRevisionDtoFiles.from_dict(d.pop("files")) + + def _parse_commit_message(data: object) -> None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(None | str | Unset, data) + + commit_message = _parse_commit_message(d.pop("commitMessage", UNSET)) + + process_revision_dto = cls( + revision_number=revision_number, + saved_by=saved_by, + saved_at=saved_at, + saved_resource_types=saved_resource_types, + deleted_resource_types=deleted_resource_types, + files=files, + commit_message=commit_message, + ) + + process_revision_dto.additional_properties = d + return process_revision_dto + + @property + def additional_keys(self) -> list[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/cirro_api_client/v1/models/process_revision_dto_files.py b/cirro_api_client/v1/models/process_revision_dto_files.py new file mode 100644 index 0000000..e0e278b --- /dev/null +++ b/cirro_api_client/v1/models/process_revision_dto_files.py @@ -0,0 +1,47 @@ +from __future__ import annotations + +from collections.abc import Mapping +from typing import Any, TypeVar + +from attrs import define as _attrs_define +from attrs import field as _attrs_field + +T = TypeVar("T", bound="ProcessRevisionDtoFiles") + + +@_attrs_define +class ProcessRevisionDtoFiles: + """ """ + + additional_properties: dict[str, str] = _attrs_field(init=False, factory=dict) + + def to_dict(self) -> dict[str, Any]: + + field_dict: dict[str, Any] = {} + field_dict.update(self.additional_properties) + + return field_dict + + @classmethod + def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: + d = dict(src_dict) + process_revision_dto_files = cls() + + process_revision_dto_files.additional_properties = d + return process_revision_dto_files + + @property + def additional_keys(self) -> list[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> str: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: str) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/cirro_api_client/v1/models/process_revision_save_file.py b/cirro_api_client/v1/models/process_revision_save_file.py new file mode 100644 index 0000000..0f2e295 --- /dev/null +++ b/cirro_api_client/v1/models/process_revision_save_file.py @@ -0,0 +1,71 @@ +from __future__ import annotations + +from collections.abc import Mapping +from typing import Any, TypeVar + +from attrs import define as _attrs_define +from attrs import field as _attrs_field + +from ..models.process_resource import ProcessResource + +T = TypeVar("T", bound="ProcessRevisionSaveFile") + + +@_attrs_define +class ProcessRevisionSaveFile: + """ + Attributes: + type_ (ProcessResource): Resource type for this saved file. Example: FORM. + content (str): UTF-8 file content stored byte-for-byte. Maximum 1 MiB per file. + """ + + type_: ProcessResource + content: str + additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) + + def to_dict(self) -> dict[str, Any]: + type_ = self.type_.value + + content = self.content + + field_dict: dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update( + { + "type": type_, + "content": content, + } + ) + + return field_dict + + @classmethod + def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: + d = dict(src_dict) + type_ = ProcessResource(d.pop("type")) + + content = d.pop("content") + + process_revision_save_file = cls( + type_=type_, + content=content, + ) + + process_revision_save_file.additional_properties = d + return process_revision_save_file + + @property + def additional_keys(self) -> list[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/cirro_api_client/v1/models/process_revision_save_request.py b/cirro_api_client/v1/models/process_revision_save_request.py new file mode 100644 index 0000000..17afdf5 --- /dev/null +++ b/cirro_api_client/v1/models/process_revision_save_request.py @@ -0,0 +1,161 @@ +from __future__ import annotations + +from collections.abc import Mapping +from typing import TYPE_CHECKING, Any, TypeVar, cast + +from attrs import define as _attrs_define +from attrs import field as _attrs_field + +from ..models.process_resource import ProcessResource +from ..types import UNSET, Unset + +if TYPE_CHECKING: + from ..models.process_revision_save_file import ProcessRevisionSaveFile + + +T = TypeVar("T", bound="ProcessRevisionSaveRequest") + + +@_attrs_define +class ProcessRevisionSaveRequest: + """ + Attributes: + files (list[ProcessRevisionSaveFile] | None | Unset): Files to persist in this revision; one entry per resource + type. May be omitted when only deletions are requested. + deleted_resource_types (list[ProcessResource] | None | Unset): Resource types to remove from the new revision's + snapshot. Underlying S3 content is never deleted; prior revisions retain their references. + commit_message (None | str | Unset): Optional human-readable note describing the change. Maximum 1024 + characters. + """ + + files: list[ProcessRevisionSaveFile] | None | Unset = UNSET + deleted_resource_types: list[ProcessResource] | None | Unset = UNSET + commit_message: None | str | Unset = UNSET + additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) + + def to_dict(self) -> dict[str, Any]: + files: list[dict[str, Any]] | None | Unset + if isinstance(self.files, Unset): + files = UNSET + elif isinstance(self.files, list): + files = [] + for files_type_0_item_data in self.files: + files_type_0_item = files_type_0_item_data.to_dict() + files.append(files_type_0_item) + + else: + files = self.files + + deleted_resource_types: list[str] | None | Unset + if isinstance(self.deleted_resource_types, Unset): + deleted_resource_types = UNSET + elif isinstance(self.deleted_resource_types, list): + deleted_resource_types = [] + for deleted_resource_types_type_0_item_data in self.deleted_resource_types: + deleted_resource_types_type_0_item = deleted_resource_types_type_0_item_data.value + deleted_resource_types.append(deleted_resource_types_type_0_item) + + else: + deleted_resource_types = self.deleted_resource_types + + commit_message: None | str | Unset + if isinstance(self.commit_message, Unset): + commit_message = UNSET + else: + commit_message = self.commit_message + + field_dict: dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if files is not UNSET: + field_dict["files"] = files + if deleted_resource_types is not UNSET: + field_dict["deletedResourceTypes"] = deleted_resource_types + if commit_message is not UNSET: + field_dict["commitMessage"] = commit_message + + return field_dict + + @classmethod + def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: + from ..models.process_revision_save_file import ProcessRevisionSaveFile + + d = dict(src_dict) + + def _parse_files(data: object) -> list[ProcessRevisionSaveFile] | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + try: + if not isinstance(data, list): + raise TypeError() + files_type_0 = [] + _files_type_0 = data + for files_type_0_item_data in _files_type_0: + files_type_0_item = ProcessRevisionSaveFile.from_dict(files_type_0_item_data) + + files_type_0.append(files_type_0_item) + + return files_type_0 + except (TypeError, ValueError, AttributeError, KeyError): + pass + return cast(list[ProcessRevisionSaveFile] | None | Unset, data) + + files = _parse_files(d.pop("files", UNSET)) + + def _parse_deleted_resource_types(data: object) -> list[ProcessResource] | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + try: + if not isinstance(data, list): + raise TypeError() + deleted_resource_types_type_0 = [] + _deleted_resource_types_type_0 = data + for deleted_resource_types_type_0_item_data in _deleted_resource_types_type_0: + deleted_resource_types_type_0_item = ProcessResource(deleted_resource_types_type_0_item_data) + + deleted_resource_types_type_0.append(deleted_resource_types_type_0_item) + + return deleted_resource_types_type_0 + except (TypeError, ValueError, AttributeError, KeyError): + pass + return cast(list[ProcessResource] | None | Unset, data) + + deleted_resource_types = _parse_deleted_resource_types(d.pop("deletedResourceTypes", UNSET)) + + def _parse_commit_message(data: object) -> None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(None | str | Unset, data) + + commit_message = _parse_commit_message(d.pop("commitMessage", UNSET)) + + process_revision_save_request = cls( + files=files, + deleted_resource_types=deleted_resource_types, + commit_message=commit_message, + ) + + process_revision_save_request.additional_properties = d + return process_revision_save_request + + @property + def additional_keys(self) -> list[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/cirro_api_client/v1/models/process_revision_save_response.py b/cirro_api_client/v1/models/process_revision_save_response.py new file mode 100644 index 0000000..5b1f2e3 --- /dev/null +++ b/cirro_api_client/v1/models/process_revision_save_response.py @@ -0,0 +1,109 @@ +from __future__ import annotations + +from collections.abc import Mapping +from typing import TYPE_CHECKING, Any, TypeVar + +from attrs import define as _attrs_define +from attrs import field as _attrs_field + +from ..types import UNSET, Unset + +if TYPE_CHECKING: + from ..models.saved_process_revision import SavedProcessRevision + + +T = TypeVar("T", bound="ProcessRevisionSaveResponse") + + +@_attrs_define +class ProcessRevisionSaveResponse: + """ + Attributes: + files (list[SavedProcessRevision] | Unset): One entry per saved file, in the same order as the request, with the + resulting URI and content hash. + current_config_revision (int | Unset): Revision number persisted on the process record after this save. + Monotonically increasing. Example: 7. + revision_token (str | Unset): Opaque token for optimistic concurrency. Pass as the If-Match header value on the + next save; the server returns 412 if another save committed first. + saved_by (str | Unset): Username of the caller who performed the save. + """ + + files: list[SavedProcessRevision] | Unset = UNSET + current_config_revision: int | Unset = UNSET + revision_token: str | Unset = UNSET + saved_by: str | Unset = UNSET + additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) + + def to_dict(self) -> dict[str, Any]: + files: list[dict[str, Any]] | Unset = UNSET + if not isinstance(self.files, Unset): + files = [] + for files_item_data in self.files: + files_item = files_item_data.to_dict() + files.append(files_item) + + current_config_revision = self.current_config_revision + + revision_token = self.revision_token + + saved_by = self.saved_by + + field_dict: dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if files is not UNSET: + field_dict["files"] = files + if current_config_revision is not UNSET: + field_dict["currentConfigRevision"] = current_config_revision + if revision_token is not UNSET: + field_dict["revisionToken"] = revision_token + if saved_by is not UNSET: + field_dict["savedBy"] = saved_by + + return field_dict + + @classmethod + def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: + from ..models.saved_process_revision import SavedProcessRevision + + d = dict(src_dict) + _files = d.pop("files", UNSET) + files: list[SavedProcessRevision] | Unset = UNSET + if _files is not UNSET: + files = [] + for files_item_data in _files: + files_item = SavedProcessRevision.from_dict(files_item_data) + + files.append(files_item) + + current_config_revision = d.pop("currentConfigRevision", UNSET) + + revision_token = d.pop("revisionToken", UNSET) + + saved_by = d.pop("savedBy", UNSET) + + process_revision_save_response = cls( + files=files, + current_config_revision=current_config_revision, + revision_token=revision_token, + saved_by=saved_by, + ) + + process_revision_save_response.additional_properties = d + return process_revision_save_response + + @property + def additional_keys(self) -> list[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/cirro_api_client/v1/models/project.py b/cirro_api_client/v1/models/project.py index 404c829..5d68170 100644 --- a/cirro_api_client/v1/models/project.py +++ b/cirro_api_client/v1/models/project.py @@ -22,7 +22,8 @@ class Project: id (str): name (str): description (str): - status (Status): + status (Status): Current state of the usage. RUNNING means access is active; DELETED means the access point has + been revoked. tags (list[Tag]): organization (str): classification_ids (list[str]): diff --git a/cirro_api_client/v1/models/project_access_request.py b/cirro_api_client/v1/models/project_access_request.py index 710c618..e8ac313 100644 --- a/cirro_api_client/v1/models/project_access_request.py +++ b/cirro_api_client/v1/models/project_access_request.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..models.project_role import ProjectRole from ..models.request_status import RequestStatus @@ -94,9 +93,9 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: reviewer_username = d.pop("reviewerUsername") - created_at = isoparse(d.pop("createdAt")) + created_at = datetime.datetime.fromisoformat(d.pop("createdAt")) - expiry = isoparse(d.pop("expiry")) + expiry = datetime.datetime.fromisoformat(d.pop("expiry")) project_access_request = cls( id=id, diff --git a/cirro_api_client/v1/models/project_detail.py b/cirro_api_client/v1/models/project_detail.py index e994833..c51749c 100644 --- a/cirro_api_client/v1/models/project_detail.py +++ b/cirro_api_client/v1/models/project_detail.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..models.status import Status from ..types import UNSET, Unset @@ -31,7 +30,8 @@ class ProjectDetail: billing_account_id (str): contacts (list[Contact]): organization (str): - status (Status): + status (Status): Current state of the usage. RUNNING means access is active; DELETED means the access point has + been revoked. settings (ProjectSettings): account (CloudAccount): status_message (str): @@ -176,9 +176,9 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: created_by = d.pop("createdBy") - created_at = isoparse(d.pop("createdAt")) + created_at = datetime.datetime.fromisoformat(d.pop("createdAt")) - updated_at = isoparse(d.pop("updatedAt")) + updated_at = datetime.datetime.fromisoformat(d.pop("updatedAt")) def _parse_deployed_at(data: object) -> datetime.datetime | None | Unset: if data is None: @@ -188,7 +188,7 @@ def _parse_deployed_at(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - deployed_at_type_0 = isoparse(data) + deployed_at_type_0 = datetime.datetime.fromisoformat(data) return deployed_at_type_0 except (TypeError, ValueError, AttributeError, KeyError): diff --git a/cirro_api_client/v1/models/project_requirement.py b/cirro_api_client/v1/models/project_requirement.py index bc637ee..5de970a 100644 --- a/cirro_api_client/v1/models/project_requirement.py +++ b/cirro_api_client/v1/models/project_requirement.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..models.governance_expiry_type import GovernanceExpiryType from ..models.governance_scope import GovernanceScope @@ -318,7 +317,7 @@ def _parse_enactment_date(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - enactment_date_type_0 = isoparse(data) + enactment_date_type_0 = datetime.datetime.fromisoformat(data) return enactment_date_type_0 except (TypeError, ValueError, AttributeError, KeyError): @@ -353,7 +352,7 @@ def _parse_expiration_date(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - expiration_date_type_0 = isoparse(data) + expiration_date_type_0 = datetime.datetime.fromisoformat(data) return expiration_date_type_0 except (TypeError, ValueError, AttributeError, KeyError): @@ -452,7 +451,7 @@ def _parse_fulfillment_date(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - fulfillment_date_type_0 = isoparse(data) + fulfillment_date_type_0 = datetime.datetime.fromisoformat(data) return fulfillment_date_type_0 except (TypeError, ValueError, AttributeError, KeyError): diff --git a/cirro_api_client/v1/models/query_column.py b/cirro_api_client/v1/models/query_column.py index 8bff4c9..3b0d8c6 100644 --- a/cirro_api_client/v1/models/query_column.py +++ b/cirro_api_client/v1/models/query_column.py @@ -17,7 +17,7 @@ class QueryColumn: Attributes: name (str): Column name. - data_type (ColumnDataType): Column data type. + data_type (ColumnDataType): Data type for the column. """ name: str diff --git a/cirro_api_client/v1/models/reference.py b/cirro_api_client/v1/models/reference.py index 35d3490..34907f2 100644 --- a/cirro_api_client/v1/models/reference.py +++ b/cirro_api_client/v1/models/reference.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse if TYPE_CHECKING: from ..models.file_entry import FileEntry @@ -93,7 +92,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: created_by = d.pop("createdBy") - created_at = isoparse(d.pop("createdAt")) + created_at = datetime.datetime.fromisoformat(d.pop("createdAt")) reference = cls( id=id, diff --git a/cirro_api_client/v1/models/reference_type_validation_item.py b/cirro_api_client/v1/models/reference_type_validation_item.py index 0fff3b2..8bba1f8 100644 --- a/cirro_api_client/v1/models/reference_type_validation_item.py +++ b/cirro_api_client/v1/models/reference_type_validation_item.py @@ -16,6 +16,7 @@ class ReferenceTypeValidationItem: additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/requirement_fulfillment_input.py b/cirro_api_client/v1/models/requirement_fulfillment_input.py index 2cdeea6..45c07a6 100644 --- a/cirro_api_client/v1/models/requirement_fulfillment_input.py +++ b/cirro_api_client/v1/models/requirement_fulfillment_input.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..types import UNSET, Unset @@ -71,7 +70,7 @@ def _parse_completed_on(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - completed_on_type_0 = isoparse(data) + completed_on_type_0 = datetime.datetime.fromisoformat(data) return completed_on_type_0 except (TypeError, ValueError, AttributeError, KeyError): diff --git a/cirro_api_client/v1/models/requirement_input.py b/cirro_api_client/v1/models/requirement_input.py index d1c8eb1..bd5b3a7 100644 --- a/cirro_api_client/v1/models/requirement_input.py +++ b/cirro_api_client/v1/models/requirement_input.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..models.governance_scope import GovernanceScope from ..models.governance_training_verification import GovernanceTrainingVerification @@ -209,7 +208,7 @@ def _parse_enactment_date(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - enactment_date_type_0 = isoparse(data) + enactment_date_type_0 = datetime.datetime.fromisoformat(data) return enactment_date_type_0 except (TypeError, ValueError, AttributeError, KeyError): diff --git a/cirro_api_client/v1/models/resources_info.py b/cirro_api_client/v1/models/resources_info.py index 5b61822..e5bc051 100644 --- a/cirro_api_client/v1/models/resources_info.py +++ b/cirro_api_client/v1/models/resources_info.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse T = TypeVar("T", bound="ResourcesInfo") @@ -54,7 +53,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: d = dict(src_dict) commit = d.pop("commit") - date = isoparse(d.pop("date")) + date = datetime.datetime.fromisoformat(d.pop("date")) repository = d.pop("repository") diff --git a/cirro_api_client/v1/models/row_insert_values.py b/cirro_api_client/v1/models/row_insert_values.py index f435344..6c668c7 100644 --- a/cirro_api_client/v1/models/row_insert_values.py +++ b/cirro_api_client/v1/models/row_insert_values.py @@ -25,6 +25,7 @@ class RowInsertValues: additional_properties: dict[str, RowInsertValuesAdditionalProperty] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} for prop_name, prop in self.additional_properties.items(): field_dict[prop_name] = prop.to_dict() diff --git a/cirro_api_client/v1/models/row_insert_values_additional_property.py b/cirro_api_client/v1/models/row_insert_values_additional_property.py index 0143cb8..1d08764 100644 --- a/cirro_api_client/v1/models/row_insert_values_additional_property.py +++ b/cirro_api_client/v1/models/row_insert_values_additional_property.py @@ -16,6 +16,7 @@ class RowInsertValuesAdditionalProperty: additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/row_update_values.py b/cirro_api_client/v1/models/row_update_values.py index 27faff2..0819242 100644 --- a/cirro_api_client/v1/models/row_update_values.py +++ b/cirro_api_client/v1/models/row_update_values.py @@ -26,6 +26,7 @@ class RowUpdateValues: additional_properties: dict[str, RowUpdateValuesAdditionalProperty] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} for prop_name, prop in self.additional_properties.items(): field_dict[prop_name] = prop.to_dict() diff --git a/cirro_api_client/v1/models/row_update_values_additional_property.py b/cirro_api_client/v1/models/row_update_values_additional_property.py index 4490a59..ad10052 100644 --- a/cirro_api_client/v1/models/row_update_values_additional_property.py +++ b/cirro_api_client/v1/models/row_update_values_additional_property.py @@ -16,6 +16,7 @@ class RowUpdateValuesAdditionalProperty: additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/run_analysis_request_params.py b/cirro_api_client/v1/models/run_analysis_request_params.py index 6b20dcd..e5f974e 100644 --- a/cirro_api_client/v1/models/run_analysis_request_params.py +++ b/cirro_api_client/v1/models/run_analysis_request_params.py @@ -16,6 +16,7 @@ class RunAnalysisRequestParams: additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/run_analysis_request_source_sample_files_map.py b/cirro_api_client/v1/models/run_analysis_request_source_sample_files_map.py index 84619ef..ec22f16 100644 --- a/cirro_api_client/v1/models/run_analysis_request_source_sample_files_map.py +++ b/cirro_api_client/v1/models/run_analysis_request_source_sample_files_map.py @@ -19,6 +19,7 @@ class RunAnalysisRequestSourceSampleFilesMap: additional_properties: dict[str, list[str]] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} for prop_name, prop in self.additional_properties.items(): field_dict[prop_name] = prop diff --git a/cirro_api_client/v1/models/sample.py b/cirro_api_client/v1/models/sample.py index 2fdf98c..a5a0754 100644 --- a/cirro_api_client/v1/models/sample.py +++ b/cirro_api_client/v1/models/sample.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..types import UNSET, Unset @@ -187,7 +186,7 @@ def _parse_created_at(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - created_at_type_0 = isoparse(data) + created_at_type_0 = datetime.datetime.fromisoformat(data) return created_at_type_0 except (TypeError, ValueError, AttributeError, KeyError): @@ -204,7 +203,7 @@ def _parse_updated_at(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - updated_at_type_0 = isoparse(data) + updated_at_type_0 = datetime.datetime.fromisoformat(data) return updated_at_type_0 except (TypeError, ValueError, AttributeError, KeyError): diff --git a/cirro_api_client/v1/models/sample_metadata.py b/cirro_api_client/v1/models/sample_metadata.py index b345b4c..8e9da77 100644 --- a/cirro_api_client/v1/models/sample_metadata.py +++ b/cirro_api_client/v1/models/sample_metadata.py @@ -16,6 +16,7 @@ class SampleMetadata: additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/sample_request_metadata.py b/cirro_api_client/v1/models/sample_request_metadata.py index 713ff66..d9bc879 100644 --- a/cirro_api_client/v1/models/sample_request_metadata.py +++ b/cirro_api_client/v1/models/sample_request_metadata.py @@ -16,6 +16,7 @@ class SampleRequestMetadata: additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/saved_process_revision.py b/cirro_api_client/v1/models/saved_process_revision.py new file mode 100644 index 0000000..4820978 --- /dev/null +++ b/cirro_api_client/v1/models/saved_process_revision.py @@ -0,0 +1,89 @@ +from __future__ import annotations + +from collections.abc import Mapping +from typing import Any, TypeVar + +from attrs import define as _attrs_define +from attrs import field as _attrs_field + +from ..models.process_resource import ProcessResource +from ..types import UNSET, Unset + +T = TypeVar("T", bound="SavedProcessRevision") + + +@_attrs_define +class SavedProcessRevision: + """ + Attributes: + type_ (ProcessResource | Unset): Resource type for this saved file. Example: FORM. + uri (str | Unset): S3 URI of the content-addressed object written for this resource. Example: s3://tenant- + resources-bucket/process/user/alice/my-pipeline/config/storage/form/3a7bd3.... + content_sha_256 (str | Unset): Hex-encoded SHA-256 of the file content. Also used as the leaf segment of the S3 + key. Example: 3a7bd3e2360a3d29eea436fcfb7e44c735d117c42d1c1835420b6b9942dd4f1b. + """ + + type_: ProcessResource | Unset = UNSET + uri: str | Unset = UNSET + content_sha_256: str | Unset = UNSET + additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) + + def to_dict(self) -> dict[str, Any]: + type_: str | Unset = UNSET + if not isinstance(self.type_, Unset): + type_ = self.type_.value + + uri = self.uri + + content_sha_256 = self.content_sha_256 + + field_dict: dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if type_ is not UNSET: + field_dict["type"] = type_ + if uri is not UNSET: + field_dict["uri"] = uri + if content_sha_256 is not UNSET: + field_dict["contentSha256"] = content_sha_256 + + return field_dict + + @classmethod + def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: + d = dict(src_dict) + _type_ = d.pop("type", UNSET) + type_: ProcessResource | Unset + if isinstance(_type_, Unset): + type_ = UNSET + else: + type_ = ProcessResource(_type_) + + uri = d.pop("uri", UNSET) + + content_sha_256 = d.pop("contentSha256", UNSET) + + saved_process_revision = cls( + type_=type_, + uri=uri, + content_sha_256=content_sha_256, + ) + + saved_process_revision.additional_properties = d + return saved_process_revision + + @property + def additional_keys(self) -> list[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/cirro_api_client/v1/models/sftp_credentials.py b/cirro_api_client/v1/models/sftp_credentials.py index 0f108ab..57a3590 100644 --- a/cirro_api_client/v1/models/sftp_credentials.py +++ b/cirro_api_client/v1/models/sftp_credentials.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse T = TypeVar("T", bound="SftpCredentials") @@ -58,7 +57,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: project_id = d.pop("projectId") - expires_at = isoparse(d.pop("expiresAt")) + expires_at = datetime.datetime.fromisoformat(d.pop("expiresAt")) sftp_credentials = cls( username=username, diff --git a/cirro_api_client/v1/models/share.py b/cirro_api_client/v1/models/share.py index 1d1e630..971fd09 100644 --- a/cirro_api_client/v1/models/share.py +++ b/cirro_api_client/v1/models/share.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..models.share_type import ShareType @@ -28,6 +27,7 @@ class Share: share_type (ShareType): conditions (list[DatasetCondition]): classification_ids (list[str]): + is_view_restricted (bool): keywords (list[str]): created_by (str): created_at (datetime.datetime): @@ -41,6 +41,7 @@ class Share: share_type: ShareType conditions: list[DatasetCondition] classification_ids: list[str] + is_view_restricted: bool keywords: list[str] created_by: str created_at: datetime.datetime @@ -65,6 +66,8 @@ def to_dict(self) -> dict[str, Any]: classification_ids = self.classification_ids + is_view_restricted = self.is_view_restricted + keywords = self.keywords created_by = self.created_by @@ -84,6 +87,7 @@ def to_dict(self) -> dict[str, Any]: "shareType": share_type, "conditions": conditions, "classificationIds": classification_ids, + "isViewRestricted": is_view_restricted, "keywords": keywords, "createdBy": created_by, "createdAt": created_at, @@ -117,13 +121,15 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: classification_ids = cast(list[str], d.pop("classificationIds")) + is_view_restricted = d.pop("isViewRestricted") + keywords = cast(list[str], d.pop("keywords")) created_by = d.pop("createdBy") - created_at = isoparse(d.pop("createdAt")) + created_at = datetime.datetime.fromisoformat(d.pop("createdAt")) - updated_at = isoparse(d.pop("updatedAt")) + updated_at = datetime.datetime.fromisoformat(d.pop("updatedAt")) share = cls( id=id, @@ -133,6 +139,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: share_type=share_type, conditions=conditions, classification_ids=classification_ids, + is_view_restricted=is_view_restricted, keywords=keywords, created_by=created_by, created_at=created_at, diff --git a/cirro_api_client/v1/models/share_detail.py b/cirro_api_client/v1/models/share_detail.py index e6fde92..80bb366 100644 --- a/cirro_api_client/v1/models/share_detail.py +++ b/cirro_api_client/v1/models/share_detail.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..models.share_type import ShareType @@ -145,9 +144,9 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: created_by = d.pop("createdBy") - created_at = isoparse(d.pop("createdAt")) + created_at = datetime.datetime.fromisoformat(d.pop("createdAt")) - updated_at = isoparse(d.pop("updatedAt")) + updated_at = datetime.datetime.fromisoformat(d.pop("updatedAt")) share_detail = cls( id=id, diff --git a/cirro_api_client/v1/models/share_usage.py b/cirro_api_client/v1/models/share_usage.py new file mode 100644 index 0000000..8f0bfd5 --- /dev/null +++ b/cirro_api_client/v1/models/share_usage.py @@ -0,0 +1,149 @@ +from __future__ import annotations + +import datetime +from collections.abc import Mapping +from typing import TYPE_CHECKING, Any, TypeVar + +from attrs import define as _attrs_define +from attrs import field as _attrs_field + +from ..models.status import Status +from ..types import UNSET, Unset + +if TYPE_CHECKING: + from ..models.entity import Entity + + +T = TypeVar("T", bound="ShareUsage") + + +@_attrs_define +class ShareUsage: + """Record of a consuming item has been granted access to a dataset via a share. + + Attributes: + id (str): + consuming_item (Entity): + updated_at (datetime.datetime): + consuming_project_id (str | Unset): ID of the project the consuming item belongs to. + originating_dataset_id (str | Unset): ID of the dataset in the originating project that was shared. + status (Status | Unset): Current state of the usage. RUNNING means access is active; DELETED means the access + point has been revoked. + access_point_arn (str | Unset): ARN of the shared AWS S3 access point. One access point covers all usages from + the same consuming item to the same originating project. + created_at (datetime.datetime | Unset): When access was first granted. + """ + + id: str + consuming_item: Entity + updated_at: datetime.datetime + consuming_project_id: str | Unset = UNSET + originating_dataset_id: str | Unset = UNSET + status: Status | Unset = UNSET + access_point_arn: str | Unset = UNSET + created_at: datetime.datetime | Unset = UNSET + additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) + + def to_dict(self) -> dict[str, Any]: + id = self.id + + consuming_item = self.consuming_item.to_dict() + + updated_at = self.updated_at.isoformat() + + consuming_project_id = self.consuming_project_id + + originating_dataset_id = self.originating_dataset_id + + status: str | Unset = UNSET + if not isinstance(self.status, Unset): + status = self.status.value + + access_point_arn = self.access_point_arn + + created_at: str | Unset = UNSET + if not isinstance(self.created_at, Unset): + created_at = self.created_at.isoformat() + + field_dict: dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update( + { + "id": id, + "consumingItem": consuming_item, + "updatedAt": updated_at, + } + ) + if consuming_project_id is not UNSET: + field_dict["consumingProjectId"] = consuming_project_id + if originating_dataset_id is not UNSET: + field_dict["originatingDatasetId"] = originating_dataset_id + if status is not UNSET: + field_dict["status"] = status + if access_point_arn is not UNSET: + field_dict["accessPointArn"] = access_point_arn + if created_at is not UNSET: + field_dict["createdAt"] = created_at + + return field_dict + + @classmethod + def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: + from ..models.entity import Entity + + d = dict(src_dict) + id = d.pop("id") + + consuming_item = Entity.from_dict(d.pop("consumingItem")) + + updated_at = datetime.datetime.fromisoformat(d.pop("updatedAt")) + + consuming_project_id = d.pop("consumingProjectId", UNSET) + + originating_dataset_id = d.pop("originatingDatasetId", UNSET) + + _status = d.pop("status", UNSET) + status: Status | Unset + if isinstance(_status, Unset): + status = UNSET + else: + status = Status(_status) + + access_point_arn = d.pop("accessPointArn", UNSET) + + _created_at = d.pop("createdAt", UNSET) + created_at: datetime.datetime | Unset + if isinstance(_created_at, Unset): + created_at = UNSET + else: + created_at = datetime.datetime.fromisoformat(_created_at) + + share_usage = cls( + id=id, + consuming_item=consuming_item, + updated_at=updated_at, + consuming_project_id=consuming_project_id, + originating_dataset_id=originating_dataset_id, + status=status, + access_point_arn=access_point_arn, + created_at=created_at, + ) + + share_usage.additional_properties = d + return share_usage + + @property + def additional_keys(self) -> list[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/cirro_api_client/v1/models/shared_filesystem.py b/cirro_api_client/v1/models/shared_filesystem.py index d2c3acc..1242447 100644 --- a/cirro_api_client/v1/models/shared_filesystem.py +++ b/cirro_api_client/v1/models/shared_filesystem.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..models.status import Status from ..types import UNSET, Unset @@ -26,7 +25,8 @@ class SharedFilesystem: name (str): description (str): project_id (str): - status (Status): + status (Status): Current state of the usage. RUNNING means access is active; DELETED means the access point has + been revoked. created_by (str): created_at (datetime.datetime): updated_at (datetime.datetime): @@ -140,9 +140,9 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: created_by = d.pop("createdBy") - created_at = isoparse(d.pop("createdAt")) + created_at = datetime.datetime.fromisoformat(d.pop("createdAt")) - updated_at = isoparse(d.pop("updatedAt")) + updated_at = datetime.datetime.fromisoformat(d.pop("updatedAt")) def _parse_status_message(data: object) -> None | str | Unset: if data is None: diff --git a/cirro_api_client/v1/models/sheet.py b/cirro_api_client/v1/models/sheet.py index 083b6b5..bb19308 100644 --- a/cirro_api_client/v1/models/sheet.py +++ b/cirro_api_client/v1/models/sheet.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..models.sheet_creation_mode import SheetCreationMode from ..models.sheet_type import SheetType @@ -31,7 +30,8 @@ class Sheet: project_id (str): sheet_type (SheetType): sheet_creation_mode (SheetCreationMode): - status (Status): + status (Status): Current state of the usage. RUNNING means access is active; DELETED means the access point has + been revoked. created_by (str): created_at (datetime.datetime): updated_at (datetime.datetime): @@ -135,9 +135,9 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: created_by = d.pop("createdBy") - created_at = isoparse(d.pop("createdAt")) + created_at = datetime.datetime.fromisoformat(d.pop("createdAt")) - updated_at = isoparse(d.pop("updatedAt")) + updated_at = datetime.datetime.fromisoformat(d.pop("updatedAt")) total_row_count = d.pop("totalRowCount") diff --git a/cirro_api_client/v1/models/sheet_data_update_response.py b/cirro_api_client/v1/models/sheet_data_update_response.py index 60dd20e..c066ac5 100644 --- a/cirro_api_client/v1/models/sheet_data_update_response.py +++ b/cirro_api_client/v1/models/sheet_data_update_response.py @@ -11,7 +11,7 @@ @_attrs_define class SheetDataUpdateResponse: - """Data update response for inserts (coming soon), deletes, and updates. + """Data update response for inserts, deletes, and updates. Attributes: rows_affected (int): Number of sheet rows updated (deleted, inserted, updated). diff --git a/cirro_api_client/v1/models/sheet_detail.py b/cirro_api_client/v1/models/sheet_detail.py index a781e52..087d3d6 100644 --- a/cirro_api_client/v1/models/sheet_detail.py +++ b/cirro_api_client/v1/models/sheet_detail.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..models.sheet_creation_mode import SheetCreationMode from ..models.sheet_type import SheetType @@ -34,7 +33,8 @@ class SheetDetail: namespace_name (str): table_name (str): sheet_type (SheetType): - status (Status): + status (Status): Current state of the usage. RUNNING means access is active; DELETED means the access point has + been revoked. audit_read_access (bool): created_by (str): created_at (datetime.datetime): @@ -215,9 +215,9 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: created_by = d.pop("createdBy") - created_at = isoparse(d.pop("createdAt")) + created_at = datetime.datetime.fromisoformat(d.pop("createdAt")) - updated_at = isoparse(d.pop("updatedAt")) + updated_at = datetime.datetime.fromisoformat(d.pop("updatedAt")) total_row_count = d.pop("totalRowCount") @@ -300,7 +300,7 @@ def _parse_last_refreshed_at(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - last_refreshed_at_type_0 = isoparse(data) + last_refreshed_at_type_0 = datetime.datetime.fromisoformat(data) return last_refreshed_at_type_0 except (TypeError, ValueError, AttributeError, KeyError): diff --git a/cirro_api_client/v1/models/sheet_job.py b/cirro_api_client/v1/models/sheet_job.py index e4f5097..11dda16 100644 --- a/cirro_api_client/v1/models/sheet_job.py +++ b/cirro_api_client/v1/models/sheet_job.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..models.sheet_job_type import SheetJobType from ..models.status import Status @@ -22,7 +21,8 @@ class SheetJob: id (str): sheet_id (str): job_type (SheetJobType): - status (Status): + status (Status): Current state of the usage. RUNNING means access is active; DELETED means the access point has + been revoked. created_at (datetime.datetime): updated_at (datetime.datetime): started_at (datetime.datetime | None | Unset): @@ -128,9 +128,9 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: status = Status(d.pop("status")) - created_at = isoparse(d.pop("createdAt")) + created_at = datetime.datetime.fromisoformat(d.pop("createdAt")) - updated_at = isoparse(d.pop("updatedAt")) + updated_at = datetime.datetime.fromisoformat(d.pop("updatedAt")) def _parse_started_at(data: object) -> datetime.datetime | None | Unset: if data is None: @@ -140,7 +140,7 @@ def _parse_started_at(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - started_at_type_0 = isoparse(data) + started_at_type_0 = datetime.datetime.fromisoformat(data) return started_at_type_0 except (TypeError, ValueError, AttributeError, KeyError): @@ -157,7 +157,7 @@ def _parse_completed_at(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - completed_at_type_0 = isoparse(data) + completed_at_type_0 = datetime.datetime.fromisoformat(data) return completed_at_type_0 except (TypeError, ValueError, AttributeError, KeyError): diff --git a/cirro_api_client/v1/models/sheet_query_response.py b/cirro_api_client/v1/models/sheet_query_response.py index eeb5fb1..50ebcf8 100644 --- a/cirro_api_client/v1/models/sheet_query_response.py +++ b/cirro_api_client/v1/models/sheet_query_response.py @@ -17,11 +17,8 @@ @_attrs_define class SheetQueryResponse: """Paginated query result from a sheet. - - - The first column is always `_row_id`, an Iceberg v3 metadata column that - uniquely identifies each row. Clients should use this value when calling the - update endpoint (`PUT /projects/{projectId}/sheets/{sheetId}/data`). + The first column is always `_row_id` which uniquely identifies each row. + Clients should use this value when calling the update endpoint (`PUT /projects/{projectId}/sheets/{sheetId}/data`) Attributes: columns (list[QueryColumn]): column definitions, starting with `_row_id` diff --git a/cirro_api_client/v1/models/sheet_query_response_rows_item.py b/cirro_api_client/v1/models/sheet_query_response_rows_item.py index 01d8615..12dae57 100644 --- a/cirro_api_client/v1/models/sheet_query_response_rows_item.py +++ b/cirro_api_client/v1/models/sheet_query_response_rows_item.py @@ -16,6 +16,7 @@ class SheetQueryResponseRowsItem: additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/task.py b/cirro_api_client/v1/models/task.py index c4b0519..b690866 100644 --- a/cirro_api_client/v1/models/task.py +++ b/cirro_api_client/v1/models/task.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..types import UNSET, Unset @@ -180,7 +179,7 @@ def _parse_requested_at(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - requested_at_type_0 = isoparse(data) + requested_at_type_0 = datetime.datetime.fromisoformat(data) return requested_at_type_0 except (TypeError, ValueError, AttributeError, KeyError): @@ -197,7 +196,7 @@ def _parse_started_at(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - started_at_type_0 = isoparse(data) + started_at_type_0 = datetime.datetime.fromisoformat(data) return started_at_type_0 except (TypeError, ValueError, AttributeError, KeyError): @@ -214,7 +213,7 @@ def _parse_stopped_at(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - stopped_at_type_0 = isoparse(data) + stopped_at_type_0 = datetime.datetime.fromisoformat(data) return stopped_at_type_0 except (TypeError, ValueError, AttributeError, KeyError): diff --git a/cirro_api_client/v1/models/user_detail.py b/cirro_api_client/v1/models/user_detail.py index 889e9a7..f747cb9 100644 --- a/cirro_api_client/v1/models/user_detail.py +++ b/cirro_api_client/v1/models/user_detail.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..types import UNSET, Unset @@ -239,7 +238,7 @@ def _parse_sign_up_time(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - sign_up_time_type_0 = isoparse(data) + sign_up_time_type_0 = datetime.datetime.fromisoformat(data) return sign_up_time_type_0 except (TypeError, ValueError, AttributeError, KeyError): @@ -256,7 +255,7 @@ def _parse_last_signed_in(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - last_signed_in_type_0 = isoparse(data) + last_signed_in_type_0 = datetime.datetime.fromisoformat(data) return last_signed_in_type_0 except (TypeError, ValueError, AttributeError, KeyError): diff --git a/cirro_api_client/v1/models/user_project_assignment.py b/cirro_api_client/v1/models/user_project_assignment.py index f0fa09a..8d1aeab 100644 --- a/cirro_api_client/v1/models/user_project_assignment.py +++ b/cirro_api_client/v1/models/user_project_assignment.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..models.project_role import ProjectRole from ..types import UNSET, Unset @@ -76,7 +75,7 @@ def _parse_created_at(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - created_at_type_0 = isoparse(data) + created_at_type_0 = datetime.datetime.fromisoformat(data) return created_at_type_0 except (TypeError, ValueError, AttributeError, KeyError): diff --git a/cirro_api_client/v1/models/workspace.py b/cirro_api_client/v1/models/workspace.py index 9d99692..00b0210 100644 --- a/cirro_api_client/v1/models/workspace.py +++ b/cirro_api_client/v1/models/workspace.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse from ..models.sharing_type import SharingType from ..models.status import Status @@ -29,7 +28,8 @@ class Workspace: name (str): description (str): project_id (str): - status (Status): + status (Status): Current state of the usage. RUNNING means access is active; DELETED means the access point has + been revoked. status_message (str): environment_id (str): mounted_datasets (list[MountedDataset]): @@ -192,9 +192,9 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: created_by = d.pop("createdBy") - created_at = isoparse(d.pop("createdAt")) + created_at = datetime.datetime.fromisoformat(d.pop("createdAt")) - updated_at = isoparse(d.pop("updatedAt")) + updated_at = datetime.datetime.fromisoformat(d.pop("updatedAt")) def _parse_auto_stop_timeout(data: object) -> int | None | Unset: if data is None: @@ -235,7 +235,7 @@ def _parse_started_at(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - started_at_type_0 = isoparse(data) + started_at_type_0 = datetime.datetime.fromisoformat(data) return started_at_type_0 except (TypeError, ValueError, AttributeError, KeyError): @@ -252,7 +252,7 @@ def _parse_auto_stop_time(data: object) -> datetime.datetime | None | Unset: try: if not isinstance(data, str): raise TypeError() - auto_stop_time_type_0 = isoparse(data) + auto_stop_time_type_0 = datetime.datetime.fromisoformat(data) return auto_stop_time_type_0 except (TypeError, ValueError, AttributeError, KeyError): diff --git a/cirro_api_client/v1/models/workspace_compute_config_environment_variables.py b/cirro_api_client/v1/models/workspace_compute_config_environment_variables.py index bc97267..aa89180 100644 --- a/cirro_api_client/v1/models/workspace_compute_config_environment_variables.py +++ b/cirro_api_client/v1/models/workspace_compute_config_environment_variables.py @@ -21,6 +21,7 @@ class WorkspaceComputeConfigEnvironmentVariables: additional_properties: dict[str, str] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) diff --git a/cirro_api_client/v1/models/workspace_connection_response.py b/cirro_api_client/v1/models/workspace_connection_response.py index 4a60e25..4d7b005 100644 --- a/cirro_api_client/v1/models/workspace_connection_response.py +++ b/cirro_api_client/v1/models/workspace_connection_response.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse T = TypeVar("T", bound="WorkspaceConnectionResponse") @@ -49,7 +48,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: d = dict(src_dict) connection_url = d.pop("connectionUrl") - expires_at = isoparse(d.pop("expiresAt")) + expires_at = datetime.datetime.fromisoformat(d.pop("expiresAt")) message = d.pop("message") diff --git a/cirro_api_client/v1/models/workspace_session.py b/cirro_api_client/v1/models/workspace_session.py index 790669c..a0ed3bc 100644 --- a/cirro_api_client/v1/models/workspace_session.py +++ b/cirro_api_client/v1/models/workspace_session.py @@ -6,7 +6,6 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -from dateutil.parser import isoparse T = TypeVar("T", bound="WorkspaceSession") @@ -51,7 +50,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: user = d.pop("user") - created_at = isoparse(d.pop("createdAt")) + created_at = datetime.datetime.fromisoformat(d.pop("createdAt")) workspace_session = cls( id=id, From 6652b722f244342664838dd0f1e784e085d5985d Mon Sep 17 00:00:00 2001 From: Nathan Thorpe Date: Mon, 22 Jun 2026 16:44:33 -0700 Subject: [PATCH 3/6] revert whitespace change --- cirro_api_client/v1/api/app_registrations/approve_app.py | 1 - .../v1/api/app_registrations/archive_app_registration.py | 1 - .../v1/api/app_registrations/get_app_registration.py | 1 - .../app_registrations/list_app_registration_templates.py | 1 - .../v1/api/app_registrations/list_app_registrations.py | 1 - .../v1/api/app_registrations/list_my_app_registrations.py | 1 - .../v1/api/app_registrations/regenerate_secret.py | 1 - cirro_api_client/v1/api/audit/get_event.py | 1 - cirro_api_client/v1/api/audit/list_events.py | 1 - cirro_api_client/v1/api/billing/delete_billing_account.py | 1 - cirro_api_client/v1/api/billing/get_billing_accounts.py | 1 - cirro_api_client/v1/api/compute_environment/delete_agent.py | 1 - .../api/compute_environment/delete_compute_environment.py | 1 - cirro_api_client/v1/api/compute_environment/get_agents.py | 1 - .../v1/api/compute_environment/get_compute_environments.py | 1 - cirro_api_client/v1/api/dashboards/delete_dashboard.py | 1 - .../v1/api/dashboards/delete_dashboard_template.py | 1 - cirro_api_client/v1/api/dashboards/get_dashboard.py | 1 - .../v1/api/dashboards/get_dashboard_template.py | 1 - .../v1/api/dashboards/get_dashboard_templates.py | 1 - cirro_api_client/v1/api/dashboards/get_dashboards.py | 1 - cirro_api_client/v1/api/datasets/delete_dataset.py | 1 - cirro_api_client/v1/api/datasets/get_dataset.py | 1 - cirro_api_client/v1/api/datasets/get_dataset_manifest.py | 1 - cirro_api_client/v1/api/datasets/get_datasets.py | 1 - cirro_api_client/v1/api/datasets/get_sample_sheets.py | 1 - cirro_api_client/v1/api/datasets/ingest_samples.py | 1 - cirro_api_client/v1/api/datasets/regenerate_manifest.py | 1 - cirro_api_client/v1/api/datasets/rerun_transform.py | 1 - cirro_api_client/v1/api/execution/calculate_cost.py | 1 - cirro_api_client/v1/api/execution/get_execution_logs.py | 1 - cirro_api_client/v1/api/execution/get_project_summary.py | 1 - cirro_api_client/v1/api/execution/get_task.py | 1 - cirro_api_client/v1/api/execution/get_task_files.py | 1 - cirro_api_client/v1/api/execution/get_task_logs.py | 1 - .../v1/api/execution/get_tasks_for_execution.py | 1 - cirro_api_client/v1/api/execution/stop_analysis.py | 1 - cirro_api_client/v1/api/feed/delete_discussion.py | 1 - cirro_api_client/v1/api/feed/delete_message.py | 1 - cirro_api_client/v1/api/feed/get_discussion.py | 1 - cirro_api_client/v1/api/feed/get_discussions_for_entity.py | 1 - cirro_api_client/v1/api/feed/get_messages_for_discussion.py | 1 - cirro_api_client/v1/api/governance/delete_classification.py | 1 - cirro_api_client/v1/api/governance/delete_contact.py | 1 - cirro_api_client/v1/api/governance/delete_requirement.py | 1 - cirro_api_client/v1/api/governance/get_classification.py | 1 - cirro_api_client/v1/api/governance/get_classifications.py | 1 - cirro_api_client/v1/api/governance/get_contact.py | 1 - cirro_api_client/v1/api/governance/get_contacts.py | 1 - cirro_api_client/v1/api/governance/get_requirement.py | 1 - cirro_api_client/v1/api/governance/get_requirements.py | 1 - .../v1/api/governance/get_requirements_by_project.py | 1 - cirro_api_client/v1/api/metadata/get_dataset_samples.py | 1 - cirro_api_client/v1/api/metadata/get_project_samples.py | 1 - cirro_api_client/v1/api/metadata/get_project_schema.py | 1 - cirro_api_client/v1/api/metadata/get_sample_by_id.py | 1 - cirro_api_client/v1/api/metrics/get_all_metrics.py | 1 - cirro_api_client/v1/api/metrics/get_project_metrics.py | 1 - cirro_api_client/v1/api/processes/archive_custom_process.py | 1 - .../v1/api/processes/get_latest_process_revision.py | 1 - cirro_api_client/v1/api/processes/get_process.py | 1 - .../v1/api/processes/get_process_documentation.py | 1 - cirro_api_client/v1/api/processes/get_process_parameters.py | 1 - cirro_api_client/v1/api/processes/get_process_resource.py | 1 - cirro_api_client/v1/api/processes/get_process_revision.py | 1 - cirro_api_client/v1/api/processes/get_processes.py | 1 - cirro_api_client/v1/api/processes/list_process_revisions.py | 1 - cirro_api_client/v1/api/processes/sync_custom_process.py | 1 - cirro_api_client/v1/api/projects/archive_project.py | 1 - cirro_api_client/v1/api/projects/deny_access_request.py | 1 - cirro_api_client/v1/api/projects/get_access_requests.py | 1 - .../v1/api/projects/get_discoverable_projects.py | 1 - cirro_api_client/v1/api/projects/get_project.py | 1 - .../v1/api/projects/get_project_create_options.py | 1 - cirro_api_client/v1/api/projects/get_project_users.py | 1 - cirro_api_client/v1/api/projects/get_projects.py | 1 - cirro_api_client/v1/api/projects/get_quotas.py | 1 - cirro_api_client/v1/api/projects/redeploy_project.py | 1 - cirro_api_client/v1/api/projects/unarchive_project.py | 1 - .../v1/api/references/delete_project_reference.py | 1 - cirro_api_client/v1/api/references/get_reference_types.py | 1 - cirro_api_client/v1/api/references/get_references.py | 1 - .../v1/api/references/get_references_for_project.py | 1 - .../v1/api/references/refresh_project_references.py | 1 - .../v1/api/shared_filesystems/delete_shared_filesystem.py | 1 - .../v1/api/shared_filesystems/get_shared_filesystem.py | 1 - .../v1/api/shared_filesystems/list_shared_filesystems.py | 1 - cirro_api_client/v1/api/sharing/delete_share.py | 1 - cirro_api_client/v1/api/sharing/get_discoverable_shares.py | 1 - cirro_api_client/v1/api/sharing/get_share.py | 1 - cirro_api_client/v1/api/sharing/get_share_usages.py | 1 - cirro_api_client/v1/api/sharing/get_shared_datasets.py | 1 - cirro_api_client/v1/api/sharing/get_shares.py | 1 - cirro_api_client/v1/api/sharing/revoke_share_usage.py | 1 - cirro_api_client/v1/api/sharing/subscribe_share.py | 1 - cirro_api_client/v1/api/sharing/unsubscribe_share.py | 1 - cirro_api_client/v1/api/sheets/delete_sheet.py | 1 - cirro_api_client/v1/api/sheets/get_jobs.py | 1 - cirro_api_client/v1/api/sheets/get_sheet.py | 1 - cirro_api_client/v1/api/sheets/get_sheet_data.py | 1 - cirro_api_client/v1/api/sheets/get_sheets.py | 1 - cirro_api_client/v1/api/sheets/refresh_view.py | 1 - cirro_api_client/v1/api/system/get_service_connections.py | 1 - cirro_api_client/v1/api/system/info.py | 1 - cirro_api_client/v1/api/users/get_user.py | 1 - cirro_api_client/v1/api/users/list_users.py | 1 - cirro_api_client/v1/api/users/sign_out_user.py | 1 - cirro_api_client/v1/api/workspaces/connect_workspace.py | 1 - cirro_api_client/v1/api/workspaces/delete_workspace.py | 1 - cirro_api_client/v1/api/workspaces/disconnect_workspace.py | 1 - cirro_api_client/v1/api/workspaces/get_workspace.py | 1 - .../v1/api/workspaces/get_workspace_environments.py | 1 - cirro_api_client/v1/api/workspaces/get_workspace_logs.py | 1 - cirro_api_client/v1/api/workspaces/get_workspaces.py | 1 - cirro_api_client/v1/api/workspaces/start_workspace.py | 1 - cirro_api_client/v1/api/workspaces/stop_workspace.py | 1 - templates/endpoint_module.py.jinja | 6 ++++++ 117 files changed, 6 insertions(+), 116 deletions(-) diff --git a/cirro_api_client/v1/api/app_registrations/approve_app.py b/cirro_api_client/v1/api/app_registrations/approve_app.py index 64a36cd..8eea3c5 100644 --- a/cirro_api_client/v1/api/app_registrations/approve_app.py +++ b/cirro_api_client/v1/api/app_registrations/approve_app.py @@ -12,7 +12,6 @@ def _get_kwargs( id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "post", "url": "/app-registrations/{id}:approve".format( diff --git a/cirro_api_client/v1/api/app_registrations/archive_app_registration.py b/cirro_api_client/v1/api/app_registrations/archive_app_registration.py index 7d381fb..4223e82 100644 --- a/cirro_api_client/v1/api/app_registrations/archive_app_registration.py +++ b/cirro_api_client/v1/api/app_registrations/archive_app_registration.py @@ -12,7 +12,6 @@ def _get_kwargs( id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "delete", "url": "/app-registrations/{id}".format( diff --git a/cirro_api_client/v1/api/app_registrations/get_app_registration.py b/cirro_api_client/v1/api/app_registrations/get_app_registration.py index bd7350a..dc5458c 100644 --- a/cirro_api_client/v1/api/app_registrations/get_app_registration.py +++ b/cirro_api_client/v1/api/app_registrations/get_app_registration.py @@ -13,7 +13,6 @@ def _get_kwargs( id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/app-registrations/{id}".format( diff --git a/cirro_api_client/v1/api/app_registrations/list_app_registration_templates.py b/cirro_api_client/v1/api/app_registrations/list_app_registration_templates.py index 62d80b1..b3f02ce 100644 --- a/cirro_api_client/v1/api/app_registrations/list_app_registration_templates.py +++ b/cirro_api_client/v1/api/app_registrations/list_app_registration_templates.py @@ -10,7 +10,6 @@ def _get_kwargs() -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/app-registration-templates", diff --git a/cirro_api_client/v1/api/app_registrations/list_app_registrations.py b/cirro_api_client/v1/api/app_registrations/list_app_registrations.py index c23f7e9..894418a 100644 --- a/cirro_api_client/v1/api/app_registrations/list_app_registrations.py +++ b/cirro_api_client/v1/api/app_registrations/list_app_registrations.py @@ -14,7 +14,6 @@ def _get_kwargs( limit: int | Unset = 100, next_token: str | Unset = UNSET, ) -> dict[str, Any]: - params: dict[str, Any] = {} params["limit"] = limit diff --git a/cirro_api_client/v1/api/app_registrations/list_my_app_registrations.py b/cirro_api_client/v1/api/app_registrations/list_my_app_registrations.py index 534b78b..e55bd1e 100644 --- a/cirro_api_client/v1/api/app_registrations/list_my_app_registrations.py +++ b/cirro_api_client/v1/api/app_registrations/list_my_app_registrations.py @@ -10,7 +10,6 @@ def _get_kwargs() -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/app-registrations/mine", diff --git a/cirro_api_client/v1/api/app_registrations/regenerate_secret.py b/cirro_api_client/v1/api/app_registrations/regenerate_secret.py index dfe4613..7f87ad2 100644 --- a/cirro_api_client/v1/api/app_registrations/regenerate_secret.py +++ b/cirro_api_client/v1/api/app_registrations/regenerate_secret.py @@ -13,7 +13,6 @@ def _get_kwargs( id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "post", "url": "/app-registrations/{id}:regenerate-secret".format( diff --git a/cirro_api_client/v1/api/audit/get_event.py b/cirro_api_client/v1/api/audit/get_event.py index 224252e..92591a5 100644 --- a/cirro_api_client/v1/api/audit/get_event.py +++ b/cirro_api_client/v1/api/audit/get_event.py @@ -13,7 +13,6 @@ def _get_kwargs( audit_event_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/audit-events/{audit_event_id}".format( diff --git a/cirro_api_client/v1/api/audit/list_events.py b/cirro_api_client/v1/api/audit/list_events.py index 335fd70..d6d3e87 100644 --- a/cirro_api_client/v1/api/audit/list_events.py +++ b/cirro_api_client/v1/api/audit/list_events.py @@ -16,7 +16,6 @@ def _get_kwargs( entity_type: ListEventsEntityType | Unset = UNSET, entity_id: str | Unset = UNSET, ) -> dict[str, Any]: - params: dict[str, Any] = {} params["username"] = username diff --git a/cirro_api_client/v1/api/billing/delete_billing_account.py b/cirro_api_client/v1/api/billing/delete_billing_account.py index ff1a225..937595d 100644 --- a/cirro_api_client/v1/api/billing/delete_billing_account.py +++ b/cirro_api_client/v1/api/billing/delete_billing_account.py @@ -12,7 +12,6 @@ def _get_kwargs( billing_account_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "delete", "url": "/billing/{billing_account_id}".format( diff --git a/cirro_api_client/v1/api/billing/get_billing_accounts.py b/cirro_api_client/v1/api/billing/get_billing_accounts.py index fbf0202..cdc4320 100644 --- a/cirro_api_client/v1/api/billing/get_billing_accounts.py +++ b/cirro_api_client/v1/api/billing/get_billing_accounts.py @@ -13,7 +13,6 @@ def _get_kwargs( *, include_archived: bool | Unset = False, ) -> dict[str, Any]: - params: dict[str, Any] = {} params["includeArchived"] = include_archived diff --git a/cirro_api_client/v1/api/compute_environment/delete_agent.py b/cirro_api_client/v1/api/compute_environment/delete_agent.py index 2823163..0451b38 100644 --- a/cirro_api_client/v1/api/compute_environment/delete_agent.py +++ b/cirro_api_client/v1/api/compute_environment/delete_agent.py @@ -12,7 +12,6 @@ def _get_kwargs( agent_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "delete", "url": "/agents/{agent_id}".format( diff --git a/cirro_api_client/v1/api/compute_environment/delete_compute_environment.py b/cirro_api_client/v1/api/compute_environment/delete_compute_environment.py index b88c737..0520efd 100644 --- a/cirro_api_client/v1/api/compute_environment/delete_compute_environment.py +++ b/cirro_api_client/v1/api/compute_environment/delete_compute_environment.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, compute_environment_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "delete", "url": "/projects/{project_id}/compute-environments/{compute_environment_id}".format( diff --git a/cirro_api_client/v1/api/compute_environment/get_agents.py b/cirro_api_client/v1/api/compute_environment/get_agents.py index cea8675..52c2e1d 100644 --- a/cirro_api_client/v1/api/compute_environment/get_agents.py +++ b/cirro_api_client/v1/api/compute_environment/get_agents.py @@ -10,7 +10,6 @@ def _get_kwargs() -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/agents", diff --git a/cirro_api_client/v1/api/compute_environment/get_compute_environments.py b/cirro_api_client/v1/api/compute_environment/get_compute_environments.py index d37a64f..5ef0991 100644 --- a/cirro_api_client/v1/api/compute_environment/get_compute_environments.py +++ b/cirro_api_client/v1/api/compute_environment/get_compute_environments.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/compute-environments".format( diff --git a/cirro_api_client/v1/api/dashboards/delete_dashboard.py b/cirro_api_client/v1/api/dashboards/delete_dashboard.py index 22f53d4..17d0b1c 100644 --- a/cirro_api_client/v1/api/dashboards/delete_dashboard.py +++ b/cirro_api_client/v1/api/dashboards/delete_dashboard.py @@ -14,7 +14,6 @@ def _get_kwargs( project_id: str, dashboard_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "delete", "url": "/projects/{project_id}/dashboards/{dashboard_id}".format( diff --git a/cirro_api_client/v1/api/dashboards/delete_dashboard_template.py b/cirro_api_client/v1/api/dashboards/delete_dashboard_template.py index b816d7c..5e93686 100644 --- a/cirro_api_client/v1/api/dashboards/delete_dashboard_template.py +++ b/cirro_api_client/v1/api/dashboards/delete_dashboard_template.py @@ -12,7 +12,6 @@ def _get_kwargs( dashboard_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "delete", "url": "/dashboards/{dashboard_id}".format( diff --git a/cirro_api_client/v1/api/dashboards/get_dashboard.py b/cirro_api_client/v1/api/dashboards/get_dashboard.py index 2f95acd..e29e4ef 100644 --- a/cirro_api_client/v1/api/dashboards/get_dashboard.py +++ b/cirro_api_client/v1/api/dashboards/get_dashboard.py @@ -14,7 +14,6 @@ def _get_kwargs( project_id: str, dashboard_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/dashboards/{dashboard_id}".format( diff --git a/cirro_api_client/v1/api/dashboards/get_dashboard_template.py b/cirro_api_client/v1/api/dashboards/get_dashboard_template.py index bec0dd9..2bd4e8c 100644 --- a/cirro_api_client/v1/api/dashboards/get_dashboard_template.py +++ b/cirro_api_client/v1/api/dashboards/get_dashboard_template.py @@ -13,7 +13,6 @@ def _get_kwargs( dashboard_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/dashboards/{dashboard_id}".format( diff --git a/cirro_api_client/v1/api/dashboards/get_dashboard_templates.py b/cirro_api_client/v1/api/dashboards/get_dashboard_templates.py index 96cc24e..8fd9e12 100644 --- a/cirro_api_client/v1/api/dashboards/get_dashboard_templates.py +++ b/cirro_api_client/v1/api/dashboards/get_dashboard_templates.py @@ -10,7 +10,6 @@ def _get_kwargs() -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/dashboards", diff --git a/cirro_api_client/v1/api/dashboards/get_dashboards.py b/cirro_api_client/v1/api/dashboards/get_dashboards.py index 2349027..f33d788 100644 --- a/cirro_api_client/v1/api/dashboards/get_dashboards.py +++ b/cirro_api_client/v1/api/dashboards/get_dashboards.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/dashboards".format( diff --git a/cirro_api_client/v1/api/datasets/delete_dataset.py b/cirro_api_client/v1/api/datasets/delete_dataset.py index 18dd78f..778c8f0 100644 --- a/cirro_api_client/v1/api/datasets/delete_dataset.py +++ b/cirro_api_client/v1/api/datasets/delete_dataset.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, dataset_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "delete", "url": "/projects/{project_id}/datasets/{dataset_id}".format( diff --git a/cirro_api_client/v1/api/datasets/get_dataset.py b/cirro_api_client/v1/api/datasets/get_dataset.py index 7fcb967..9486543 100644 --- a/cirro_api_client/v1/api/datasets/get_dataset.py +++ b/cirro_api_client/v1/api/datasets/get_dataset.py @@ -14,7 +14,6 @@ def _get_kwargs( project_id: str, dataset_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/datasets/{dataset_id}".format( diff --git a/cirro_api_client/v1/api/datasets/get_dataset_manifest.py b/cirro_api_client/v1/api/datasets/get_dataset_manifest.py index 6e6158a..b736c31 100644 --- a/cirro_api_client/v1/api/datasets/get_dataset_manifest.py +++ b/cirro_api_client/v1/api/datasets/get_dataset_manifest.py @@ -17,7 +17,6 @@ def _get_kwargs( file_offset: int | Unset = 0, file_limit: int | Unset = 20000, ) -> dict[str, Any]: - params: dict[str, Any] = {} params["fileOffset"] = file_offset diff --git a/cirro_api_client/v1/api/datasets/get_datasets.py b/cirro_api_client/v1/api/datasets/get_datasets.py index 7c06fcd..9fce64b 100644 --- a/cirro_api_client/v1/api/datasets/get_datasets.py +++ b/cirro_api_client/v1/api/datasets/get_datasets.py @@ -16,7 +16,6 @@ def _get_kwargs( limit: int | Unset = 5000, next_token: str | Unset = UNSET, ) -> dict[str, Any]: - params: dict[str, Any] = {} params["limit"] = limit diff --git a/cirro_api_client/v1/api/datasets/get_sample_sheets.py b/cirro_api_client/v1/api/datasets/get_sample_sheets.py index 795379b..ef6f864 100644 --- a/cirro_api_client/v1/api/datasets/get_sample_sheets.py +++ b/cirro_api_client/v1/api/datasets/get_sample_sheets.py @@ -14,7 +14,6 @@ def _get_kwargs( project_id: str, dataset_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/datasets/{dataset_id}/samplesheet".format( diff --git a/cirro_api_client/v1/api/datasets/ingest_samples.py b/cirro_api_client/v1/api/datasets/ingest_samples.py index 5a4510d..3914820 100644 --- a/cirro_api_client/v1/api/datasets/ingest_samples.py +++ b/cirro_api_client/v1/api/datasets/ingest_samples.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, dataset_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "put", "url": "/projects/{project_id}/datasets/{dataset_id}/ingest-samples".format( diff --git a/cirro_api_client/v1/api/datasets/regenerate_manifest.py b/cirro_api_client/v1/api/datasets/regenerate_manifest.py index 8803dbc..811ee15 100644 --- a/cirro_api_client/v1/api/datasets/regenerate_manifest.py +++ b/cirro_api_client/v1/api/datasets/regenerate_manifest.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, dataset_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "put", "url": "/projects/{project_id}/datasets/{dataset_id}/regenerate-manifest".format( diff --git a/cirro_api_client/v1/api/datasets/rerun_transform.py b/cirro_api_client/v1/api/datasets/rerun_transform.py index 90e1d8c..53d8f5e 100644 --- a/cirro_api_client/v1/api/datasets/rerun_transform.py +++ b/cirro_api_client/v1/api/datasets/rerun_transform.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, dataset_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "put", "url": "/projects/{project_id}/datasets/{dataset_id}/rerun-transform".format( diff --git a/cirro_api_client/v1/api/execution/calculate_cost.py b/cirro_api_client/v1/api/execution/calculate_cost.py index 06ffdd2..6e553a0 100644 --- a/cirro_api_client/v1/api/execution/calculate_cost.py +++ b/cirro_api_client/v1/api/execution/calculate_cost.py @@ -14,7 +14,6 @@ def _get_kwargs( project_id: str, dataset_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/execution/{dataset_id}/cost".format( diff --git a/cirro_api_client/v1/api/execution/get_execution_logs.py b/cirro_api_client/v1/api/execution/get_execution_logs.py index 8a3d844..962924b 100644 --- a/cirro_api_client/v1/api/execution/get_execution_logs.py +++ b/cirro_api_client/v1/api/execution/get_execution_logs.py @@ -16,7 +16,6 @@ def _get_kwargs( *, force_live: bool | Unset = False, ) -> dict[str, Any]: - params: dict[str, Any] = {} params["forceLive"] = force_live diff --git a/cirro_api_client/v1/api/execution/get_project_summary.py b/cirro_api_client/v1/api/execution/get_project_summary.py index ff31370..500e382 100644 --- a/cirro_api_client/v1/api/execution/get_project_summary.py +++ b/cirro_api_client/v1/api/execution/get_project_summary.py @@ -15,7 +15,6 @@ def _get_kwargs( *, number_of_days: int | Unset = 1, ) -> dict[str, Any]: - params: dict[str, Any] = {} params["numberOfDays"] = number_of_days diff --git a/cirro_api_client/v1/api/execution/get_task.py b/cirro_api_client/v1/api/execution/get_task.py index 538ff50..d93966b 100644 --- a/cirro_api_client/v1/api/execution/get_task.py +++ b/cirro_api_client/v1/api/execution/get_task.py @@ -17,7 +17,6 @@ def _get_kwargs( *, force_live: bool | Unset = False, ) -> dict[str, Any]: - params: dict[str, Any] = {} params["forceLive"] = force_live diff --git a/cirro_api_client/v1/api/execution/get_task_files.py b/cirro_api_client/v1/api/execution/get_task_files.py index f4df4d9..6e32e50 100644 --- a/cirro_api_client/v1/api/execution/get_task_files.py +++ b/cirro_api_client/v1/api/execution/get_task_files.py @@ -15,7 +15,6 @@ def _get_kwargs( dataset_id: str, task_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/execution/{dataset_id}/tasks/{task_id}/files".format( diff --git a/cirro_api_client/v1/api/execution/get_task_logs.py b/cirro_api_client/v1/api/execution/get_task_logs.py index 842779a..79c95ec 100644 --- a/cirro_api_client/v1/api/execution/get_task_logs.py +++ b/cirro_api_client/v1/api/execution/get_task_logs.py @@ -19,7 +19,6 @@ def _get_kwargs( force_live: bool | Unset = False, source: TaskLogSource | Unset = UNSET, ) -> dict[str, Any]: - params: dict[str, Any] = {} params["forceLive"] = force_live diff --git a/cirro_api_client/v1/api/execution/get_tasks_for_execution.py b/cirro_api_client/v1/api/execution/get_tasks_for_execution.py index dc48074..aa751d6 100644 --- a/cirro_api_client/v1/api/execution/get_tasks_for_execution.py +++ b/cirro_api_client/v1/api/execution/get_tasks_for_execution.py @@ -16,7 +16,6 @@ def _get_kwargs( *, force_live: bool | Unset = False, ) -> dict[str, Any]: - params: dict[str, Any] = {} params["forceLive"] = force_live diff --git a/cirro_api_client/v1/api/execution/stop_analysis.py b/cirro_api_client/v1/api/execution/stop_analysis.py index 4255b75..0dac160 100644 --- a/cirro_api_client/v1/api/execution/stop_analysis.py +++ b/cirro_api_client/v1/api/execution/stop_analysis.py @@ -14,7 +14,6 @@ def _get_kwargs( project_id: str, dataset_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "put", "url": "/projects/{project_id}/execution/{dataset_id}/stop".format( diff --git a/cirro_api_client/v1/api/feed/delete_discussion.py b/cirro_api_client/v1/api/feed/delete_discussion.py index b37dde3..8e9df65 100644 --- a/cirro_api_client/v1/api/feed/delete_discussion.py +++ b/cirro_api_client/v1/api/feed/delete_discussion.py @@ -12,7 +12,6 @@ def _get_kwargs( discussion_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "delete", "url": "/discussions/{discussion_id}".format( diff --git a/cirro_api_client/v1/api/feed/delete_message.py b/cirro_api_client/v1/api/feed/delete_message.py index 9411833..25776ca 100644 --- a/cirro_api_client/v1/api/feed/delete_message.py +++ b/cirro_api_client/v1/api/feed/delete_message.py @@ -13,7 +13,6 @@ def _get_kwargs( discussion_id: str, message_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "delete", "url": "/discussions/{discussion_id}/messages/{message_id}".format( diff --git a/cirro_api_client/v1/api/feed/get_discussion.py b/cirro_api_client/v1/api/feed/get_discussion.py index 801f4ae..6d59de4 100644 --- a/cirro_api_client/v1/api/feed/get_discussion.py +++ b/cirro_api_client/v1/api/feed/get_discussion.py @@ -13,7 +13,6 @@ def _get_kwargs( discussion_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/discussions/{discussion_id}".format( diff --git a/cirro_api_client/v1/api/feed/get_discussions_for_entity.py b/cirro_api_client/v1/api/feed/get_discussions_for_entity.py index e6d528f..e889954 100644 --- a/cirro_api_client/v1/api/feed/get_discussions_for_entity.py +++ b/cirro_api_client/v1/api/feed/get_discussions_for_entity.py @@ -19,7 +19,6 @@ def _get_kwargs( limit: int | Unset = 5000, order: None | SortOrder | Unset = UNSET, ) -> dict[str, Any]: - params: dict[str, Any] = {} json_entity_type = entity_type.value diff --git a/cirro_api_client/v1/api/feed/get_messages_for_discussion.py b/cirro_api_client/v1/api/feed/get_messages_for_discussion.py index 3953858..8541826 100644 --- a/cirro_api_client/v1/api/feed/get_messages_for_discussion.py +++ b/cirro_api_client/v1/api/feed/get_messages_for_discussion.py @@ -19,7 +19,6 @@ def _get_kwargs( thread_id: None | str | Unset = UNSET, order: None | SortOrder | Unset = UNSET, ) -> dict[str, Any]: - params: dict[str, Any] = {} json_next_token: None | str | Unset diff --git a/cirro_api_client/v1/api/governance/delete_classification.py b/cirro_api_client/v1/api/governance/delete_classification.py index d273556..dd540a3 100644 --- a/cirro_api_client/v1/api/governance/delete_classification.py +++ b/cirro_api_client/v1/api/governance/delete_classification.py @@ -12,7 +12,6 @@ def _get_kwargs( classification_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "delete", "url": "/governance/classifications/{classification_id}".format( diff --git a/cirro_api_client/v1/api/governance/delete_contact.py b/cirro_api_client/v1/api/governance/delete_contact.py index 7d55e13..f6053ed 100644 --- a/cirro_api_client/v1/api/governance/delete_contact.py +++ b/cirro_api_client/v1/api/governance/delete_contact.py @@ -12,7 +12,6 @@ def _get_kwargs( contact_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "delete", "url": "/governance/contacts/{contact_id}".format( diff --git a/cirro_api_client/v1/api/governance/delete_requirement.py b/cirro_api_client/v1/api/governance/delete_requirement.py index 080c1c7..c0c5d1a 100644 --- a/cirro_api_client/v1/api/governance/delete_requirement.py +++ b/cirro_api_client/v1/api/governance/delete_requirement.py @@ -12,7 +12,6 @@ def _get_kwargs( requirement_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "delete", "url": "/governance/requirements/{requirement_id}".format( diff --git a/cirro_api_client/v1/api/governance/get_classification.py b/cirro_api_client/v1/api/governance/get_classification.py index 2721a44..f4d9842 100644 --- a/cirro_api_client/v1/api/governance/get_classification.py +++ b/cirro_api_client/v1/api/governance/get_classification.py @@ -13,7 +13,6 @@ def _get_kwargs( classification_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/governance/classifications/{classification_id}".format( diff --git a/cirro_api_client/v1/api/governance/get_classifications.py b/cirro_api_client/v1/api/governance/get_classifications.py index 35bb1e3..cb6639b 100644 --- a/cirro_api_client/v1/api/governance/get_classifications.py +++ b/cirro_api_client/v1/api/governance/get_classifications.py @@ -10,7 +10,6 @@ def _get_kwargs() -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/governance/classifications", diff --git a/cirro_api_client/v1/api/governance/get_contact.py b/cirro_api_client/v1/api/governance/get_contact.py index 7bcaee9..42055a2 100644 --- a/cirro_api_client/v1/api/governance/get_contact.py +++ b/cirro_api_client/v1/api/governance/get_contact.py @@ -13,7 +13,6 @@ def _get_kwargs( contact_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/governance/contacts/{contact_id}".format( diff --git a/cirro_api_client/v1/api/governance/get_contacts.py b/cirro_api_client/v1/api/governance/get_contacts.py index 26e0f58..0a7c6a0 100644 --- a/cirro_api_client/v1/api/governance/get_contacts.py +++ b/cirro_api_client/v1/api/governance/get_contacts.py @@ -10,7 +10,6 @@ def _get_kwargs() -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/governance/contacts", diff --git a/cirro_api_client/v1/api/governance/get_requirement.py b/cirro_api_client/v1/api/governance/get_requirement.py index 5ae8fdb..4262186 100644 --- a/cirro_api_client/v1/api/governance/get_requirement.py +++ b/cirro_api_client/v1/api/governance/get_requirement.py @@ -13,7 +13,6 @@ def _get_kwargs( requirement_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/governance/requirements/{requirement_id}".format( diff --git a/cirro_api_client/v1/api/governance/get_requirements.py b/cirro_api_client/v1/api/governance/get_requirements.py index 32e6cba..b520036 100644 --- a/cirro_api_client/v1/api/governance/get_requirements.py +++ b/cirro_api_client/v1/api/governance/get_requirements.py @@ -13,7 +13,6 @@ def _get_kwargs( *, project_id: str | Unset = UNSET, ) -> dict[str, Any]: - params: dict[str, Any] = {} params["projectId"] = project_id diff --git a/cirro_api_client/v1/api/governance/get_requirements_by_project.py b/cirro_api_client/v1/api/governance/get_requirements_by_project.py index cc4d45f..2a42144 100644 --- a/cirro_api_client/v1/api/governance/get_requirements_by_project.py +++ b/cirro_api_client/v1/api/governance/get_requirements_by_project.py @@ -15,7 +15,6 @@ def _get_kwargs( *, username: str | Unset = UNSET, ) -> dict[str, Any]: - params: dict[str, Any] = {} params["username"] = username diff --git a/cirro_api_client/v1/api/metadata/get_dataset_samples.py b/cirro_api_client/v1/api/metadata/get_dataset_samples.py index 72f1f63..b073f88 100644 --- a/cirro_api_client/v1/api/metadata/get_dataset_samples.py +++ b/cirro_api_client/v1/api/metadata/get_dataset_samples.py @@ -14,7 +14,6 @@ def _get_kwargs( project_id: str, dataset_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/datasets/{dataset_id}/samples".format( diff --git a/cirro_api_client/v1/api/metadata/get_project_samples.py b/cirro_api_client/v1/api/metadata/get_project_samples.py index e12f0e1..3d79ffc 100644 --- a/cirro_api_client/v1/api/metadata/get_project_samples.py +++ b/cirro_api_client/v1/api/metadata/get_project_samples.py @@ -16,7 +16,6 @@ def _get_kwargs( limit: int | Unset = 5000, next_token: str | Unset = UNSET, ) -> dict[str, Any]: - params: dict[str, Any] = {} params["limit"] = limit diff --git a/cirro_api_client/v1/api/metadata/get_project_schema.py b/cirro_api_client/v1/api/metadata/get_project_schema.py index f5ce970..314e619 100644 --- a/cirro_api_client/v1/api/metadata/get_project_schema.py +++ b/cirro_api_client/v1/api/metadata/get_project_schema.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/schema".format( diff --git a/cirro_api_client/v1/api/metadata/get_sample_by_id.py b/cirro_api_client/v1/api/metadata/get_sample_by_id.py index e950170..9838915 100644 --- a/cirro_api_client/v1/api/metadata/get_sample_by_id.py +++ b/cirro_api_client/v1/api/metadata/get_sample_by_id.py @@ -14,7 +14,6 @@ def _get_kwargs( project_id: str, sample_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/samples/{sample_id}".format( diff --git a/cirro_api_client/v1/api/metrics/get_all_metrics.py b/cirro_api_client/v1/api/metrics/get_all_metrics.py index f1d6659..982f4c5 100644 --- a/cirro_api_client/v1/api/metrics/get_all_metrics.py +++ b/cirro_api_client/v1/api/metrics/get_all_metrics.py @@ -10,7 +10,6 @@ def _get_kwargs() -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/metrics", diff --git a/cirro_api_client/v1/api/metrics/get_project_metrics.py b/cirro_api_client/v1/api/metrics/get_project_metrics.py index e5a4926..30de0a4 100644 --- a/cirro_api_client/v1/api/metrics/get_project_metrics.py +++ b/cirro_api_client/v1/api/metrics/get_project_metrics.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/metrics".format( diff --git a/cirro_api_client/v1/api/processes/archive_custom_process.py b/cirro_api_client/v1/api/processes/archive_custom_process.py index 7d29a0f..f0b8fad 100644 --- a/cirro_api_client/v1/api/processes/archive_custom_process.py +++ b/cirro_api_client/v1/api/processes/archive_custom_process.py @@ -12,7 +12,6 @@ def _get_kwargs( process_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "delete", "url": "/processes/{process_id}".format( diff --git a/cirro_api_client/v1/api/processes/get_latest_process_revision.py b/cirro_api_client/v1/api/processes/get_latest_process_revision.py index 8d2e997..12215ad 100644 --- a/cirro_api_client/v1/api/processes/get_latest_process_revision.py +++ b/cirro_api_client/v1/api/processes/get_latest_process_revision.py @@ -15,7 +15,6 @@ def _get_kwargs( process_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/processes/{process_id}/revisions:latest".format( diff --git a/cirro_api_client/v1/api/processes/get_process.py b/cirro_api_client/v1/api/processes/get_process.py index 28c97f8..650964c 100644 --- a/cirro_api_client/v1/api/processes/get_process.py +++ b/cirro_api_client/v1/api/processes/get_process.py @@ -13,7 +13,6 @@ def _get_kwargs( process_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/processes/{process_id}".format( diff --git a/cirro_api_client/v1/api/processes/get_process_documentation.py b/cirro_api_client/v1/api/processes/get_process_documentation.py index 40b9ee0..f4ed429 100644 --- a/cirro_api_client/v1/api/processes/get_process_documentation.py +++ b/cirro_api_client/v1/api/processes/get_process_documentation.py @@ -13,7 +13,6 @@ def _get_kwargs( process_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/processes/{process_id}/documentation".format( diff --git a/cirro_api_client/v1/api/processes/get_process_parameters.py b/cirro_api_client/v1/api/processes/get_process_parameters.py index 50c0901..996ee9e 100644 --- a/cirro_api_client/v1/api/processes/get_process_parameters.py +++ b/cirro_api_client/v1/api/processes/get_process_parameters.py @@ -13,7 +13,6 @@ def _get_kwargs( process_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/processes/{process_id}/parameters".format( diff --git a/cirro_api_client/v1/api/processes/get_process_resource.py b/cirro_api_client/v1/api/processes/get_process_resource.py index 01499e4..6080132 100644 --- a/cirro_api_client/v1/api/processes/get_process_resource.py +++ b/cirro_api_client/v1/api/processes/get_process_resource.py @@ -17,7 +17,6 @@ def _get_kwargs( process_id: str, type_: ProcessResource, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/processes/{process_id}/resources/{type_}".format( diff --git a/cirro_api_client/v1/api/processes/get_process_revision.py b/cirro_api_client/v1/api/processes/get_process_revision.py index 979e316..cc1188d 100644 --- a/cirro_api_client/v1/api/processes/get_process_revision.py +++ b/cirro_api_client/v1/api/processes/get_process_revision.py @@ -16,7 +16,6 @@ def _get_kwargs( process_id: str, revision_num: int, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/processes/{process_id}/revisions/{revision_num}".format( diff --git a/cirro_api_client/v1/api/processes/get_processes.py b/cirro_api_client/v1/api/processes/get_processes.py index 9c801fa..c4cf3c0 100644 --- a/cirro_api_client/v1/api/processes/get_processes.py +++ b/cirro_api_client/v1/api/processes/get_processes.py @@ -13,7 +13,6 @@ def _get_kwargs( *, include_archived: bool | Unset = False, ) -> dict[str, Any]: - params: dict[str, Any] = {} params["includeArchived"] = include_archived diff --git a/cirro_api_client/v1/api/processes/list_process_revisions.py b/cirro_api_client/v1/api/processes/list_process_revisions.py index 0ec0013..11372d3 100644 --- a/cirro_api_client/v1/api/processes/list_process_revisions.py +++ b/cirro_api_client/v1/api/processes/list_process_revisions.py @@ -18,7 +18,6 @@ def _get_kwargs( limit: int | Unset = 20, next_token: str | Unset = UNSET, ) -> dict[str, Any]: - params: dict[str, Any] = {} params["limit"] = limit diff --git a/cirro_api_client/v1/api/processes/sync_custom_process.py b/cirro_api_client/v1/api/processes/sync_custom_process.py index 7fa7f68..c9a8f4b 100644 --- a/cirro_api_client/v1/api/processes/sync_custom_process.py +++ b/cirro_api_client/v1/api/processes/sync_custom_process.py @@ -13,7 +13,6 @@ def _get_kwargs( process_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "put", "url": "/processes/{process_id}:sync".format( diff --git a/cirro_api_client/v1/api/projects/archive_project.py b/cirro_api_client/v1/api/projects/archive_project.py index d786da0..245e109 100644 --- a/cirro_api_client/v1/api/projects/archive_project.py +++ b/cirro_api_client/v1/api/projects/archive_project.py @@ -12,7 +12,6 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "put", "url": "/projects/{project_id}:archive".format( diff --git a/cirro_api_client/v1/api/projects/deny_access_request.py b/cirro_api_client/v1/api/projects/deny_access_request.py index e845a97..6ceccd2 100644 --- a/cirro_api_client/v1/api/projects/deny_access_request.py +++ b/cirro_api_client/v1/api/projects/deny_access_request.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, access_request_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "put", "url": "/projects/{project_id}/access-requests/{access_request_id}:deny".format( diff --git a/cirro_api_client/v1/api/projects/get_access_requests.py b/cirro_api_client/v1/api/projects/get_access_requests.py index 9908e35..75e77d9 100644 --- a/cirro_api_client/v1/api/projects/get_access_requests.py +++ b/cirro_api_client/v1/api/projects/get_access_requests.py @@ -15,7 +15,6 @@ def _get_kwargs( *, include_closed: bool | Unset = False, ) -> dict[str, Any]: - params: dict[str, Any] = {} params["includeClosed"] = include_closed diff --git a/cirro_api_client/v1/api/projects/get_discoverable_projects.py b/cirro_api_client/v1/api/projects/get_discoverable_projects.py index fcf8d59..5a4b1a2 100644 --- a/cirro_api_client/v1/api/projects/get_discoverable_projects.py +++ b/cirro_api_client/v1/api/projects/get_discoverable_projects.py @@ -10,7 +10,6 @@ def _get_kwargs() -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/discover", diff --git a/cirro_api_client/v1/api/projects/get_project.py b/cirro_api_client/v1/api/projects/get_project.py index c6c1e6c..fbf135b 100644 --- a/cirro_api_client/v1/api/projects/get_project.py +++ b/cirro_api_client/v1/api/projects/get_project.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}".format( diff --git a/cirro_api_client/v1/api/projects/get_project_create_options.py b/cirro_api_client/v1/api/projects/get_project_create_options.py index 7c8ccb0..40450f7 100644 --- a/cirro_api_client/v1/api/projects/get_project_create_options.py +++ b/cirro_api_client/v1/api/projects/get_project_create_options.py @@ -10,7 +10,6 @@ def _get_kwargs() -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/options", diff --git a/cirro_api_client/v1/api/projects/get_project_users.py b/cirro_api_client/v1/api/projects/get_project_users.py index 12916dd..428a08f 100644 --- a/cirro_api_client/v1/api/projects/get_project_users.py +++ b/cirro_api_client/v1/api/projects/get_project_users.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/permissions".format( diff --git a/cirro_api_client/v1/api/projects/get_projects.py b/cirro_api_client/v1/api/projects/get_projects.py index ebd28c0..86cecdc 100644 --- a/cirro_api_client/v1/api/projects/get_projects.py +++ b/cirro_api_client/v1/api/projects/get_projects.py @@ -10,7 +10,6 @@ def _get_kwargs() -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects", diff --git a/cirro_api_client/v1/api/projects/get_quotas.py b/cirro_api_client/v1/api/projects/get_quotas.py index df595b3..3700a97 100644 --- a/cirro_api_client/v1/api/projects/get_quotas.py +++ b/cirro_api_client/v1/api/projects/get_quotas.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/cloud-quotas".format( diff --git a/cirro_api_client/v1/api/projects/redeploy_project.py b/cirro_api_client/v1/api/projects/redeploy_project.py index eac2526..8244a7d 100644 --- a/cirro_api_client/v1/api/projects/redeploy_project.py +++ b/cirro_api_client/v1/api/projects/redeploy_project.py @@ -12,7 +12,6 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "put", "url": "/projects/{project_id}:re-deploy".format( diff --git a/cirro_api_client/v1/api/projects/unarchive_project.py b/cirro_api_client/v1/api/projects/unarchive_project.py index 6757ed0..2d2b891 100644 --- a/cirro_api_client/v1/api/projects/unarchive_project.py +++ b/cirro_api_client/v1/api/projects/unarchive_project.py @@ -12,7 +12,6 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "put", "url": "/projects/{project_id}:unarchive".format( diff --git a/cirro_api_client/v1/api/references/delete_project_reference.py b/cirro_api_client/v1/api/references/delete_project_reference.py index cd362a3..9f72b4e 100644 --- a/cirro_api_client/v1/api/references/delete_project_reference.py +++ b/cirro_api_client/v1/api/references/delete_project_reference.py @@ -12,7 +12,6 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "delete", "url": "/projects/{project_id}/references".format( diff --git a/cirro_api_client/v1/api/references/get_reference_types.py b/cirro_api_client/v1/api/references/get_reference_types.py index c330fd3..811b676 100644 --- a/cirro_api_client/v1/api/references/get_reference_types.py +++ b/cirro_api_client/v1/api/references/get_reference_types.py @@ -10,7 +10,6 @@ def _get_kwargs() -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/reference-types", diff --git a/cirro_api_client/v1/api/references/get_references.py b/cirro_api_client/v1/api/references/get_references.py index cbc67f3..460ca44 100644 --- a/cirro_api_client/v1/api/references/get_references.py +++ b/cirro_api_client/v1/api/references/get_references.py @@ -10,7 +10,6 @@ def _get_kwargs() -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/references", diff --git a/cirro_api_client/v1/api/references/get_references_for_project.py b/cirro_api_client/v1/api/references/get_references_for_project.py index dd3133f..3875dac 100644 --- a/cirro_api_client/v1/api/references/get_references_for_project.py +++ b/cirro_api_client/v1/api/references/get_references_for_project.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/references".format( diff --git a/cirro_api_client/v1/api/references/refresh_project_references.py b/cirro_api_client/v1/api/references/refresh_project_references.py index 43c4c04..451d6d7 100644 --- a/cirro_api_client/v1/api/references/refresh_project_references.py +++ b/cirro_api_client/v1/api/references/refresh_project_references.py @@ -12,7 +12,6 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "put", "url": "/projects/{project_id}/references".format( diff --git a/cirro_api_client/v1/api/shared_filesystems/delete_shared_filesystem.py b/cirro_api_client/v1/api/shared_filesystems/delete_shared_filesystem.py index 84af61e..0863b98 100644 --- a/cirro_api_client/v1/api/shared_filesystems/delete_shared_filesystem.py +++ b/cirro_api_client/v1/api/shared_filesystems/delete_shared_filesystem.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, filesystem_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "delete", "url": "/projects/{project_id}/shared-filesystems/{filesystem_id}".format( diff --git a/cirro_api_client/v1/api/shared_filesystems/get_shared_filesystem.py b/cirro_api_client/v1/api/shared_filesystems/get_shared_filesystem.py index 5f476b4..be1c5b0 100644 --- a/cirro_api_client/v1/api/shared_filesystems/get_shared_filesystem.py +++ b/cirro_api_client/v1/api/shared_filesystems/get_shared_filesystem.py @@ -14,7 +14,6 @@ def _get_kwargs( project_id: str, filesystem_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/shared-filesystems/{filesystem_id}".format( diff --git a/cirro_api_client/v1/api/shared_filesystems/list_shared_filesystems.py b/cirro_api_client/v1/api/shared_filesystems/list_shared_filesystems.py index e7b44e4..0fa90a2 100644 --- a/cirro_api_client/v1/api/shared_filesystems/list_shared_filesystems.py +++ b/cirro_api_client/v1/api/shared_filesystems/list_shared_filesystems.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/shared-filesystems".format( diff --git a/cirro_api_client/v1/api/sharing/delete_share.py b/cirro_api_client/v1/api/sharing/delete_share.py index 6e91983..8cf3a7f 100644 --- a/cirro_api_client/v1/api/sharing/delete_share.py +++ b/cirro_api_client/v1/api/sharing/delete_share.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, share_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "delete", "url": "/projects/{project_id}/shares/{share_id}".format( diff --git a/cirro_api_client/v1/api/sharing/get_discoverable_shares.py b/cirro_api_client/v1/api/sharing/get_discoverable_shares.py index 0176832..aa2e58e 100644 --- a/cirro_api_client/v1/api/sharing/get_discoverable_shares.py +++ b/cirro_api_client/v1/api/sharing/get_discoverable_shares.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/shares/discover".format( diff --git a/cirro_api_client/v1/api/sharing/get_share.py b/cirro_api_client/v1/api/sharing/get_share.py index 7b4c057..50f0c51 100644 --- a/cirro_api_client/v1/api/sharing/get_share.py +++ b/cirro_api_client/v1/api/sharing/get_share.py @@ -14,7 +14,6 @@ def _get_kwargs( project_id: str, share_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/shares/{share_id}".format( diff --git a/cirro_api_client/v1/api/sharing/get_share_usages.py b/cirro_api_client/v1/api/sharing/get_share_usages.py index 4cab2ca..a4295b3 100644 --- a/cirro_api_client/v1/api/sharing/get_share_usages.py +++ b/cirro_api_client/v1/api/sharing/get_share_usages.py @@ -17,7 +17,6 @@ def _get_kwargs( limit: int | Unset = 5000, next_token: str | Unset = UNSET, ) -> dict[str, Any]: - params: dict[str, Any] = {} params["limit"] = limit diff --git a/cirro_api_client/v1/api/sharing/get_shared_datasets.py b/cirro_api_client/v1/api/sharing/get_shared_datasets.py index 6aa151f..3fb20a7 100644 --- a/cirro_api_client/v1/api/sharing/get_shared_datasets.py +++ b/cirro_api_client/v1/api/sharing/get_shared_datasets.py @@ -17,7 +17,6 @@ def _get_kwargs( limit: int | Unset = 5000, next_token: str | Unset = UNSET, ) -> dict[str, Any]: - params: dict[str, Any] = {} params["limit"] = limit diff --git a/cirro_api_client/v1/api/sharing/get_shares.py b/cirro_api_client/v1/api/sharing/get_shares.py index f5ab089..ced3e1e 100644 --- a/cirro_api_client/v1/api/sharing/get_shares.py +++ b/cirro_api_client/v1/api/sharing/get_shares.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/shares".format( diff --git a/cirro_api_client/v1/api/sharing/revoke_share_usage.py b/cirro_api_client/v1/api/sharing/revoke_share_usage.py index ec161cb..8bd0195 100644 --- a/cirro_api_client/v1/api/sharing/revoke_share_usage.py +++ b/cirro_api_client/v1/api/sharing/revoke_share_usage.py @@ -14,7 +14,6 @@ def _get_kwargs( share_id: str, usage_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "delete", "url": "/projects/{project_id}/shares/{share_id}/usages/{usage_id}".format( diff --git a/cirro_api_client/v1/api/sharing/subscribe_share.py b/cirro_api_client/v1/api/sharing/subscribe_share.py index c97c8ff..f1dcfe0 100644 --- a/cirro_api_client/v1/api/sharing/subscribe_share.py +++ b/cirro_api_client/v1/api/sharing/subscribe_share.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, share_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "put", "url": "/projects/{project_id}/shares/{share_id}:subscribe".format( diff --git a/cirro_api_client/v1/api/sharing/unsubscribe_share.py b/cirro_api_client/v1/api/sharing/unsubscribe_share.py index c59479e..f6eebf3 100644 --- a/cirro_api_client/v1/api/sharing/unsubscribe_share.py +++ b/cirro_api_client/v1/api/sharing/unsubscribe_share.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, share_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "put", "url": "/projects/{project_id}/shares/{share_id}:unsubscribe".format( diff --git a/cirro_api_client/v1/api/sheets/delete_sheet.py b/cirro_api_client/v1/api/sheets/delete_sheet.py index 41a5eb1..33a7b9e 100644 --- a/cirro_api_client/v1/api/sheets/delete_sheet.py +++ b/cirro_api_client/v1/api/sheets/delete_sheet.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, sheet_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "delete", "url": "/projects/{project_id}/sheets/{sheet_id}".format( diff --git a/cirro_api_client/v1/api/sheets/get_jobs.py b/cirro_api_client/v1/api/sheets/get_jobs.py index 9dc7a66..b6f1438 100644 --- a/cirro_api_client/v1/api/sheets/get_jobs.py +++ b/cirro_api_client/v1/api/sheets/get_jobs.py @@ -14,7 +14,6 @@ def _get_kwargs( project_id: str, sheet_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/sheets/{sheet_id}/jobs".format( diff --git a/cirro_api_client/v1/api/sheets/get_sheet.py b/cirro_api_client/v1/api/sheets/get_sheet.py index ed06047..a1c31d8 100644 --- a/cirro_api_client/v1/api/sheets/get_sheet.py +++ b/cirro_api_client/v1/api/sheets/get_sheet.py @@ -14,7 +14,6 @@ def _get_kwargs( project_id: str, sheet_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/sheets/{sheet_id}".format( diff --git a/cirro_api_client/v1/api/sheets/get_sheet_data.py b/cirro_api_client/v1/api/sheets/get_sheet_data.py index bef572f..281e9e2 100644 --- a/cirro_api_client/v1/api/sheets/get_sheet_data.py +++ b/cirro_api_client/v1/api/sheets/get_sheet_data.py @@ -20,7 +20,6 @@ def _get_kwargs( order_by: None | str | Unset = UNSET, order: SqlSortOrder | Unset = UNSET, ) -> dict[str, Any]: - params: dict[str, Any] = {} params["limit"] = limit diff --git a/cirro_api_client/v1/api/sheets/get_sheets.py b/cirro_api_client/v1/api/sheets/get_sheets.py index 42162b0..bcbf89c 100644 --- a/cirro_api_client/v1/api/sheets/get_sheets.py +++ b/cirro_api_client/v1/api/sheets/get_sheets.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/sheets".format( diff --git a/cirro_api_client/v1/api/sheets/refresh_view.py b/cirro_api_client/v1/api/sheets/refresh_view.py index 8a4eaa6..0d4fef7 100644 --- a/cirro_api_client/v1/api/sheets/refresh_view.py +++ b/cirro_api_client/v1/api/sheets/refresh_view.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, sheet_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "put", "url": "/projects/{project_id}/sheets/{sheet_id}:refresh".format( diff --git a/cirro_api_client/v1/api/system/get_service_connections.py b/cirro_api_client/v1/api/system/get_service_connections.py index fc13176..c12c60a 100644 --- a/cirro_api_client/v1/api/system/get_service_connections.py +++ b/cirro_api_client/v1/api/system/get_service_connections.py @@ -10,7 +10,6 @@ def _get_kwargs() -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/service-connections", diff --git a/cirro_api_client/v1/api/system/info.py b/cirro_api_client/v1/api/system/info.py index 49982c7..ae512ac 100644 --- a/cirro_api_client/v1/api/system/info.py +++ b/cirro_api_client/v1/api/system/info.py @@ -10,7 +10,6 @@ def _get_kwargs() -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/info", diff --git a/cirro_api_client/v1/api/users/get_user.py b/cirro_api_client/v1/api/users/get_user.py index 95a24a4..23bd584 100644 --- a/cirro_api_client/v1/api/users/get_user.py +++ b/cirro_api_client/v1/api/users/get_user.py @@ -13,7 +13,6 @@ def _get_kwargs( username: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/users/{username}".format( diff --git a/cirro_api_client/v1/api/users/list_users.py b/cirro_api_client/v1/api/users/list_users.py index ba22bb2..6e5b4df 100644 --- a/cirro_api_client/v1/api/users/list_users.py +++ b/cirro_api_client/v1/api/users/list_users.py @@ -15,7 +15,6 @@ def _get_kwargs( limit: int | Unset = 5000, next_token: str | Unset = UNSET, ) -> dict[str, Any]: - params: dict[str, Any] = {} json_username: None | str | Unset diff --git a/cirro_api_client/v1/api/users/sign_out_user.py b/cirro_api_client/v1/api/users/sign_out_user.py index 78f838c..147edfb 100644 --- a/cirro_api_client/v1/api/users/sign_out_user.py +++ b/cirro_api_client/v1/api/users/sign_out_user.py @@ -12,7 +12,6 @@ def _get_kwargs( username: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "put", "url": "/users/{username}:signOut".format( diff --git a/cirro_api_client/v1/api/workspaces/connect_workspace.py b/cirro_api_client/v1/api/workspaces/connect_workspace.py index 76c9297..c8ebed2 100644 --- a/cirro_api_client/v1/api/workspaces/connect_workspace.py +++ b/cirro_api_client/v1/api/workspaces/connect_workspace.py @@ -14,7 +14,6 @@ def _get_kwargs( project_id: str, workspace_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "post", "url": "/projects/{project_id}/workspaces/{workspace_id}:connect".format( diff --git a/cirro_api_client/v1/api/workspaces/delete_workspace.py b/cirro_api_client/v1/api/workspaces/delete_workspace.py index c1c2f6c..1ae68d0 100644 --- a/cirro_api_client/v1/api/workspaces/delete_workspace.py +++ b/cirro_api_client/v1/api/workspaces/delete_workspace.py @@ -15,7 +15,6 @@ def _get_kwargs( *, force: bool | Unset = False, ) -> dict[str, Any]: - params: dict[str, Any] = {} params["force"] = force diff --git a/cirro_api_client/v1/api/workspaces/disconnect_workspace.py b/cirro_api_client/v1/api/workspaces/disconnect_workspace.py index 1bb6067..f9335f5 100644 --- a/cirro_api_client/v1/api/workspaces/disconnect_workspace.py +++ b/cirro_api_client/v1/api/workspaces/disconnect_workspace.py @@ -15,7 +15,6 @@ def _get_kwargs( *, session_id: str, ) -> dict[str, Any]: - params: dict[str, Any] = {} params["sessionId"] = session_id diff --git a/cirro_api_client/v1/api/workspaces/get_workspace.py b/cirro_api_client/v1/api/workspaces/get_workspace.py index 4ac3e96..30e7df7 100644 --- a/cirro_api_client/v1/api/workspaces/get_workspace.py +++ b/cirro_api_client/v1/api/workspaces/get_workspace.py @@ -14,7 +14,6 @@ def _get_kwargs( project_id: str, workspace_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/workspaces/{workspace_id}".format( diff --git a/cirro_api_client/v1/api/workspaces/get_workspace_environments.py b/cirro_api_client/v1/api/workspaces/get_workspace_environments.py index 0bbb935..c9f3083 100644 --- a/cirro_api_client/v1/api/workspaces/get_workspace_environments.py +++ b/cirro_api_client/v1/api/workspaces/get_workspace_environments.py @@ -10,7 +10,6 @@ def _get_kwargs() -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/workspace-environments", diff --git a/cirro_api_client/v1/api/workspaces/get_workspace_logs.py b/cirro_api_client/v1/api/workspaces/get_workspace_logs.py index 4af80e0..f9677e0 100644 --- a/cirro_api_client/v1/api/workspaces/get_workspace_logs.py +++ b/cirro_api_client/v1/api/workspaces/get_workspace_logs.py @@ -14,7 +14,6 @@ def _get_kwargs( project_id: str, workspace_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/workspaces/{workspace_id}/logs".format( diff --git a/cirro_api_client/v1/api/workspaces/get_workspaces.py b/cirro_api_client/v1/api/workspaces/get_workspaces.py index ba2377e..24aa5ec 100644 --- a/cirro_api_client/v1/api/workspaces/get_workspaces.py +++ b/cirro_api_client/v1/api/workspaces/get_workspaces.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "get", "url": "/projects/{project_id}/workspaces".format( diff --git a/cirro_api_client/v1/api/workspaces/start_workspace.py b/cirro_api_client/v1/api/workspaces/start_workspace.py index f67fad0..9d452d1 100644 --- a/cirro_api_client/v1/api/workspaces/start_workspace.py +++ b/cirro_api_client/v1/api/workspaces/start_workspace.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, workspace_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "post", "url": "/projects/{project_id}/workspaces/{workspace_id}:start".format( diff --git a/cirro_api_client/v1/api/workspaces/stop_workspace.py b/cirro_api_client/v1/api/workspaces/stop_workspace.py index 3d30c47..5641e8b 100644 --- a/cirro_api_client/v1/api/workspaces/stop_workspace.py +++ b/cirro_api_client/v1/api/workspaces/stop_workspace.py @@ -13,7 +13,6 @@ def _get_kwargs( project_id: str, workspace_id: str, ) -> dict[str, Any]: - _kwargs: dict[str, Any] = { "method": "post", "url": "/projects/{project_id}/workspaces/{workspace_id}:stop".format( diff --git a/templates/endpoint_module.py.jinja b/templates/endpoint_module.py.jinja index 2a45912..14d69a8 100644 --- a/templates/endpoint_module.py.jinja +++ b/templates/endpoint_module.py.jinja @@ -21,12 +21,18 @@ from ... import errors def _get_kwargs( {{ arguments(endpoint, include_client=False) | indent(4) }} ) -> dict[str, Any]: +{% if endpoint.header_parameters or endpoint.bodies | length > 0 %} {{ header_params(endpoint) | indent(4) }} +{% endif %} +{% if endpoint.cookie_parameters %} {{ cookie_params(endpoint) | indent(4) }} +{% endif %} +{% if endpoint.query_parameters %} {{ query_params(endpoint) | indent(4) }} +{% endif %} _kwargs: dict[str, Any] = { "method": "{{ endpoint.method }}", {% if endpoint.path_parameters %} From f99745bba0b93e221c29230a621b099f49eb31b1 Mon Sep 17 00:00:00 2001 From: Nathan Thorpe Date: Mon, 22 Jun 2026 22:09:56 -0700 Subject: [PATCH 4/6] rename dto --- .../processes/get_latest_process_revision.py | 24 +++++++++--------- .../v1/api/processes/get_process_resource.py | 24 +++++++++--------- .../v1/api/processes/get_process_revision.py | 24 +++++++++--------- cirro_api_client/v1/models/__init__.py | 16 ++++++------ cirro_api_client/v1/models/dashboard.py | 19 +++++++------- ...board_data_type_0.py => dashboard_data.py} | 10 ++++---- cirro_api_client/v1/models/dataset.py | 3 +-- cirro_api_client/v1/models/dataset_detail.py | 3 +-- ...paginated_response_process_revision_dto.py | 10 ++++---- ...ent_dto.py => process_resource_content.py} | 10 ++++---- ...ss_revision_dto.py => process_revision.py} | 20 +++++++-------- ...dto_files.py => process_revision_files.py} | 10 ++++---- cirro_api_client/v1/models/project.py | 3 +-- cirro_api_client/v1/models/project_detail.py | 3 +-- cirro_api_client/v1/models/share_usage.py | 25 ++++++------------- .../v1/models/shared_filesystem.py | 3 +-- cirro_api_client/v1/models/sheet.py | 3 +-- cirro_api_client/v1/models/sheet_detail.py | 3 +-- cirro_api_client/v1/models/sheet_job.py | 3 +-- cirro_api_client/v1/models/workspace.py | 3 +-- config.yml | 2 ++ 21 files changed, 102 insertions(+), 119 deletions(-) rename cirro_api_client/v1/models/{dashboard_dashboard_data_type_0.py => dashboard_data.py} (81%) rename cirro_api_client/v1/models/{process_resource_content_dto.py => process_resource_content.py} (92%) rename cirro_api_client/v1/models/{process_revision_dto.py => process_revision.py} (87%) rename cirro_api_client/v1/models/{process_revision_dto_files.py => process_revision_files.py} (82%) diff --git a/cirro_api_client/v1/api/processes/get_latest_process_revision.py b/cirro_api_client/v1/api/processes/get_latest_process_revision.py index 12215ad..520f94f 100644 --- a/cirro_api_client/v1/api/processes/get_latest_process_revision.py +++ b/cirro_api_client/v1/api/processes/get_latest_process_revision.py @@ -8,7 +8,7 @@ from ...client import Client from ...models.error_message import ErrorMessage from ...models.portal_error_response import PortalErrorResponse -from ...models.process_revision_dto import ProcessRevisionDto +from ...models.process_revision import ProcessRevision from ...types import Response @@ -27,9 +27,9 @@ def _get_kwargs( def _parse_response( *, client: Client, response: httpx.Response -) -> ErrorMessage | PortalErrorResponse | ProcessRevisionDto | None: +) -> ErrorMessage | PortalErrorResponse | ProcessRevision | None: if response.status_code == 200: - response_200 = ProcessRevisionDto.from_dict(response.json()) + response_200 = ProcessRevision.from_dict(response.json()) return response_200 @@ -48,7 +48,7 @@ def _parse_response( def _build_response( *, client: Client, response: httpx.Response -) -> Response[ErrorMessage | PortalErrorResponse | ProcessRevisionDto]: +) -> Response[ErrorMessage | PortalErrorResponse | ProcessRevision]: return Response( status_code=HTTPStatus(response.status_code), content=response.content, @@ -61,7 +61,7 @@ def sync_detailed( process_id: str, *, client: Client, -) -> Response[ErrorMessage | PortalErrorResponse | ProcessRevisionDto]: +) -> Response[ErrorMessage | PortalErrorResponse | ProcessRevision]: """Fetch the latest configuration revision for a process Returns the highest-numbered revision entry for the given process. Returns 404 for processes without @@ -76,7 +76,7 @@ def sync_detailed( httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - Response[ErrorMessage | PortalErrorResponse | ProcessRevisionDto] + Response[ErrorMessage | PortalErrorResponse | ProcessRevision] """ kwargs = _get_kwargs( @@ -95,7 +95,7 @@ def sync( process_id: str, *, client: Client, -) -> ErrorMessage | PortalErrorResponse | ProcessRevisionDto | None: +) -> ErrorMessage | PortalErrorResponse | ProcessRevision | None: """Fetch the latest configuration revision for a process Returns the highest-numbered revision entry for the given process. Returns 404 for processes without @@ -110,7 +110,7 @@ def sync( httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - ErrorMessage | PortalErrorResponse | ProcessRevisionDto + ErrorMessage | PortalErrorResponse | ProcessRevision """ try: @@ -126,7 +126,7 @@ async def asyncio_detailed( process_id: str, *, client: Client, -) -> Response[ErrorMessage | PortalErrorResponse | ProcessRevisionDto]: +) -> Response[ErrorMessage | PortalErrorResponse | ProcessRevision]: """Fetch the latest configuration revision for a process Returns the highest-numbered revision entry for the given process. Returns 404 for processes without @@ -141,7 +141,7 @@ async def asyncio_detailed( httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - Response[ErrorMessage | PortalErrorResponse | ProcessRevisionDto] + Response[ErrorMessage | PortalErrorResponse | ProcessRevision] """ kwargs = _get_kwargs( @@ -157,7 +157,7 @@ async def asyncio( process_id: str, *, client: Client, -) -> ErrorMessage | PortalErrorResponse | ProcessRevisionDto | None: +) -> ErrorMessage | PortalErrorResponse | ProcessRevision | None: """Fetch the latest configuration revision for a process Returns the highest-numbered revision entry for the given process. Returns 404 for processes without @@ -172,7 +172,7 @@ async def asyncio( httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - ErrorMessage | PortalErrorResponse | ProcessRevisionDto + ErrorMessage | PortalErrorResponse | ProcessRevision """ try: diff --git a/cirro_api_client/v1/api/processes/get_process_resource.py b/cirro_api_client/v1/api/processes/get_process_resource.py index 6080132..5929efe 100644 --- a/cirro_api_client/v1/api/processes/get_process_resource.py +++ b/cirro_api_client/v1/api/processes/get_process_resource.py @@ -9,7 +9,7 @@ from ...models.error_message import ErrorMessage from ...models.portal_error_response import PortalErrorResponse from ...models.process_resource import ProcessResource -from ...models.process_resource_content_dto import ProcessResourceContentDto +from ...models.process_resource_content import ProcessResourceContent from ...types import Response @@ -30,9 +30,9 @@ def _get_kwargs( def _parse_response( *, client: Client, response: httpx.Response -) -> ErrorMessage | PortalErrorResponse | ProcessResourceContentDto | None: +) -> ErrorMessage | PortalErrorResponse | ProcessResourceContent | None: if response.status_code == 200: - response_200 = ProcessResourceContentDto.from_dict(response.json()) + response_200 = ProcessResourceContent.from_dict(response.json()) return response_200 @@ -51,7 +51,7 @@ def _parse_response( def _build_response( *, client: Client, response: httpx.Response -) -> Response[ErrorMessage | PortalErrorResponse | ProcessResourceContentDto]: +) -> Response[ErrorMessage | PortalErrorResponse | ProcessResourceContent]: return Response( status_code=HTTPStatus(response.status_code), content=response.content, @@ -65,7 +65,7 @@ def sync_detailed( type_: ProcessResource, *, client: Client, -) -> Response[ErrorMessage | PortalErrorResponse | ProcessResourceContentDto]: +) -> Response[ErrorMessage | PortalErrorResponse | ProcessResourceContent]: """Fetch the stored content of one pipeline configuration resource at the latest revision Returns the resource content wrapped in a JSON envelope carrying the source revision number and the @@ -81,7 +81,7 @@ def sync_detailed( httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - Response[ErrorMessage | PortalErrorResponse | ProcessResourceContentDto] + Response[ErrorMessage | PortalErrorResponse | ProcessResourceContent] """ kwargs = _get_kwargs( @@ -102,7 +102,7 @@ def sync( type_: ProcessResource, *, client: Client, -) -> ErrorMessage | PortalErrorResponse | ProcessResourceContentDto | None: +) -> ErrorMessage | PortalErrorResponse | ProcessResourceContent | None: """Fetch the stored content of one pipeline configuration resource at the latest revision Returns the resource content wrapped in a JSON envelope carrying the source revision number and the @@ -118,7 +118,7 @@ def sync( httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - ErrorMessage | PortalErrorResponse | ProcessResourceContentDto + ErrorMessage | PortalErrorResponse | ProcessResourceContent """ try: @@ -136,7 +136,7 @@ async def asyncio_detailed( type_: ProcessResource, *, client: Client, -) -> Response[ErrorMessage | PortalErrorResponse | ProcessResourceContentDto]: +) -> Response[ErrorMessage | PortalErrorResponse | ProcessResourceContent]: """Fetch the stored content of one pipeline configuration resource at the latest revision Returns the resource content wrapped in a JSON envelope carrying the source revision number and the @@ -152,7 +152,7 @@ async def asyncio_detailed( httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - Response[ErrorMessage | PortalErrorResponse | ProcessResourceContentDto] + Response[ErrorMessage | PortalErrorResponse | ProcessResourceContent] """ kwargs = _get_kwargs( @@ -170,7 +170,7 @@ async def asyncio( type_: ProcessResource, *, client: Client, -) -> ErrorMessage | PortalErrorResponse | ProcessResourceContentDto | None: +) -> ErrorMessage | PortalErrorResponse | ProcessResourceContent | None: """Fetch the stored content of one pipeline configuration resource at the latest revision Returns the resource content wrapped in a JSON envelope carrying the source revision number and the @@ -186,7 +186,7 @@ async def asyncio( httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - ErrorMessage | PortalErrorResponse | ProcessResourceContentDto + ErrorMessage | PortalErrorResponse | ProcessResourceContent """ try: diff --git a/cirro_api_client/v1/api/processes/get_process_revision.py b/cirro_api_client/v1/api/processes/get_process_revision.py index cc1188d..3867c28 100644 --- a/cirro_api_client/v1/api/processes/get_process_revision.py +++ b/cirro_api_client/v1/api/processes/get_process_revision.py @@ -8,7 +8,7 @@ from ...client import Client from ...models.error_message import ErrorMessage from ...models.portal_error_response import PortalErrorResponse -from ...models.process_revision_dto import ProcessRevisionDto +from ...models.process_revision import ProcessRevision from ...types import Response @@ -29,9 +29,9 @@ def _get_kwargs( def _parse_response( *, client: Client, response: httpx.Response -) -> ErrorMessage | PortalErrorResponse | ProcessRevisionDto | None: +) -> ErrorMessage | PortalErrorResponse | ProcessRevision | None: if response.status_code == 200: - response_200 = ProcessRevisionDto.from_dict(response.json()) + response_200 = ProcessRevision.from_dict(response.json()) return response_200 @@ -50,7 +50,7 @@ def _parse_response( def _build_response( *, client: Client, response: httpx.Response -) -> Response[ErrorMessage | PortalErrorResponse | ProcessRevisionDto]: +) -> Response[ErrorMessage | PortalErrorResponse | ProcessRevision]: return Response( status_code=HTTPStatus(response.status_code), content=response.content, @@ -64,7 +64,7 @@ def sync_detailed( revision_num: int, *, client: Client, -) -> Response[ErrorMessage | PortalErrorResponse | ProcessRevisionDto]: +) -> Response[ErrorMessage | PortalErrorResponse | ProcessRevision]: """Fetch a single configuration revision entry Returns the full revision entry (files map + provenance) for the named revision number. @@ -79,7 +79,7 @@ def sync_detailed( httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - Response[ErrorMessage | PortalErrorResponse | ProcessRevisionDto] + Response[ErrorMessage | PortalErrorResponse | ProcessRevision] """ kwargs = _get_kwargs( @@ -100,7 +100,7 @@ def sync( revision_num: int, *, client: Client, -) -> ErrorMessage | PortalErrorResponse | ProcessRevisionDto | None: +) -> ErrorMessage | PortalErrorResponse | ProcessRevision | None: """Fetch a single configuration revision entry Returns the full revision entry (files map + provenance) for the named revision number. @@ -115,7 +115,7 @@ def sync( httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - ErrorMessage | PortalErrorResponse | ProcessRevisionDto + ErrorMessage | PortalErrorResponse | ProcessRevision """ try: @@ -133,7 +133,7 @@ async def asyncio_detailed( revision_num: int, *, client: Client, -) -> Response[ErrorMessage | PortalErrorResponse | ProcessRevisionDto]: +) -> Response[ErrorMessage | PortalErrorResponse | ProcessRevision]: """Fetch a single configuration revision entry Returns the full revision entry (files map + provenance) for the named revision number. @@ -148,7 +148,7 @@ async def asyncio_detailed( httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - Response[ErrorMessage | PortalErrorResponse | ProcessRevisionDto] + Response[ErrorMessage | PortalErrorResponse | ProcessRevision] """ kwargs = _get_kwargs( @@ -166,7 +166,7 @@ async def asyncio( revision_num: int, *, client: Client, -) -> ErrorMessage | PortalErrorResponse | ProcessRevisionDto | None: +) -> ErrorMessage | PortalErrorResponse | ProcessRevision | None: """Fetch a single configuration revision entry Returns the full revision entry (files map + provenance) for the named revision number. @@ -181,7 +181,7 @@ async def asyncio( httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - ErrorMessage | PortalErrorResponse | ProcessRevisionDto + ErrorMessage | PortalErrorResponse | ProcessRevision """ try: diff --git a/cirro_api_client/v1/models/__init__.py b/cirro_api_client/v1/models/__init__.py index 4c41d3c..924a823 100644 --- a/cirro_api_client/v1/models/__init__.py +++ b/cirro_api_client/v1/models/__init__.py @@ -56,7 +56,7 @@ from .customer_type import CustomerType from .dashboard import Dashboard from .dashboard_criteria import DashboardCriteria -from .dashboard_dashboard_data_type_0 import DashboardDashboardDataType0 +from .dashboard_data import DashboardData from .dashboard_input import DashboardInput from .dashboard_input_criteria import DashboardInputCriteria from .dashboard_input_dashboard_data import DashboardInputDashboardData @@ -154,9 +154,9 @@ from .process_detail import ProcessDetail from .process_documentation import ProcessDocumentation from .process_resource import ProcessResource -from .process_resource_content_dto import ProcessResourceContentDto -from .process_revision_dto import ProcessRevisionDto -from .process_revision_dto_files import ProcessRevisionDtoFiles +from .process_resource_content import ProcessResourceContent +from .process_revision import ProcessRevision +from .process_revision_files import ProcessRevisionFiles from .process_revision_save_file import ProcessRevisionSaveFile from .process_revision_save_request import ProcessRevisionSaveRequest from .process_revision_save_response import ProcessRevisionSaveResponse @@ -322,7 +322,7 @@ "CustomProcessInput", "Dashboard", "DashboardCriteria", - "DashboardDashboardDataType0", + "DashboardData", "DashboardInput", "DashboardInputCriteria", "DashboardInputDashboardData", @@ -420,9 +420,9 @@ "ProcessDetail", "ProcessDocumentation", "ProcessResource", - "ProcessResourceContentDto", - "ProcessRevisionDto", - "ProcessRevisionDtoFiles", + "ProcessResourceContent", + "ProcessRevision", + "ProcessRevisionFiles", "ProcessRevisionSaveFile", "ProcessRevisionSaveRequest", "ProcessRevisionSaveResponse", diff --git a/cirro_api_client/v1/models/dashboard.py b/cirro_api_client/v1/models/dashboard.py index 18d100e..62ad1a0 100644 --- a/cirro_api_client/v1/models/dashboard.py +++ b/cirro_api_client/v1/models/dashboard.py @@ -11,7 +11,7 @@ if TYPE_CHECKING: from ..models.dashboard_criteria import DashboardCriteria - from ..models.dashboard_dashboard_data_type_0 import DashboardDashboardDataType0 + from ..models.dashboard_data import DashboardData from ..models.tag import Tag @@ -30,8 +30,7 @@ class Dashboard: created_at (datetime.datetime): updated_at (datetime.datetime): criteria (DashboardCriteria | Unset): - dashboard_data (DashboardDashboardDataType0 | None | Unset): Dashboard definition (not provided in list - responses) + dashboard_data (DashboardData | None | Unset): Dashboard definition (not provided in list responses) schema_version (int | Unset): Schema version of dashboardData """ @@ -43,12 +42,12 @@ class Dashboard: created_at: datetime.datetime updated_at: datetime.datetime criteria: DashboardCriteria | Unset = UNSET - dashboard_data: DashboardDashboardDataType0 | None | Unset = UNSET + dashboard_data: DashboardData | None | Unset = UNSET schema_version: int | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: - from ..models.dashboard_dashboard_data_type_0 import DashboardDashboardDataType0 + from ..models.dashboard_data import DashboardData id = self.id @@ -74,7 +73,7 @@ def to_dict(self) -> dict[str, Any]: dashboard_data: dict[str, Any] | None | Unset if isinstance(self.dashboard_data, Unset): dashboard_data = UNSET - elif isinstance(self.dashboard_data, DashboardDashboardDataType0): + elif isinstance(self.dashboard_data, DashboardData): dashboard_data = self.dashboard_data.to_dict() else: dashboard_data = self.dashboard_data @@ -106,7 +105,7 @@ def to_dict(self) -> dict[str, Any]: @classmethod def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: from ..models.dashboard_criteria import DashboardCriteria - from ..models.dashboard_dashboard_data_type_0 import DashboardDashboardDataType0 + from ..models.dashboard_data import DashboardData from ..models.tag import Tag d = dict(src_dict) @@ -136,7 +135,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: else: criteria = DashboardCriteria.from_dict(_criteria) - def _parse_dashboard_data(data: object) -> DashboardDashboardDataType0 | None | Unset: + def _parse_dashboard_data(data: object) -> DashboardData | None | Unset: if data is None: return data if isinstance(data, Unset): @@ -144,12 +143,12 @@ def _parse_dashboard_data(data: object) -> DashboardDashboardDataType0 | None | try: if not isinstance(data, dict): raise TypeError() - dashboard_data_type_0 = DashboardDashboardDataType0.from_dict(data) + dashboard_data_type_0 = DashboardData.from_dict(data) return dashboard_data_type_0 except (TypeError, ValueError, AttributeError, KeyError): pass - return cast(DashboardDashboardDataType0 | None | Unset, data) + return cast(DashboardData | None | Unset, data) dashboard_data = _parse_dashboard_data(d.pop("dashboardData", UNSET)) diff --git a/cirro_api_client/v1/models/dashboard_dashboard_data_type_0.py b/cirro_api_client/v1/models/dashboard_data.py similarity index 81% rename from cirro_api_client/v1/models/dashboard_dashboard_data_type_0.py rename to cirro_api_client/v1/models/dashboard_data.py index 9395b94..283c1b4 100644 --- a/cirro_api_client/v1/models/dashboard_dashboard_data_type_0.py +++ b/cirro_api_client/v1/models/dashboard_data.py @@ -6,11 +6,11 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -T = TypeVar("T", bound="DashboardDashboardDataType0") +T = TypeVar("T", bound="DashboardData") @_attrs_define -class DashboardDashboardDataType0: +class DashboardData: """Dashboard definition (not provided in list responses)""" additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) @@ -25,10 +25,10 @@ def to_dict(self) -> dict[str, Any]: @classmethod def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: d = dict(src_dict) - dashboard_dashboard_data_type_0 = cls() + dashboard_data = cls() - dashboard_dashboard_data_type_0.additional_properties = d - return dashboard_dashboard_data_type_0 + dashboard_data.additional_properties = d + return dashboard_data @property def additional_keys(self) -> list[str]: diff --git a/cirro_api_client/v1/models/dataset.py b/cirro_api_client/v1/models/dataset.py index 594606a..59ba231 100644 --- a/cirro_api_client/v1/models/dataset.py +++ b/cirro_api_client/v1/models/dataset.py @@ -26,8 +26,7 @@ class Dataset: project_id (str): Project ID process_id (str): Process ID source_dataset_ids (list[str]): Source dataset IDs - status (Status): Current state of the usage. RUNNING means access is active; DELETED means the access point has - been revoked. + status (Status): tags (list[Tag]): Tags created_by (str): User who created the dataset created_at (datetime.datetime): Timestamp when the dataset was created diff --git a/cirro_api_client/v1/models/dataset_detail.py b/cirro_api_client/v1/models/dataset_detail.py index 83dc6d1..5105eac 100644 --- a/cirro_api_client/v1/models/dataset_detail.py +++ b/cirro_api_client/v1/models/dataset_detail.py @@ -35,8 +35,7 @@ class DatasetDetail: source_sample_ids (list[str]): source_sample_files_map (DatasetDetailSourceSampleFilesMap): Keys are sampleIds, and the lists are file paths to include. - status (Status): Current state of the usage. RUNNING means access is active; DELETED means the access point has - been revoked. + status (Status): status_message (str): tags (list[Tag]): Tags params (DatasetDetailParams): diff --git a/cirro_api_client/v1/models/paginated_response_process_revision_dto.py b/cirro_api_client/v1/models/paginated_response_process_revision_dto.py index a129cb4..95c2264 100644 --- a/cirro_api_client/v1/models/paginated_response_process_revision_dto.py +++ b/cirro_api_client/v1/models/paginated_response_process_revision_dto.py @@ -7,7 +7,7 @@ from attrs import field as _attrs_field if TYPE_CHECKING: - from ..models.process_revision_dto import ProcessRevisionDto + from ..models.process_revision import ProcessRevision T = TypeVar("T", bound="PaginatedResponseProcessRevisionDto") @@ -17,11 +17,11 @@ class PaginatedResponseProcessRevisionDto: """ Attributes: - data (list[ProcessRevisionDto]): + data (list[ProcessRevision]): next_token (str): """ - data: list[ProcessRevisionDto] + data: list[ProcessRevision] next_token: str additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) @@ -46,13 +46,13 @@ def to_dict(self) -> dict[str, Any]: @classmethod def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: - from ..models.process_revision_dto import ProcessRevisionDto + from ..models.process_revision import ProcessRevision d = dict(src_dict) data = [] _data = d.pop("data") for data_item_data in _data: - data_item = ProcessRevisionDto.from_dict(data_item_data) + data_item = ProcessRevision.from_dict(data_item_data) data.append(data_item) diff --git a/cirro_api_client/v1/models/process_resource_content_dto.py b/cirro_api_client/v1/models/process_resource_content.py similarity index 92% rename from cirro_api_client/v1/models/process_resource_content_dto.py rename to cirro_api_client/v1/models/process_resource_content.py index 6b60fab..6a2c3c0 100644 --- a/cirro_api_client/v1/models/process_resource_content_dto.py +++ b/cirro_api_client/v1/models/process_resource_content.py @@ -9,11 +9,11 @@ from ..models.process_resource import ProcessResource from ..types import UNSET, Unset -T = TypeVar("T", bound="ProcessResourceContentDto") +T = TypeVar("T", bound="ProcessResourceContent") @_attrs_define -class ProcessResourceContentDto: +class ProcessResourceContent: """Stored content for a single pipeline configuration resource at the current revision. Attributes: @@ -73,15 +73,15 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: content = d.pop("content", UNSET) - process_resource_content_dto = cls( + process_resource_content = cls( type_=type_, revision_number=revision_number, digest=digest, content=content, ) - process_resource_content_dto.additional_properties = d - return process_resource_content_dto + process_resource_content.additional_properties = d + return process_resource_content @property def additional_keys(self) -> list[str]: diff --git a/cirro_api_client/v1/models/process_revision_dto.py b/cirro_api_client/v1/models/process_revision.py similarity index 87% rename from cirro_api_client/v1/models/process_revision_dto.py rename to cirro_api_client/v1/models/process_revision.py index efdf40c..4d7bf73 100644 --- a/cirro_api_client/v1/models/process_revision_dto.py +++ b/cirro_api_client/v1/models/process_revision.py @@ -10,14 +10,14 @@ from ..types import UNSET, Unset if TYPE_CHECKING: - from ..models.process_revision_dto_files import ProcessRevisionDtoFiles + from ..models.process_revision_files import ProcessRevisionFiles -T = TypeVar("T", bound="ProcessRevisionDto") +T = TypeVar("T", bound="ProcessRevision") @_attrs_define -class ProcessRevisionDto: +class ProcessRevision: """ Attributes: revision_number (int): @@ -25,7 +25,7 @@ class ProcessRevisionDto: saved_at (datetime.datetime): saved_resource_types (list[str]): deleted_resource_types (list[str]): - files (ProcessRevisionDtoFiles): + files (ProcessRevisionFiles): commit_message (None | str | Unset): """ @@ -34,7 +34,7 @@ class ProcessRevisionDto: saved_at: datetime.datetime saved_resource_types: list[str] deleted_resource_types: list[str] - files: ProcessRevisionDtoFiles + files: ProcessRevisionFiles commit_message: None | str | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) @@ -76,7 +76,7 @@ def to_dict(self) -> dict[str, Any]: @classmethod def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: - from ..models.process_revision_dto_files import ProcessRevisionDtoFiles + from ..models.process_revision_files import ProcessRevisionFiles d = dict(src_dict) revision_number = d.pop("revisionNumber") @@ -89,7 +89,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: deleted_resource_types = cast(list[str], d.pop("deletedResourceTypes")) - files = ProcessRevisionDtoFiles.from_dict(d.pop("files")) + files = ProcessRevisionFiles.from_dict(d.pop("files")) def _parse_commit_message(data: object) -> None | str | Unset: if data is None: @@ -100,7 +100,7 @@ def _parse_commit_message(data: object) -> None | str | Unset: commit_message = _parse_commit_message(d.pop("commitMessage", UNSET)) - process_revision_dto = cls( + process_revision = cls( revision_number=revision_number, saved_by=saved_by, saved_at=saved_at, @@ -110,8 +110,8 @@ def _parse_commit_message(data: object) -> None | str | Unset: commit_message=commit_message, ) - process_revision_dto.additional_properties = d - return process_revision_dto + process_revision.additional_properties = d + return process_revision @property def additional_keys(self) -> list[str]: diff --git a/cirro_api_client/v1/models/process_revision_dto_files.py b/cirro_api_client/v1/models/process_revision_files.py similarity index 82% rename from cirro_api_client/v1/models/process_revision_dto_files.py rename to cirro_api_client/v1/models/process_revision_files.py index e0e278b..fe04af8 100644 --- a/cirro_api_client/v1/models/process_revision_dto_files.py +++ b/cirro_api_client/v1/models/process_revision_files.py @@ -6,11 +6,11 @@ from attrs import define as _attrs_define from attrs import field as _attrs_field -T = TypeVar("T", bound="ProcessRevisionDtoFiles") +T = TypeVar("T", bound="ProcessRevisionFiles") @_attrs_define -class ProcessRevisionDtoFiles: +class ProcessRevisionFiles: """ """ additional_properties: dict[str, str] = _attrs_field(init=False, factory=dict) @@ -25,10 +25,10 @@ def to_dict(self) -> dict[str, Any]: @classmethod def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: d = dict(src_dict) - process_revision_dto_files = cls() + process_revision_files = cls() - process_revision_dto_files.additional_properties = d - return process_revision_dto_files + process_revision_files.additional_properties = d + return process_revision_files @property def additional_keys(self) -> list[str]: diff --git a/cirro_api_client/v1/models/project.py b/cirro_api_client/v1/models/project.py index 5d68170..404c829 100644 --- a/cirro_api_client/v1/models/project.py +++ b/cirro_api_client/v1/models/project.py @@ -22,8 +22,7 @@ class Project: id (str): name (str): description (str): - status (Status): Current state of the usage. RUNNING means access is active; DELETED means the access point has - been revoked. + status (Status): tags (list[Tag]): organization (str): classification_ids (list[str]): diff --git a/cirro_api_client/v1/models/project_detail.py b/cirro_api_client/v1/models/project_detail.py index c51749c..7e6a9c1 100644 --- a/cirro_api_client/v1/models/project_detail.py +++ b/cirro_api_client/v1/models/project_detail.py @@ -30,8 +30,7 @@ class ProjectDetail: billing_account_id (str): contacts (list[Contact]): organization (str): - status (Status): Current state of the usage. RUNNING means access is active; DELETED means the access point has - been revoked. + status (Status): settings (ProjectSettings): account (CloudAccount): status_message (str): diff --git a/cirro_api_client/v1/models/share_usage.py b/cirro_api_client/v1/models/share_usage.py index 8f0bfd5..1019964 100644 --- a/cirro_api_client/v1/models/share_usage.py +++ b/cirro_api_client/v1/models/share_usage.py @@ -24,11 +24,10 @@ class ShareUsage: Attributes: id (str): consuming_item (Entity): + status (Status): updated_at (datetime.datetime): consuming_project_id (str | Unset): ID of the project the consuming item belongs to. originating_dataset_id (str | Unset): ID of the dataset in the originating project that was shared. - status (Status | Unset): Current state of the usage. RUNNING means access is active; DELETED means the access - point has been revoked. access_point_arn (str | Unset): ARN of the shared AWS S3 access point. One access point covers all usages from the same consuming item to the same originating project. created_at (datetime.datetime | Unset): When access was first granted. @@ -36,10 +35,10 @@ class ShareUsage: id: str consuming_item: Entity + status: Status updated_at: datetime.datetime consuming_project_id: str | Unset = UNSET originating_dataset_id: str | Unset = UNSET - status: Status | Unset = UNSET access_point_arn: str | Unset = UNSET created_at: datetime.datetime | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) @@ -49,16 +48,14 @@ def to_dict(self) -> dict[str, Any]: consuming_item = self.consuming_item.to_dict() + status = self.status.value + updated_at = self.updated_at.isoformat() consuming_project_id = self.consuming_project_id originating_dataset_id = self.originating_dataset_id - status: str | Unset = UNSET - if not isinstance(self.status, Unset): - status = self.status.value - access_point_arn = self.access_point_arn created_at: str | Unset = UNSET @@ -71,6 +68,7 @@ def to_dict(self) -> dict[str, Any]: { "id": id, "consumingItem": consuming_item, + "status": status, "updatedAt": updated_at, } ) @@ -78,8 +76,6 @@ def to_dict(self) -> dict[str, Any]: field_dict["consumingProjectId"] = consuming_project_id if originating_dataset_id is not UNSET: field_dict["originatingDatasetId"] = originating_dataset_id - if status is not UNSET: - field_dict["status"] = status if access_point_arn is not UNSET: field_dict["accessPointArn"] = access_point_arn if created_at is not UNSET: @@ -96,19 +92,14 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: consuming_item = Entity.from_dict(d.pop("consumingItem")) + status = Status(d.pop("status")) + updated_at = datetime.datetime.fromisoformat(d.pop("updatedAt")) consuming_project_id = d.pop("consumingProjectId", UNSET) originating_dataset_id = d.pop("originatingDatasetId", UNSET) - _status = d.pop("status", UNSET) - status: Status | Unset - if isinstance(_status, Unset): - status = UNSET - else: - status = Status(_status) - access_point_arn = d.pop("accessPointArn", UNSET) _created_at = d.pop("createdAt", UNSET) @@ -121,10 +112,10 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: share_usage = cls( id=id, consuming_item=consuming_item, + status=status, updated_at=updated_at, consuming_project_id=consuming_project_id, originating_dataset_id=originating_dataset_id, - status=status, access_point_arn=access_point_arn, created_at=created_at, ) diff --git a/cirro_api_client/v1/models/shared_filesystem.py b/cirro_api_client/v1/models/shared_filesystem.py index 1242447..7ed5291 100644 --- a/cirro_api_client/v1/models/shared_filesystem.py +++ b/cirro_api_client/v1/models/shared_filesystem.py @@ -25,8 +25,7 @@ class SharedFilesystem: name (str): description (str): project_id (str): - status (Status): Current state of the usage. RUNNING means access is active; DELETED means the access point has - been revoked. + status (Status): created_by (str): created_at (datetime.datetime): updated_at (datetime.datetime): diff --git a/cirro_api_client/v1/models/sheet.py b/cirro_api_client/v1/models/sheet.py index bb19308..3c57f1c 100644 --- a/cirro_api_client/v1/models/sheet.py +++ b/cirro_api_client/v1/models/sheet.py @@ -30,8 +30,7 @@ class Sheet: project_id (str): sheet_type (SheetType): sheet_creation_mode (SheetCreationMode): - status (Status): Current state of the usage. RUNNING means access is active; DELETED means the access point has - been revoked. + status (Status): created_by (str): created_at (datetime.datetime): updated_at (datetime.datetime): diff --git a/cirro_api_client/v1/models/sheet_detail.py b/cirro_api_client/v1/models/sheet_detail.py index 087d3d6..9876491 100644 --- a/cirro_api_client/v1/models/sheet_detail.py +++ b/cirro_api_client/v1/models/sheet_detail.py @@ -33,8 +33,7 @@ class SheetDetail: namespace_name (str): table_name (str): sheet_type (SheetType): - status (Status): Current state of the usage. RUNNING means access is active; DELETED means the access point has - been revoked. + status (Status): audit_read_access (bool): created_by (str): created_at (datetime.datetime): diff --git a/cirro_api_client/v1/models/sheet_job.py b/cirro_api_client/v1/models/sheet_job.py index 11dda16..2f14d5c 100644 --- a/cirro_api_client/v1/models/sheet_job.py +++ b/cirro_api_client/v1/models/sheet_job.py @@ -21,8 +21,7 @@ class SheetJob: id (str): sheet_id (str): job_type (SheetJobType): - status (Status): Current state of the usage. RUNNING means access is active; DELETED means the access point has - been revoked. + status (Status): created_at (datetime.datetime): updated_at (datetime.datetime): started_at (datetime.datetime | None | Unset): diff --git a/cirro_api_client/v1/models/workspace.py b/cirro_api_client/v1/models/workspace.py index 00b0210..782312a 100644 --- a/cirro_api_client/v1/models/workspace.py +++ b/cirro_api_client/v1/models/workspace.py @@ -28,8 +28,7 @@ class Workspace: name (str): description (str): project_id (str): - status (Status): Current state of the usage. RUNNING means access is active; DELETED means the access point has - been revoked. + status (Status): status_message (str): environment_id (str): mounted_datasets (list[MountedDataset]): diff --git a/config.yml b/config.yml index ebc3644..013826b 100644 --- a/config.yml +++ b/config.yml @@ -33,3 +33,5 @@ class_overrides: class_name: ViewFilterValues SheetQueryResponseRowsItemItem: class_name: SheetQueryResponseRowsItem + DashboardDashboardDataType0: + class_name: DashboardData From 2931bdb81fa3ff42839b363aded7cfb2673765f1 Mon Sep 17 00:00:00 2001 From: Nathan Thorpe Date: Tue, 23 Jun 2026 07:57:31 -0700 Subject: [PATCH 5/6] Bump version from 1.5.0 to 1.6.0 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 82c006c..bf021e3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "cirro_api_client" -version = "1.5.0" +version = "1.6.0" description = "A client library for accessing Cirro" authors = ["Cirro "] license = "MIT" From f8b6d5670e52011ccb0219317ee98de935e25bcc Mon Sep 17 00:00:00 2001 From: Nathan Thorpe Date: Tue, 23 Jun 2026 07:59:26 -0700 Subject: [PATCH 6/6] bump min python version --- .github/workflows/lint.yml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 37db73b..f31fddb 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,7 +15,7 @@ jobs: contents: read strategy: matrix: - python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ] + python-version: [ "3.11", "3.12", "3.13", "3.14" ] steps: - uses: actions/checkout@v2 diff --git a/README.md b/README.md index f2b3cb3..118b0e8 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ This Python package is automatically generated by the [OpenAPI Python Client](ht ## Requirements. -Python 3.10+. +Python 3.11+. ## Installation & Usage ### pip install