From bf0710f0e6af13d59dde7bbb7addac917fdb5b48 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Tue, 10 Sep 2024 12:52:57 -0700 Subject: [PATCH] upgrade pydantic (#266) * upgrade pydantic Signed-off-by: Jess Frazelle * updates Signed-off-by: Jess Frazelle * update other deps Signed-off-by: Jess Frazelle * update other deps Signed-off-by: Jess Frazelle * ruff Signed-off-by: Jess Frazelle * bump more deps Signed-off-by: Jess Frazelle * update Signed-off-by: Jess Frazelle * format Signed-off-by: Jess Frazelle * bump Signed-off-by: Jess Frazelle --------- Signed-off-by: Jess Frazelle --- .github/workflows/black.yml | 38 - .github/workflows/ruff.yml | 1 + generate/run.sh | 2 +- kittycad.py.patch.json | 750 +++--- kittycad/__init__.py | 2 +- kittycad/api/__init__.py | 2 +- kittycad/api/api_calls/__init__.py | 2 +- .../api/api_calls/get_api_call_metrics.py | 1 - kittycad/api/api_calls/get_async_operation.py | 14 +- kittycad/api/api_calls/list_api_calls.py | 3 - .../api/api_calls/list_api_calls_for_user.py | 9 +- .../api/api_calls/list_async_operations.py | 4 - kittycad/api/api_calls/org_list_api_calls.py | 9 +- kittycad/api/api_calls/user_list_api_calls.py | 9 +- kittycad/api/api_tokens/__init__.py | 2 +- .../api_tokens/create_api_token_for_user.py | 1 - .../api_tokens/delete_api_token_for_user.py | 6 +- .../api_tokens/list_api_tokens_for_user.py | 9 +- kittycad/api/apps/__init__.py | 2 +- kittycad/api/apps/apps_github_callback.py | 6 +- kittycad/api/apps/apps_github_consent.py | 6 +- kittycad/api/beta/__init__.py | 2 +- kittycad/api/constant/__init__.py | 2 +- kittycad/api/executor/__init__.py | 2 +- kittycad/api/executor/create_executor_term.py | 7 +- .../api/executor/create_file_execution.py | 3 - kittycad/api/file/__init__.py | 2 +- .../api/file/create_file_center_of_mass.py | 8 +- kittycad/api/file/create_file_conversion.py | 6 +- kittycad/api/file/create_file_density.py | 10 +- kittycad/api/file/create_file_mass.py | 10 +- kittycad/api/file/create_file_surface_area.py | 8 +- kittycad/api/file/create_file_volume.py | 8 +- kittycad/api/hidden/__init__.py | 2 +- kittycad/api/hidden/auth_email.py | 2 - kittycad/api/hidden/auth_email_callback.py | 5 - kittycad/api/hidden/get_auth_saml.py | 1 - kittycad/api/hidden/post_auth_saml.py | 2 - kittycad/api/meta/__init__.py | 2 +- kittycad/api/meta/get_ipinfo.py | 2 - kittycad/api/meta/get_schema.py | 2 - kittycad/api/meta/ping.py | 2 - kittycad/api/ml/__init__.py | 2 +- .../api/ml/create_kcl_code_completions.py | 2 - kittycad/api/ml/create_text_to_cad.py | 7 +- .../ml/create_text_to_cad_model_feedback.py | 1 - kittycad/api/ml/list_ml_prompts.py | 9 +- .../ml/list_text_to_cad_models_for_user.py | 10 +- kittycad/api/modeling/__init__.py | 2 +- kittycad/api/modeling/modeling_commands_ws.py | 16 +- kittycad/api/oauth2/__init__.py | 2 +- kittycad/api/orgs/__init__.py | 2 +- kittycad/api/orgs/create_org_member.py | 6 +- kittycad/api/orgs/delete_org.py | 6 +- kittycad/api/orgs/list_org_members.py | 4 - kittycad/api/orgs/list_orgs.py | 3 - kittycad/api/payments/__init__.py | 2 +- .../create_payment_information_for_org.py | 6 +- .../create_payment_information_for_user.py | 6 +- .../delete_payment_information_for_org.py | 6 +- .../delete_payment_information_for_user.py | 6 +- .../get_payment_information_for_org.py | 6 +- .../get_payment_information_for_user.py | 6 +- .../update_payment_information_for_org.py | 6 +- .../update_payment_information_for_user.py | 6 +- kittycad/api/service_accounts/__init__.py | 2 +- .../create_service_account_for_org.py | 1 - .../delete_service_account_for_org.py | 6 +- .../list_service_accounts_for_org.py | 9 +- kittycad/api/store/__init__.py | 2 +- kittycad/api/unit/__init__.py | 2 +- .../api/unit/get_angle_unit_conversion.py | 1 - kittycad/api/unit/get_area_unit_conversion.py | 1 - .../api/unit/get_current_unit_conversion.py | 1 - .../api/unit/get_energy_unit_conversion.py | 1 - .../api/unit/get_force_unit_conversion.py | 1 - .../api/unit/get_frequency_unit_conversion.py | 1 - .../api/unit/get_length_unit_conversion.py | 1 - kittycad/api/unit/get_mass_unit_conversion.py | 1 - .../api/unit/get_power_unit_conversion.py | 1 - .../api/unit/get_pressure_unit_conversion.py | 1 - .../unit/get_temperature_unit_conversion.py | 1 - .../api/unit/get_torque_unit_conversion.py | 1 - .../api/unit/get_volume_unit_conversion.py | 1 - kittycad/api/users/__init__.py | 2 +- kittycad/api/users/delete_user_self.py | 6 +- .../users/get_oauth2_providers_for_user.py | 6 +- kittycad/api/users/list_users.py | 3 - kittycad/api/users/list_users_extended.py | 3 - kittycad/client_test.py | 58 +- kittycad/examples_test.py | 2230 ++++++++--------- kittycad/models/__init__.py | 2 +- kittycad/models/add_org_member.py | 1 - kittycad/models/angle.py | 1 - .../models/annotation_line_end_options.py | 1 - kittycad/models/annotation_text_options.py | 1 - kittycad/models/api_call_query_group.py | 2 - kittycad/models/api_error.py | 1 - kittycad/models/app_client_info.py | 1 - kittycad/models/auth_callback.py | 1 - kittycad/models/axis.py | 3 +- kittycad/models/axis_direction_pair.py | 1 - kittycad/models/base64data.py | 61 +- kittycad/models/batch_response.py | 1 - kittycad/models/cache_metadata.py | 2 - kittycad/models/camera_drag_end.py | 1 - kittycad/models/camera_drag_move.py | 1 - kittycad/models/center_of_mass.py | 1 - kittycad/models/client_metrics.py | 2 - kittycad/models/close_path.py | 2 - kittycad/models/cluster.py | 1 - kittycad/models/code_language.py | 3 +- kittycad/models/code_output.py | 3 +- kittycad/models/color.py | 2 - kittycad/models/coupon.py | 1 - kittycad/models/currency.py | 3 +- kittycad/models/curve_get_end_points.py | 1 - kittycad/models/curve_get_type.py | 1 - kittycad/models/default_camera_focus_on.py | 2 - .../models/default_camera_get_settings.py | 1 - kittycad/models/default_camera_zoom.py | 1 - kittycad/models/density.py | 1 - kittycad/models/der_encoded_key_pair.py | 1 - .../device_access_token_request_form.py | 1 - kittycad/models/device_auth_request_form.py | 2 - kittycad/models/device_auth_verify_params.py | 2 - kittycad/models/discount.py | 1 - kittycad/models/discount_code.py | 1 - kittycad/models/email_authentication_form.py | 1 - kittycad/models/entity_circular_pattern.py | 1 - kittycad/models/entity_get_all_child_uuids.py | 1 - kittycad/models/entity_get_child_uuid.py | 2 - kittycad/models/entity_get_distance.py | 1 - kittycad/models/entity_get_num_children.py | 2 - kittycad/models/entity_get_parent_id.py | 2 - kittycad/models/entity_get_sketch_paths.py | 1 - kittycad/models/entity_linear_pattern.py | 1 - .../models/entity_linear_pattern_transform.py | 1 - kittycad/models/error.py | 1 - kittycad/models/export_file.py | 1 - kittycad/models/extended_user.py | 3 +- kittycad/models/face_get_center.py | 1 - kittycad/models/face_get_gradient.py | 1 - kittycad/models/face_get_position.py | 1 - kittycad/models/file_system_metadata.py | 2 - kittycad/models/gateway.py | 2 - kittycad/models/get_entity_type.py | 1 - kittycad/models/get_num_objects.py | 2 - kittycad/models/get_sketch_mode_plane.py | 1 - kittycad/models/highlight_set_entity.py | 1 - kittycad/models/ice_server.py | 1 - kittycad/models/import_file.py | 2 - kittycad/models/import_files.py | 2 - kittycad/models/imported_geometry.py | 1 - kittycad/models/jetstream.py | 1 - kittycad/models/jetstream_api_stats.py | 2 - kittycad/models/jetstream_config.py | 2 - kittycad/models/jetstream_stats.py | 1 - kittycad/models/kcl_code_completion_params.py | 1 - .../models/kcl_code_completion_response.py | 1 - kittycad/models/leaf_node.py | 2 - kittycad/models/loft.py | 2 - kittycad/models/mass.py | 1 - kittycad/models/meta_cluster_info.py | 2 - kittycad/models/metadata.py | 1 - kittycad/models/method.py | 3 +- kittycad/models/modeling_cmd_req.py | 1 - kittycad/models/modeling_session_data.py | 2 - kittycad/models/mouse_click.py | 1 - kittycad/models/o_auth2_client_info.py | 1 - kittycad/models/onboarding.py | 1 - kittycad/models/org_details.py | 1 - kittycad/models/output_file.py | 4 +- kittycad/models/path_get_curve_uuid.py | 2 - .../path_get_curve_uuids_for_vertices.py | 1 - .../models/path_get_sketch_target_uuid.py | 1 - kittycad/models/path_get_vertex_uuids.py | 1 - kittycad/models/payment_intent.py | 2 - kittycad/models/payment_method_card_checks.py | 1 - .../models/perspective_camera_parameters.py | 1 - kittycad/models/point2d.py | 1 - kittycad/models/point3d.py | 2 - kittycad/models/point4d.py | 2 - kittycad/models/pong.py | 2 - kittycad/models/privacy_settings.py | 2 - kittycad/models/raw_file.py | 2 - kittycad/models/rotation.py | 1 - kittycad/models/rtc_ice_candidate_init.py | 1 - kittycad/models/rtc_session_description.py | 1 - kittycad/models/select_get.py | 1 - kittycad/models/select_with_point.py | 1 - kittycad/models/selection.py | 1 - kittycad/models/service_account.py | 3 +- kittycad/models/solid3d_get_all_edge_faces.py | 1 - .../models/solid3d_get_all_opposite_edges.py | 1 - .../models/solid3d_get_next_adjacent_edge.py | 1 - kittycad/models/solid3d_get_opposite_edge.py | 2 - .../models/solid3d_get_prev_adjacent_edge.py | 1 - kittycad/models/source_position.py | 2 - kittycad/models/source_range.py | 1 - kittycad/models/source_range_prompt.py | 1 - kittycad/models/store_coupon_params.py | 2 - kittycad/models/subscription_tier_feature.py | 2 - kittycad/models/subscription_tier_type.py | 1 - kittycad/models/surface_area.py | 1 - kittycad/models/system.py | 4 +- kittycad/models/take_snapshot.py | 1 - kittycad/models/text_to_cad_create_body.py | 2 - kittycad/models/transform.py | 1 - kittycad/models/update_member_to_org_body.py | 1 - kittycad/models/update_payment_balance.py | 1 - kittycad/models/update_user.py | 1 - kittycad/models/view_isometric.py | 1 - kittycad/models/volume.py | 1 - kittycad/models/zoo_product_subscriptions.py | 1 - .../zoo_product_subscriptions_org_request.py | 1 - .../zoo_product_subscriptions_user_request.py | 1 - kittycad/models/zoom_to_fit.py | 1 - kittycad/types.py | 2 +- poetry.lock | 912 ++----- pyproject.toml | 42 +- 221 files changed, 1839 insertions(+), 2790 deletions(-) delete mode 100644 .github/workflows/black.yml diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml deleted file mode 100644 index 577adeb63..000000000 --- a/.github/workflows/black.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: black -on: - push: - branches: main - paths: - - '**.py' - - .github/workflows/black.yml - - 'pyproject.toml' - pull_request: - paths: - - '**.py' - - .github/workflows/black.yml - - 'pyproject.toml' -jobs: - black: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v5 - - # Installation instructions are from: https://python-poetry.org/docs/ - - name: Install dependencies - shell: bash - run: | - pip install \ - poetry - - - name: Build - shell: bash - run: | - poetry install - poetry build - - - name: Run black - shell: bash - run: | - poetry run black --check --diff . generate/generate.py docs/conf.py kittycad/client_test.py kittycad/examples_test.py diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml index d5bd86471..bde064636 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/ruff.yml @@ -36,3 +36,4 @@ jobs: shell: bash run: | poetry run ruff check --output-format=github . + poetry run ruff format --check diff --git a/generate/run.sh b/generate/run.sh index 463c9aec3..5444daa7d 100755 --- a/generate/run.sh +++ b/generate/run.sh @@ -20,8 +20,8 @@ poetry run python generate/generate.py # Format and lint. poetry run isort . -poetry run black . generate/generate.py docs/conf.py kittycad/client_test.py kittycad/examples_test.py kittycad/models/*.py kittycad/api/*.py kittycad/api/*/*.py poetry run ruff check --fix . +poetry run ruff format poetry run mypy . --exclude venv || true diff --git a/kittycad.py.patch.json b/kittycad.py.patch.json index 29ad578f6..5d05f38a4 100644 --- a/kittycad.py.patch.json +++ b/kittycad.py.patch.json @@ -1,938 +1,938 @@ [ { "op": "add", - "path": "/paths/~1user~1payment~1balance/get/x-python", + "path": "/info/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import get_payment_balance_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import CustomerBalance, Error\nfrom kittycad.types import Response\n\n\ndef example_get_payment_balance_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[CustomerBalance, Error]] = (\n get_payment_balance_for_user.sync(\n client=client,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: CustomerBalance = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.get_payment_balance_for_user.html" + "client": "# Create a client with your token.\nfrom kittycad.client import Client\n\nclient = Client(token=\"$TOKEN\")\n\n# - OR -\n\n# Create a new client with your token parsed from the environment variable:\n# `KITTYCAD_API_TOKEN`.\nfrom kittycad.client import ClientFromEnv\n\nclient = ClientFromEnv()\n\n# NOTE: The python library additionally implements asyncio, however all the code samples we\n# show below use the sync functions for ease of use and understanding.\n# Check out the library docs at:\n# https://python.api.docs.kittycad.io/_autosummary/kittycad.api.html#module-kittycad.api\n# for more details.", + "install": "pip install kittycad" } }, { "op": "add", - "path": "/paths/~1user~1extended/get/x-python", + "path": "/paths/~1store~1coupon/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.users import get_user_self_extended\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, ExtendedUser\nfrom kittycad.types import Response\n\n\ndef example_get_user_self_extended():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ExtendedUser, Error]] = get_user_self_extended.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ExtendedUser = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.users.get_user_self_extended.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.store import create_store_coupon\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import DiscountCode, Error\nfrom kittycad.models.store_coupon_params import StoreCouponParams\nfrom kittycad.types import Response\n\n\ndef example_create_store_coupon():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[DiscountCode, Error]] = create_store_coupon.sync(\n client=client,\n body=StoreCouponParams(\n percent_off=10,\n ),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: DiscountCode = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.store.create_store_coupon.html" } }, { "op": "add", - "path": "/paths/~1unit~1conversion~1current~1{input_unit}~1{output_unit}/get/x-python", + "path": "/paths/~1org~1payment~1methods/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.unit import get_current_unit_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UnitCurrentConversion\nfrom kittycad.models.unit_current import UnitCurrent\nfrom kittycad.types import Response\n\n\ndef example_get_current_unit_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UnitCurrentConversion, Error]] = (\n get_current_unit_conversion.sync(\n client=client,\n input_unit=UnitCurrent.AMPERES,\n output_unit=UnitCurrent.AMPERES,\n value=3.14,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UnitCurrentConversion = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.unit.get_current_unit_conversion.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import list_payment_methods_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, PaymentMethod\nfrom kittycad.types import Response\n\n\ndef example_list_payment_methods_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[List[PaymentMethod], Error]] = (\n list_payment_methods_for_org.sync(\n client=client,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: List[PaymentMethod] = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.list_payment_methods_for_org.html" } }, { "op": "add", - "path": "/paths/~1async~1operations~1{id}/get/x-python", + "path": "/paths/~1async~1operations/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_calls import get_async_operation\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import (\n Error,\n FileCenterOfMass,\n FileConversion,\n FileDensity,\n FileMass,\n FileSurfaceArea,\n FileVolume,\n TextToCad,\n TextToCadIteration,\n)\nfrom kittycad.types import Response\n\n\ndef example_get_async_operation():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[\n Union[\n FileConversion,\n FileCenterOfMass,\n FileMass,\n FileVolume,\n FileDensity,\n FileSurfaceArea,\n TextToCad,\n TextToCadIteration,\n Error,\n ]\n ] = get_async_operation.sync(\n client=client,\n id=\"\",\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Union[\n FileConversion,\n FileCenterOfMass,\n FileMass,\n FileVolume,\n FileDensity,\n FileSurfaceArea,\n TextToCad,\n TextToCadIteration,\n ] = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_calls.get_async_operation.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_calls import list_async_operations\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import AsyncApiCallResultsPage, Error\nfrom kittycad.models.api_call_status import ApiCallStatus\nfrom kittycad.models.created_at_sort_mode import CreatedAtSortMode\nfrom kittycad.types import Response\n\n\ndef example_list_async_operations():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[AsyncApiCallResultsPage, Error]] = (\n list_async_operations.sync(\n client=client,\n sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING,\n status=ApiCallStatus.QUEUED,\n limit=None, # Optional[int]\n page_token=None, # Optional[str]\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: AsyncApiCallResultsPage = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_calls.list_async_operations.html" } }, { "op": "add", - "path": "/paths/~1file~1conversion~1{src_format}~1{output_format}/post/x-python", + "path": "/paths/~1unit~1conversion~1temperature~1{input_unit}~1{output_unit}/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.file import create_file_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, FileConversion\nfrom kittycad.models.file_export_format import FileExportFormat\nfrom kittycad.models.file_import_format import FileImportFormat\nfrom kittycad.types import Response\n\n\ndef example_create_file_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[FileConversion, Error]] = create_file_conversion.sync(\n client=client,\n output_format=FileExportFormat.FBX,\n src_format=FileImportFormat.FBX,\n body=bytes(\"some bytes\", \"utf-8\"),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: FileConversion = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.file.create_file_conversion.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.unit import get_temperature_unit_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UnitTemperatureConversion\nfrom kittycad.models.unit_temperature import UnitTemperature\nfrom kittycad.types import Response\n\n\ndef example_get_temperature_unit_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UnitTemperatureConversion, Error]] = (\n get_temperature_unit_conversion.sync(\n client=client,\n input_unit=UnitTemperature.CELSIUS,\n output_unit=UnitTemperature.CELSIUS,\n value=3.14,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UnitTemperatureConversion = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.unit.get_temperature_unit_conversion.html" } }, { "op": "add", - "path": "/paths/~1orgs~1{id}~1payment~1balance/get/x-python", + "path": "/paths/~1_meta~1info/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import get_payment_balance_for_any_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import CustomerBalance, Error\nfrom kittycad.models.uuid import Uuid\nfrom kittycad.types import Response\n\n\ndef example_get_payment_balance_for_any_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[CustomerBalance, Error]] = (\n get_payment_balance_for_any_org.sync(\n client=client,\n id=Uuid(\"\"),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: CustomerBalance = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.get_payment_balance_for_any_org.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.meta import get_metadata\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, Metadata\nfrom kittycad.types import Response\n\n\ndef example_get_metadata():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[Metadata, Error]] = get_metadata.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Metadata = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.meta.get_metadata.html" } }, { "op": "add", - "path": "/paths/~1orgs~1{id}~1payment~1balance/put/x-python", + "path": "/paths/~1user~1payment~1tax/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import update_payment_balance_for_any_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import CustomerBalance, Error\nfrom kittycad.models.update_payment_balance import UpdatePaymentBalance\nfrom kittycad.models.uuid import Uuid\nfrom kittycad.types import Response\n\n\ndef example_update_payment_balance_for_any_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[CustomerBalance, Error]] = (\n update_payment_balance_for_any_org.sync(\n client=client,\n id=Uuid(\"\"),\n body=UpdatePaymentBalance(),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: CustomerBalance = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.update_payment_balance_for_any_org.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import validate_customer_tax_information_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_validate_customer_tax_information_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = validate_customer_tax_information_for_user.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.validate_customer_tax_information_for_user.html" } }, { "op": "add", - "path": "/paths/~1unit~1conversion~1length~1{input_unit}~1{output_unit}/get/x-python", + "path": "/paths/~1orgs~1{id}~1enterprise~1pricing/put/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.unit import get_length_unit_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UnitLengthConversion\nfrom kittycad.models.unit_length import UnitLength\nfrom kittycad.types import Response\n\n\ndef example_get_length_unit_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UnitLengthConversion, Error]] = (\n get_length_unit_conversion.sync(\n client=client,\n input_unit=UnitLength.CM,\n output_unit=UnitLength.CM,\n value=3.14,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UnitLengthConversion = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.unit.get_length_unit_conversion.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import update_enterprise_pricing_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, ZooProductSubscriptions\nfrom kittycad.models.plan_interval import PlanInterval\nfrom kittycad.models.subscription_tier_price import per_user\nfrom kittycad.models.uuid import Uuid\nfrom kittycad.types import Response\n\n\ndef example_update_enterprise_pricing_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ZooProductSubscriptions, Error]] = (\n update_enterprise_pricing_for_org.sync(\n client=client,\n id=Uuid(\"\"),\n body=per_user(\n interval=PlanInterval.DAY,\n price=3.14,\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ZooProductSubscriptions = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.update_enterprise_pricing_for_org.html" } }, { "op": "add", - "path": "/paths/~1user~1api-calls/get/x-python", + "path": "/paths/~1orgs/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_calls import user_list_api_calls\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import ApiCallWithPriceResultsPage, Error\nfrom kittycad.models.created_at_sort_mode import CreatedAtSortMode\nfrom kittycad.types import Response\n\n\ndef example_user_list_api_calls():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ApiCallWithPriceResultsPage, Error]] = (\n user_list_api_calls.sync(\n client=client,\n sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING,\n limit=None, # Optional[int]\n page_token=None, # Optional[str]\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ApiCallWithPriceResultsPage = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_calls.user_list_api_calls.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import list_orgs\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, OrgResultsPage\nfrom kittycad.models.created_at_sort_mode import CreatedAtSortMode\nfrom kittycad.types import Response\n\n\ndef example_list_orgs():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[OrgResultsPage, Error]] = list_orgs.sync(\n client=client,\n sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING,\n limit=None, # Optional[int]\n page_token=None, # Optional[str]\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: OrgResultsPage = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.list_orgs.html" } }, { "op": "add", - "path": "/paths/~1user~1payment~1invoices/get/x-python", + "path": "/paths/~1org~1saml~1idp/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import list_invoices_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, Invoice\nfrom kittycad.types import Response\n\n\ndef example_list_invoices_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[List[Invoice], Error]] = list_invoices_for_user.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: List[Invoice] = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.list_invoices_for_user.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import get_org_saml_idp\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, SamlIdentityProvider\nfrom kittycad.types import Response\n\n\ndef example_get_org_saml_idp():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[SamlIdentityProvider, Error]] = get_org_saml_idp.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: SamlIdentityProvider = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.get_org_saml_idp.html" } }, { "op": "add", - "path": "/paths/~1unit~1conversion~1pressure~1{input_unit}~1{output_unit}/get/x-python", + "path": "/paths/~1org~1saml~1idp/put/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.unit import get_pressure_unit_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UnitPressureConversion\nfrom kittycad.models.unit_pressure import UnitPressure\nfrom kittycad.types import Response\n\n\ndef example_get_pressure_unit_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UnitPressureConversion, Error]] = (\n get_pressure_unit_conversion.sync(\n client=client,\n input_unit=UnitPressure.ATMOSPHERES,\n output_unit=UnitPressure.ATMOSPHERES,\n value=3.14,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UnitPressureConversion = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.unit.get_pressure_unit_conversion.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import update_org_saml_idp\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, SamlIdentityProvider\nfrom kittycad.models.idp_metadata_source import base64_encoded_xml\nfrom kittycad.models.saml_identity_provider_create import (\n SamlIdentityProviderCreate,\n)\nfrom kittycad.types import Response\n\n\ndef example_update_org_saml_idp():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[SamlIdentityProvider, Error]] = (\n update_org_saml_idp.sync(\n client=client,\n body=SamlIdentityProviderCreate(\n idp_entity_id=\"\",\n idp_metadata_source=base64_encoded_xml(\n data=\"\",\n ),\n technical_contact_email=\"\",\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: SamlIdentityProvider = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.update_org_saml_idp.html" } }, { "op": "add", - "path": "/paths/~1users~1{id}~1api-calls/get/x-python", + "path": "/paths/~1org~1saml~1idp/delete/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_calls import list_api_calls_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import ApiCallWithPriceResultsPage, Error\nfrom kittycad.models.created_at_sort_mode import CreatedAtSortMode\nfrom kittycad.types import Response\n\n\ndef example_list_api_calls_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ApiCallWithPriceResultsPage, Error]] = (\n list_api_calls_for_user.sync(\n client=client,\n id=\"\",\n sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING,\n limit=None, # Optional[int]\n page_token=None, # Optional[str]\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ApiCallWithPriceResultsPage = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_calls.list_api_calls_for_user.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import delete_org_saml_idp\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_delete_org_saml_idp():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = delete_org_saml_idp.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.delete_org_saml_idp.html" } }, { "op": "add", - "path": "/paths/~1user~1api-calls~1{id}/get/x-python", + "path": "/paths/~1org~1saml~1idp/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_calls import get_api_call_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import ApiCallWithPrice, Error\nfrom kittycad.types import Response\n\n\ndef example_get_api_call_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ApiCallWithPrice, Error]] = get_api_call_for_user.sync(\n client=client,\n id=\"\",\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ApiCallWithPrice = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_calls.get_api_call_for_user.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import create_org_saml_idp\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, SamlIdentityProvider\nfrom kittycad.models.idp_metadata_source import base64_encoded_xml\nfrom kittycad.models.saml_identity_provider_create import (\n SamlIdentityProviderCreate,\n)\nfrom kittycad.types import Response\n\n\ndef example_create_org_saml_idp():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[SamlIdentityProvider, Error]] = (\n create_org_saml_idp.sync(\n client=client,\n body=SamlIdentityProviderCreate(\n idp_entity_id=\"\",\n idp_metadata_source=base64_encoded_xml(\n data=\"\",\n ),\n technical_contact_email=\"\",\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: SamlIdentityProvider = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.create_org_saml_idp.html" } }, { "op": "add", - "path": "/paths/~1org~1payment~1subscriptions/get/x-python", + "path": "/paths/~1ml~1text-to-cad~1iteration/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import get_org_subscription\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, ZooProductSubscriptions\nfrom kittycad.types import Response\n\n\ndef example_get_org_subscription():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ZooProductSubscriptions, Error]] = (\n get_org_subscription.sync(\n client=client,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ZooProductSubscriptions = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.get_org_subscription.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.ml import create_text_to_cad_iteration\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, TextToCadIteration\nfrom kittycad.models.source_position import SourcePosition\nfrom kittycad.models.source_range import SourceRange\nfrom kittycad.models.source_range_prompt import SourceRangePrompt\nfrom kittycad.models.text_to_cad_iteration_body import TextToCadIterationBody\nfrom kittycad.types import Response\n\n\ndef example_create_text_to_cad_iteration():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[TextToCadIteration, Error]] = (\n create_text_to_cad_iteration.sync(\n client=client,\n body=TextToCadIterationBody(\n original_source_code=\"\",\n source_ranges=[\n SourceRangePrompt(\n prompt=\"\",\n range=SourceRange(\n end=SourcePosition(\n column=10,\n line=10,\n ),\n start=SourcePosition(\n column=10,\n line=10,\n ),\n ),\n )\n ],\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: TextToCadIteration = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.ml.create_text_to_cad_iteration.html" } }, { "op": "add", - "path": "/paths/~1org~1payment~1subscriptions/post/x-python", + "path": "/paths/~1org~1privacy/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import create_org_subscription\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, ZooProductSubscriptions\nfrom kittycad.models.modeling_app_organization_subscription_tier import (\n ModelingAppOrganizationSubscriptionTier,\n)\nfrom kittycad.models.zoo_product_subscriptions_org_request import (\n ZooProductSubscriptionsOrgRequest,\n)\nfrom kittycad.types import Response\n\n\ndef example_create_org_subscription():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ZooProductSubscriptions, Error]] = (\n create_org_subscription.sync(\n client=client,\n body=ZooProductSubscriptionsOrgRequest(\n modeling_app=ModelingAppOrganizationSubscriptionTier.TEAM,\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ZooProductSubscriptions = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.create_org_subscription.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import get_org_privacy_settings\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_get_org_privacy_settings():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[PrivacySettings, Error]] = (\n get_org_privacy_settings.sync(\n client=client,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: PrivacySettings = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.get_org_privacy_settings.html" } }, { "op": "add", - "path": "/paths/~1org~1payment~1subscriptions/put/x-python", + "path": "/paths/~1org~1privacy/put/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import update_org_subscription\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, ZooProductSubscriptions\nfrom kittycad.models.modeling_app_organization_subscription_tier import (\n ModelingAppOrganizationSubscriptionTier,\n)\nfrom kittycad.models.zoo_product_subscriptions_org_request import (\n ZooProductSubscriptionsOrgRequest,\n)\nfrom kittycad.types import Response\n\n\ndef example_update_org_subscription():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ZooProductSubscriptions, Error]] = (\n update_org_subscription.sync(\n client=client,\n body=ZooProductSubscriptionsOrgRequest(\n modeling_app=ModelingAppOrganizationSubscriptionTier.TEAM,\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ZooProductSubscriptions = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.update_org_subscription.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import update_org_privacy_settings\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.models.privacy_settings import PrivacySettings\nfrom kittycad.types import Response\n\n\ndef example_update_org_privacy_settings():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[PrivacySettings, Error]] = (\n update_org_privacy_settings.sync(\n client=client,\n body=PrivacySettings(\n can_train_on_data=False,\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: PrivacySettings = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.update_org_privacy_settings.html" } }, { "op": "add", - "path": "/paths/~1unit~1conversion~1mass~1{input_unit}~1{output_unit}/get/x-python", + "path": "/paths/~1user~1api-calls/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.unit import get_mass_unit_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UnitMassConversion\nfrom kittycad.models.unit_mass import UnitMass\nfrom kittycad.types import Response\n\n\ndef example_get_mass_unit_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UnitMassConversion, Error]] = (\n get_mass_unit_conversion.sync(\n client=client,\n input_unit=UnitMass.G,\n output_unit=UnitMass.G,\n value=3.14,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UnitMassConversion = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.unit.get_mass_unit_conversion.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_calls import user_list_api_calls\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import ApiCallWithPriceResultsPage, Error\nfrom kittycad.models.created_at_sort_mode import CreatedAtSortMode\nfrom kittycad.types import Response\n\n\ndef example_user_list_api_calls():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ApiCallWithPriceResultsPage, Error]] = (\n user_list_api_calls.sync(\n client=client,\n sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING,\n limit=None, # Optional[int]\n page_token=None, # Optional[str]\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ApiCallWithPriceResultsPage = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_calls.user_list_api_calls.html" } }, { "op": "add", - "path": "/paths/~1user~1text-to-cad/get/x-python", + "path": "/paths/~1user~1payment~1invoices/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.ml import list_text_to_cad_models_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, TextToCadResultsPage\nfrom kittycad.models.created_at_sort_mode import CreatedAtSortMode\nfrom kittycad.types import Response\n\n\ndef example_list_text_to_cad_models_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[TextToCadResultsPage, Error]] = (\n list_text_to_cad_models_for_user.sync(\n client=client,\n sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING,\n limit=None, # Optional[int]\n page_token=None, # Optional[str]\n no_models=None, # Optional[bool]\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: TextToCadResultsPage = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.ml.list_text_to_cad_models_for_user.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import list_invoices_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, Invoice\nfrom kittycad.types import Response\n\n\ndef example_list_invoices_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[List[Invoice], Error]] = list_invoices_for_user.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: List[Invoice] = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.list_invoices_for_user.html" } }, { "op": "add", - "path": "/paths/~1user~1payment~1methods/get/x-python", + "path": "/paths/~1/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import list_payment_methods_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, PaymentMethod\nfrom kittycad.types import Response\n\n\ndef example_list_payment_methods_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[List[PaymentMethod], Error]] = (\n list_payment_methods_for_user.sync(\n client=client,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: List[PaymentMethod] = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.list_payment_methods_for_user.html" + "example": "from kittycad.api.meta import get_schema\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.types import Response\n\n\ndef example_get_schema():\n # Create our client.\n client = ClientFromEnv()\n\n get_schema.sync(\n client=client,\n )\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.meta.get_schema.html" } }, { "op": "add", - "path": "/paths/~1api-calls/get/x-python", + "path": "/paths/~1auth~1email~1callback/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_calls import list_api_calls\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import ApiCallWithPriceResultsPage, Error\nfrom kittycad.models.created_at_sort_mode import CreatedAtSortMode\nfrom kittycad.types import Response\n\n\ndef example_list_api_calls():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ApiCallWithPriceResultsPage, Error]] = (\n list_api_calls.sync(\n client=client,\n sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING,\n limit=None, # Optional[int]\n page_token=None, # Optional[str]\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ApiCallWithPriceResultsPage = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_calls.list_api_calls.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.hidden import auth_email_callback\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_auth_email_callback():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = auth_email_callback.sync(\n client=client,\n email=\"\",\n token=\"\",\n callback_url=None, # Optional[str]\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.hidden.auth_email_callback.html" } }, { "op": "add", - "path": "/paths/~1users~1{id}~1payment~1balance/get/x-python", + "path": "/paths/~1unit~1conversion~1current~1{input_unit}~1{output_unit}/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import get_payment_balance_for_any_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import CustomerBalance, Error\nfrom kittycad.models.uuid import Uuid\nfrom kittycad.types import Response\n\n\ndef example_get_payment_balance_for_any_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[CustomerBalance, Error]] = (\n get_payment_balance_for_any_user.sync(\n client=client,\n id=Uuid(\"\"),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: CustomerBalance = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.get_payment_balance_for_any_user.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.unit import get_current_unit_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UnitCurrentConversion\nfrom kittycad.models.unit_current import UnitCurrent\nfrom kittycad.types import Response\n\n\ndef example_get_current_unit_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UnitCurrentConversion, Error]] = (\n get_current_unit_conversion.sync(\n client=client,\n input_unit=UnitCurrent.AMPERES,\n output_unit=UnitCurrent.AMPERES,\n value=3.14,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UnitCurrentConversion = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.unit.get_current_unit_conversion.html" } }, { "op": "add", - "path": "/paths/~1users~1{id}~1payment~1balance/put/x-python", + "path": "/paths/~1user~1payment~1intent/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import update_payment_balance_for_any_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import CustomerBalance, Error\nfrom kittycad.models.update_payment_balance import UpdatePaymentBalance\nfrom kittycad.models.uuid import Uuid\nfrom kittycad.types import Response\n\n\ndef example_update_payment_balance_for_any_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[CustomerBalance, Error]] = (\n update_payment_balance_for_any_user.sync(\n client=client,\n id=Uuid(\"\"),\n body=UpdatePaymentBalance(),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: CustomerBalance = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.update_payment_balance_for_any_user.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import create_payment_intent_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, PaymentIntent\nfrom kittycad.types import Response\n\n\ndef example_create_payment_intent_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[PaymentIntent, Error]] = (\n create_payment_intent_for_user.sync(\n client=client,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: PaymentIntent = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.create_payment_intent_for_user.html" } }, { "op": "add", - "path": "/paths/~1/get/x-python", + "path": "/paths/~1org~1members/post/x-python", "value": { - "example": "from kittycad.api.meta import get_schema\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.types import Response\n\n\ndef example_get_schema():\n # Create our client.\n client = ClientFromEnv()\n\n get_schema.sync(\n client=client,\n )\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.meta.get_schema.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import create_org_member\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, OrgMember\nfrom kittycad.models.add_org_member import AddOrgMember\nfrom kittycad.models.user_org_role import UserOrgRole\nfrom kittycad.types import Response\n\n\ndef example_create_org_member():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[OrgMember, Error]] = create_org_member.sync(\n client=client,\n body=AddOrgMember(\n email=\"\",\n role=UserOrgRole.ADMIN,\n ),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: OrgMember = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.create_org_member.html" } }, { "op": "add", - "path": "/paths/~1user~1oauth2~1providers/get/x-python", + "path": "/paths/~1org~1members/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.users import get_oauth2_providers_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import AccountProvider, Error\nfrom kittycad.types import Response\n\n\ndef example_get_oauth2_providers_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[List[AccountProvider], Error]] = (\n get_oauth2_providers_for_user.sync(\n client=client,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: List[AccountProvider] = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.users.get_oauth2_providers_for_user.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import list_org_members\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, OrgMemberResultsPage\nfrom kittycad.models.created_at_sort_mode import CreatedAtSortMode\nfrom kittycad.models.user_org_role import UserOrgRole\nfrom kittycad.types import Response\n\n\ndef example_list_org_members():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[OrgMemberResultsPage, Error]] = list_org_members.sync(\n client=client,\n sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING,\n role=UserOrgRole.ADMIN,\n limit=None, # Optional[int]\n page_token=None, # Optional[str]\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: OrgMemberResultsPage = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.list_org_members.html" } }, { "op": "add", - "path": "/paths/~1ml-prompts~1{id}/get/x-python", + "path": "/paths/~1debug~1uploads/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.ml import get_ml_prompt\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, MlPrompt\nfrom kittycad.types import Response\n\n\ndef example_get_ml_prompt():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[MlPrompt, Error]] = get_ml_prompt.sync(\n client=client,\n id=\"\",\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: MlPrompt = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.ml.get_ml_prompt.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.meta import create_debug_uploads\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_create_debug_uploads():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[List[str], Error]] = create_debug_uploads.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: List[str] = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.meta.create_debug_uploads.html" } }, { "op": "add", - "path": "/paths/~1auth~1email/post/x-python", + "path": "/paths/~1org~1members~1{user_id}/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.hidden import auth_email\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, VerificationTokenResponse\nfrom kittycad.models.email_authentication_form import EmailAuthenticationForm\nfrom kittycad.types import Response\n\n\ndef example_auth_email():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[VerificationTokenResponse, Error]] = auth_email.sync(\n client=client,\n body=EmailAuthenticationForm(\n email=\"\",\n ),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: VerificationTokenResponse = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.hidden.auth_email.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import get_org_member\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, OrgMember\nfrom kittycad.models.uuid import Uuid\nfrom kittycad.types import Response\n\n\ndef example_get_org_member():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[OrgMember, Error]] = get_org_member.sync(\n client=client,\n user_id=Uuid(\"\"),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: OrgMember = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.get_org_member.html" } }, { "op": "add", - "path": "/paths/~1org/get/x-python", + "path": "/paths/~1org~1members~1{user_id}/delete/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import get_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, Org\nfrom kittycad.types import Response\n\n\ndef example_get_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[Org, Error]] = get_org.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Org = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.get_org.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import delete_org_member\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.models.uuid import Uuid\nfrom kittycad.types import Response\n\n\ndef example_delete_org_member():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = delete_org_member.sync(\n client=client,\n user_id=Uuid(\"\"),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.delete_org_member.html" } }, { "op": "add", - "path": "/paths/~1org/post/x-python", + "path": "/paths/~1org~1members~1{user_id}/put/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import create_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, Org\nfrom kittycad.models.org_details import OrgDetails\nfrom kittycad.types import Response\n\n\ndef example_create_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[Org, Error]] = create_org.sync(\n client=client,\n body=OrgDetails(\n billing_email=\"\",\n name=\"\",\n phone=\"\",\n ),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Org = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.create_org.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import update_org_member\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, OrgMember\nfrom kittycad.models.update_member_to_org_body import UpdateMemberToOrgBody\nfrom kittycad.models.user_org_role import UserOrgRole\nfrom kittycad.models.uuid import Uuid\nfrom kittycad.types import Response\n\n\ndef example_update_org_member():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[OrgMember, Error]] = update_org_member.sync(\n client=client,\n user_id=Uuid(\"\"),\n body=UpdateMemberToOrgBody(\n role=UserOrgRole.ADMIN,\n ),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: OrgMember = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.update_org_member.html" } }, { "op": "add", - "path": "/paths/~1org/put/x-python", + "path": "/paths/~1file~1volume/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import update_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, Org\nfrom kittycad.models.org_details import OrgDetails\nfrom kittycad.types import Response\n\n\ndef example_update_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[Org, Error]] = update_org.sync(\n client=client,\n body=OrgDetails(\n billing_email=\"\",\n name=\"\",\n phone=\"\",\n ),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Org = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.update_org.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.file import create_file_volume\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, FileVolume\nfrom kittycad.models.file_import_format import FileImportFormat\nfrom kittycad.models.unit_volume import UnitVolume\nfrom kittycad.types import Response\n\n\ndef example_create_file_volume():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[FileVolume, Error]] = create_file_volume.sync(\n client=client,\n output_unit=UnitVolume.CM3,\n src_format=FileImportFormat.FBX,\n body=bytes(\"some bytes\", \"utf-8\"),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: FileVolume = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.file.create_file_volume.html" } }, { "op": "add", - "path": "/paths/~1org/delete/x-python", + "path": "/paths/~1org~1payment~1balance/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import delete_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_delete_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = delete_org.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.delete_org.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import get_payment_balance_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import CustomerBalance, Error\nfrom kittycad.types import Response\n\n\ndef example_get_payment_balance_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[CustomerBalance, Error]] = (\n get_payment_balance_for_org.sync(\n client=client,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: CustomerBalance = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.get_payment_balance_for_org.html" } }, { "op": "add", - "path": "/paths/~1events/post/x-python", + "path": "/paths/~1unit~1conversion~1area~1{input_unit}~1{output_unit}/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.meta import create_event\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.models.event import modeling_app_event\nfrom kittycad.models.modeling_app_event_type import ModelingAppEventType\nfrom kittycad.types import Response\n\n\ndef example_create_event():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = create_event.sync(\n client=client,\n body=modeling_app_event(\n created_at=\"\",\n event_type=ModelingAppEventType.SUCCESSFUL_COMPILE_BEFORE_CLOSE,\n project_name=\"\",\n source_id=\"\",\n user_id=\"\",\n ),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.meta.create_event.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.unit import get_area_unit_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UnitAreaConversion\nfrom kittycad.models.unit_area import UnitArea\nfrom kittycad.types import Response\n\n\ndef example_get_area_unit_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UnitAreaConversion, Error]] = (\n get_area_unit_conversion.sync(\n client=client,\n input_unit=UnitArea.CM2,\n output_unit=UnitArea.CM2,\n value=3.14,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UnitAreaConversion = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.unit.get_area_unit_conversion.html" } }, { "op": "add", - "path": "/paths/~1users~1{id}/get/x-python", + "path": "/paths/~1users~1{id}~1payment~1balance/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.users import get_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, User\nfrom kittycad.types import Response\n\n\ndef example_get_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[User, Error]] = get_user.sync(\n client=client,\n id=\"\",\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: User = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.users.get_user.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import get_payment_balance_for_any_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import CustomerBalance, Error\nfrom kittycad.models.uuid import Uuid\nfrom kittycad.types import Response\n\n\ndef example_get_payment_balance_for_any_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[CustomerBalance, Error]] = (\n get_payment_balance_for_any_user.sync(\n client=client,\n id=Uuid(\"\"),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: CustomerBalance = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.get_payment_balance_for_any_user.html" } }, { "op": "add", - "path": "/paths/~1auth~1saml~1provider~1{provider_id}~1login/get/x-python", + "path": "/paths/~1users~1{id}~1payment~1balance/put/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.hidden import get_auth_saml\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.models.uuid import Uuid\nfrom kittycad.types import Response\n\n\ndef example_get_auth_saml():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = get_auth_saml.sync(\n client=client,\n provider_id=Uuid(\"\"),\n callback_url=None, # Optional[str]\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.hidden.get_auth_saml.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import update_payment_balance_for_any_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import CustomerBalance, Error\nfrom kittycad.models.update_payment_balance import UpdatePaymentBalance\nfrom kittycad.models.uuid import Uuid\nfrom kittycad.types import Response\n\n\ndef example_update_payment_balance_for_any_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[CustomerBalance, Error]] = (\n update_payment_balance_for_any_user.sync(\n client=client,\n id=Uuid(\"\"),\n body=UpdatePaymentBalance(),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: CustomerBalance = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.update_payment_balance_for_any_user.html" } }, { "op": "add", - "path": "/paths/~1auth~1saml~1provider~1{provider_id}~1login/post/x-python", + "path": "/paths/~1file~1conversion~1{src_format}~1{output_format}/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.hidden import post_auth_saml\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.models.uuid import Uuid\nfrom kittycad.types import Response\n\n\ndef example_post_auth_saml():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = post_auth_saml.sync(\n client=client,\n provider_id=Uuid(\"\"),\n body=bytes(\"some bytes\", \"utf-8\"),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.hidden.post_auth_saml.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.file import create_file_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, FileConversion\nfrom kittycad.models.file_export_format import FileExportFormat\nfrom kittycad.models.file_import_format import FileImportFormat\nfrom kittycad.types import Response\n\n\ndef example_create_file_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[FileConversion, Error]] = create_file_conversion.sync(\n client=client,\n output_format=FileExportFormat.FBX,\n src_format=FileImportFormat.FBX,\n body=bytes(\"some bytes\", \"utf-8\"),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: FileConversion = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.file.create_file_conversion.html" } }, { "op": "add", - "path": "/paths/~1org~1members~1{user_id}/get/x-python", + "path": "/paths/~1file~1center-of-mass/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import get_org_member\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, OrgMember\nfrom kittycad.models.uuid import Uuid\nfrom kittycad.types import Response\n\n\ndef example_get_org_member():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[OrgMember, Error]] = get_org_member.sync(\n client=client,\n user_id=Uuid(\"\"),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: OrgMember = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.get_org_member.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.file import create_file_center_of_mass\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, FileCenterOfMass\nfrom kittycad.models.file_import_format import FileImportFormat\nfrom kittycad.models.unit_length import UnitLength\nfrom kittycad.types import Response\n\n\ndef example_create_file_center_of_mass():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[FileCenterOfMass, Error]] = (\n create_file_center_of_mass.sync(\n client=client,\n output_unit=UnitLength.CM,\n src_format=FileImportFormat.FBX,\n body=bytes(\"some bytes\", \"utf-8\"),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: FileCenterOfMass = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.file.create_file_center_of_mass.html" } }, { "op": "add", - "path": "/paths/~1org~1members~1{user_id}/delete/x-python", + "path": "/paths/~1async~1operations~1{id}/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import delete_org_member\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.models.uuid import Uuid\nfrom kittycad.types import Response\n\n\ndef example_delete_org_member():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = delete_org_member.sync(\n client=client,\n user_id=Uuid(\"\"),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.delete_org_member.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_calls import get_async_operation\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import (\n Error,\n FileCenterOfMass,\n FileConversion,\n FileDensity,\n FileMass,\n FileSurfaceArea,\n FileVolume,\n TextToCad,\n TextToCadIteration,\n)\nfrom kittycad.types import Response\n\n\ndef example_get_async_operation():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[\n Union[\n FileConversion,\n FileCenterOfMass,\n FileMass,\n FileVolume,\n FileDensity,\n FileSurfaceArea,\n TextToCad,\n TextToCadIteration,\n Error,\n ]\n ] = get_async_operation.sync(\n client=client,\n id=\"\",\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Union[\n FileConversion,\n FileCenterOfMass,\n FileMass,\n FileVolume,\n FileDensity,\n FileSurfaceArea,\n TextToCad,\n TextToCadIteration,\n ] = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_calls.get_async_operation.html" } }, { "op": "add", - "path": "/paths/~1org~1members~1{user_id}/put/x-python", + "path": "/paths/~1user~1text-to-cad/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import update_org_member\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, OrgMember\nfrom kittycad.models.update_member_to_org_body import UpdateMemberToOrgBody\nfrom kittycad.models.user_org_role import UserOrgRole\nfrom kittycad.models.uuid import Uuid\nfrom kittycad.types import Response\n\n\ndef example_update_org_member():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[OrgMember, Error]] = update_org_member.sync(\n client=client,\n user_id=Uuid(\"\"),\n body=UpdateMemberToOrgBody(\n role=UserOrgRole.ADMIN,\n ),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: OrgMember = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.update_org_member.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.ml import list_text_to_cad_models_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, TextToCadResultsPage\nfrom kittycad.models.created_at_sort_mode import CreatedAtSortMode\nfrom kittycad.types import Response\n\n\ndef example_list_text_to_cad_models_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[TextToCadResultsPage, Error]] = (\n list_text_to_cad_models_for_user.sync(\n client=client,\n sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING,\n limit=None, # Optional[int]\n page_token=None, # Optional[str]\n no_models=None, # Optional[bool]\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: TextToCadResultsPage = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.ml.list_text_to_cad_models_for_user.html" } }, { "op": "add", - "path": "/paths/~1user~1onboarding/get/x-python", + "path": "/paths/~1unit~1conversion~1angle~1{input_unit}~1{output_unit}/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.users import get_user_onboarding_self\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, Onboarding\nfrom kittycad.types import Response\n\n\ndef example_get_user_onboarding_self():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[Onboarding, Error]] = get_user_onboarding_self.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Onboarding = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.users.get_user_onboarding_self.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.unit import get_angle_unit_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UnitAngleConversion\nfrom kittycad.models.unit_angle import UnitAngle\nfrom kittycad.types import Response\n\n\ndef example_get_angle_unit_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UnitAngleConversion, Error]] = (\n get_angle_unit_conversion.sync(\n client=client,\n input_unit=UnitAngle.DEGREES,\n output_unit=UnitAngle.DEGREES,\n value=3.14,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UnitAngleConversion = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.unit.get_angle_unit_conversion.html" } }, { "op": "add", - "path": "/paths/~1auth~1email~1callback/get/x-python", + "path": "/paths/~1ping/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.hidden import auth_email_callback\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_auth_email_callback():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = auth_email_callback.sync(\n client=client,\n email=\"\",\n token=\"\",\n callback_url=None, # Optional[str]\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.hidden.auth_email_callback.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.meta import ping\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, Pong\nfrom kittycad.types import Response\n\n\ndef example_ping():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[Pong, Error]] = ping.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Pong = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.meta.ping.html" } }, { "op": "add", - "path": "/paths/~1unit~1conversion~1area~1{input_unit}~1{output_unit}/get/x-python", + "path": "/paths/~1user~1payment~1methods/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.unit import get_area_unit_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UnitAreaConversion\nfrom kittycad.models.unit_area import UnitArea\nfrom kittycad.types import Response\n\n\ndef example_get_area_unit_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UnitAreaConversion, Error]] = (\n get_area_unit_conversion.sync(\n client=client,\n input_unit=UnitArea.CM2,\n output_unit=UnitArea.CM2,\n value=3.14,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UnitAreaConversion = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.unit.get_area_unit_conversion.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import list_payment_methods_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, PaymentMethod\nfrom kittycad.types import Response\n\n\ndef example_list_payment_methods_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[List[PaymentMethod], Error]] = (\n list_payment_methods_for_user.sync(\n client=client,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: List[PaymentMethod] = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.list_payment_methods_for_user.html" } }, { "op": "add", - "path": "/paths/~1apps~1github~1callback/get/x-python", + "path": "/paths/~1org~1payment~1intent/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.apps import apps_github_callback\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_apps_github_callback():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = apps_github_callback.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.apps.apps_github_callback.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import create_payment_intent_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, PaymentIntent\nfrom kittycad.types import Response\n\n\ndef example_create_payment_intent_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[PaymentIntent, Error]] = (\n create_payment_intent_for_org.sync(\n client=client,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: PaymentIntent = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.create_payment_intent_for_org.html" } }, { "op": "add", - "path": "/paths/~1org~1payment~1invoices/get/x-python", + "path": "/paths/~1user~1api-tokens/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import list_invoices_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, Invoice\nfrom kittycad.types import Response\n\n\ndef example_list_invoices_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[List[Invoice], Error]] = list_invoices_for_org.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: List[Invoice] = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.list_invoices_for_org.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_tokens import create_api_token_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import ApiToken, Error\nfrom kittycad.types import Response\n\n\ndef example_create_api_token_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ApiToken, Error]] = create_api_token_for_user.sync(\n client=client,\n label=None, # Optional[str]\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ApiToken = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_tokens.create_api_token_for_user.html" } }, { "op": "add", - "path": "/paths/~1unit~1conversion~1temperature~1{input_unit}~1{output_unit}/get/x-python", + "path": "/paths/~1user~1api-tokens/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.unit import get_temperature_unit_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UnitTemperatureConversion\nfrom kittycad.models.unit_temperature import UnitTemperature\nfrom kittycad.types import Response\n\n\ndef example_get_temperature_unit_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UnitTemperatureConversion, Error]] = (\n get_temperature_unit_conversion.sync(\n client=client,\n input_unit=UnitTemperature.CELSIUS,\n output_unit=UnitTemperature.CELSIUS,\n value=3.14,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UnitTemperatureConversion = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.unit.get_temperature_unit_conversion.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_tokens import list_api_tokens_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import ApiTokenResultsPage, Error\nfrom kittycad.models.created_at_sort_mode import CreatedAtSortMode\nfrom kittycad.types import Response\n\n\ndef example_list_api_tokens_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ApiTokenResultsPage, Error]] = (\n list_api_tokens_for_user.sync(\n client=client,\n sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING,\n limit=None, # Optional[int]\n page_token=None, # Optional[str]\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ApiTokenResultsPage = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_tokens.list_api_tokens_for_user.html" } }, { "op": "add", - "path": "/paths/~1user~1payment~1subscriptions/get/x-python", + "path": "/paths/~1user~1payment~1methods~1{id}/delete/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import get_user_subscription\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, ZooProductSubscriptions\nfrom kittycad.types import Response\n\n\ndef example_get_user_subscription():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ZooProductSubscriptions, Error]] = (\n get_user_subscription.sync(\n client=client,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ZooProductSubscriptions = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.get_user_subscription.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import delete_payment_method_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_delete_payment_method_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = delete_payment_method_for_user.sync(\n client=client,\n id=\"\",\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.delete_payment_method_for_user.html" } }, { "op": "add", - "path": "/paths/~1user~1payment~1subscriptions/post/x-python", + "path": "/paths/~1unit~1conversion~1volume~1{input_unit}~1{output_unit}/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import create_user_subscription\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, ZooProductSubscriptions\nfrom kittycad.models.modeling_app_individual_subscription_tier import (\n ModelingAppIndividualSubscriptionTier,\n)\nfrom kittycad.models.zoo_product_subscriptions_user_request import (\n ZooProductSubscriptionsUserRequest,\n)\nfrom kittycad.types import Response\n\n\ndef example_create_user_subscription():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ZooProductSubscriptions, Error]] = (\n create_user_subscription.sync(\n client=client,\n body=ZooProductSubscriptionsUserRequest(\n modeling_app=ModelingAppIndividualSubscriptionTier.FREE,\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ZooProductSubscriptions = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.create_user_subscription.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.unit import get_volume_unit_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UnitVolumeConversion\nfrom kittycad.models.unit_volume import UnitVolume\nfrom kittycad.types import Response\n\n\ndef example_get_volume_unit_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UnitVolumeConversion, Error]] = (\n get_volume_unit_conversion.sync(\n client=client,\n input_unit=UnitVolume.CM3,\n output_unit=UnitVolume.CM3,\n value=3.14,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UnitVolumeConversion = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.unit.get_volume_unit_conversion.html" } }, { "op": "add", - "path": "/paths/~1user~1payment~1subscriptions/put/x-python", + "path": "/paths/~1unit~1conversion~1pressure~1{input_unit}~1{output_unit}/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import update_user_subscription\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, ZooProductSubscriptions\nfrom kittycad.models.modeling_app_individual_subscription_tier import (\n ModelingAppIndividualSubscriptionTier,\n)\nfrom kittycad.models.zoo_product_subscriptions_user_request import (\n ZooProductSubscriptionsUserRequest,\n)\nfrom kittycad.types import Response\n\n\ndef example_update_user_subscription():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ZooProductSubscriptions, Error]] = (\n update_user_subscription.sync(\n client=client,\n body=ZooProductSubscriptionsUserRequest(\n modeling_app=ModelingAppIndividualSubscriptionTier.FREE,\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ZooProductSubscriptions = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.update_user_subscription.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.unit import get_pressure_unit_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UnitPressureConversion\nfrom kittycad.models.unit_pressure import UnitPressure\nfrom kittycad.types import Response\n\n\ndef example_get_pressure_unit_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UnitPressureConversion, Error]] = (\n get_pressure_unit_conversion.sync(\n client=client,\n input_unit=UnitPressure.ATMOSPHERES,\n output_unit=UnitPressure.ATMOSPHERES,\n value=3.14,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UnitPressureConversion = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.unit.get_pressure_unit_conversion.html" } }, { "op": "add", - "path": "/paths/~1org~1payment/get/x-python", + "path": "/paths/~1unit~1conversion~1frequency~1{input_unit}~1{output_unit}/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import get_payment_information_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Customer, Error\nfrom kittycad.types import Response\n\n\ndef example_get_payment_information_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[Customer, Error]] = (\n get_payment_information_for_org.sync(\n client=client,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Customer = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.get_payment_information_for_org.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.unit import get_frequency_unit_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UnitFrequencyConversion\nfrom kittycad.models.unit_frequency import UnitFrequency\nfrom kittycad.types import Response\n\n\ndef example_get_frequency_unit_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UnitFrequencyConversion, Error]] = (\n get_frequency_unit_conversion.sync(\n client=client,\n input_unit=UnitFrequency.GIGAHERTZ,\n output_unit=UnitFrequency.GIGAHERTZ,\n value=3.14,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UnitFrequencyConversion = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.unit.get_frequency_unit_conversion.html" } }, { "op": "add", - "path": "/paths/~1org~1payment/post/x-python", + "path": "/paths/~1ml-prompts/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import create_payment_information_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Customer, Error\nfrom kittycad.models.billing_info import BillingInfo\nfrom kittycad.types import Response\n\n\ndef example_create_payment_information_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[Customer, Error]] = (\n create_payment_information_for_org.sync(\n client=client,\n body=BillingInfo(\n name=\"\",\n phone=\"\",\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Customer = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.create_payment_information_for_org.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.ml import list_ml_prompts\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, MlPromptResultsPage\nfrom kittycad.models.created_at_sort_mode import CreatedAtSortMode\nfrom kittycad.types import Response\n\n\ndef example_list_ml_prompts():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[MlPromptResultsPage, Error]] = list_ml_prompts.sync(\n client=client,\n sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING,\n limit=None, # Optional[int]\n page_token=None, # Optional[str]\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: MlPromptResultsPage = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.ml.list_ml_prompts.html" } }, { "op": "add", - "path": "/paths/~1org~1payment/put/x-python", + "path": "/paths/~1user~1text-to-cad~1{id}/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import update_payment_information_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Customer, Error\nfrom kittycad.models.billing_info import BillingInfo\nfrom kittycad.types import Response\n\n\ndef example_update_payment_information_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[Customer, Error]] = (\n update_payment_information_for_org.sync(\n client=client,\n body=BillingInfo(\n name=\"\",\n phone=\"\",\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Customer = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.update_payment_information_for_org.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.ml import create_text_to_cad_model_feedback\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.models.ml_feedback import MlFeedback\nfrom kittycad.types import Response\n\n\ndef example_create_text_to_cad_model_feedback():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = create_text_to_cad_model_feedback.sync(\n client=client,\n id=\"\",\n feedback=MlFeedback.THUMBS_UP,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.ml.create_text_to_cad_model_feedback.html" } }, { "op": "add", - "path": "/paths/~1org~1payment/delete/x-python", + "path": "/paths/~1user~1text-to-cad~1{id}/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import delete_payment_information_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_delete_payment_information_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = delete_payment_information_for_org.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.delete_payment_information_for_org.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.ml import get_text_to_cad_model_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, TextToCad\nfrom kittycad.types import Response\n\n\ndef example_get_text_to_cad_model_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[TextToCad, Error]] = (\n get_text_to_cad_model_for_user.sync(\n client=client,\n id=\"\",\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: TextToCad = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.ml.get_text_to_cad_model_for_user.html" } }, { "op": "add", - "path": "/paths/~1unit~1conversion~1angle~1{input_unit}~1{output_unit}/get/x-python", + "path": "/paths/~1api-calls/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.unit import get_angle_unit_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UnitAngleConversion\nfrom kittycad.models.unit_angle import UnitAngle\nfrom kittycad.types import Response\n\n\ndef example_get_angle_unit_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UnitAngleConversion, Error]] = (\n get_angle_unit_conversion.sync(\n client=client,\n input_unit=UnitAngle.DEGREES,\n output_unit=UnitAngle.DEGREES,\n value=3.14,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UnitAngleConversion = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.unit.get_angle_unit_conversion.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_calls import list_api_calls\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import ApiCallWithPriceResultsPage, Error\nfrom kittycad.models.created_at_sort_mode import CreatedAtSortMode\nfrom kittycad.types import Response\n\n\ndef example_list_api_calls():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ApiCallWithPriceResultsPage, Error]] = (\n list_api_calls.sync(\n client=client,\n sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING,\n limit=None, # Optional[int]\n page_token=None, # Optional[str]\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ApiCallWithPriceResultsPage = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_calls.list_api_calls.html" } }, { "op": "add", - "path": "/paths/~1unit~1conversion~1power~1{input_unit}~1{output_unit}/get/x-python", + "path": "/paths/~1ws~1modeling~1commands/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.unit import get_power_unit_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UnitPowerConversion\nfrom kittycad.models.unit_power import UnitPower\nfrom kittycad.types import Response\n\n\ndef example_get_power_unit_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UnitPowerConversion, Error]] = (\n get_power_unit_conversion.sync(\n client=client,\n input_unit=UnitPower.BTU_PER_MINUTE,\n output_unit=UnitPower.BTU_PER_MINUTE,\n value=3.14,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UnitPowerConversion = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.unit.get_power_unit_conversion.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.modeling import modeling_commands_ws\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, WebSocketRequest, WebSocketResponse\nfrom kittycad.models.post_effect_type import PostEffectType\nfrom kittycad.models.rtc_sdp_type import RtcSdpType\nfrom kittycad.models.rtc_session_description import RtcSessionDescription\nfrom kittycad.models.web_socket_request import sdp_offer\nfrom kittycad.types import Response\n\n\ndef example_modeling_commands_ws():\n # Create our client.\n client = ClientFromEnv()\n\n # Connect to the websocket.\n with modeling_commands_ws.WebSocket(\n client=client,\n fps=10,\n post_effect=PostEffectType.PHOSPHOR,\n show_grid=False,\n unlocked_framerate=False,\n video_res_height=10,\n video_res_width=10,\n webrtc=False,\n pool=None, # Optional[str]\n replay=None, # Optional[str]\n ) as websocket:\n\n # Send a message.\n websocket.send(\n WebSocketRequest(\n sdp_offer(\n offer=RtcSessionDescription(\n sdp=\"\",\n type=RtcSdpType.UNSPECIFIED,\n ),\n )\n )\n )\n\n # Get a message.\n message = websocket.recv()\n print(message)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.modeling.modeling_commands_ws.html" } }, { "op": "add", - "path": "/paths/~1org~1payment~1methods~1{id}/delete/x-python", + "path": "/paths/~1unit~1conversion~1torque~1{input_unit}~1{output_unit}/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import delete_payment_method_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_delete_payment_method_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = delete_payment_method_for_org.sync(\n client=client,\n id=\"\",\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.delete_payment_method_for_org.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.unit import get_torque_unit_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UnitTorqueConversion\nfrom kittycad.models.unit_torque import UnitTorque\nfrom kittycad.types import Response\n\n\ndef example_get_torque_unit_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UnitTorqueConversion, Error]] = (\n get_torque_unit_conversion.sync(\n client=client,\n input_unit=UnitTorque.NEWTON_METRES,\n output_unit=UnitTorque.NEWTON_METRES,\n value=3.14,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UnitTorqueConversion = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.unit.get_torque_unit_conversion.html" } }, { "op": "add", - "path": "/paths/~1async~1operations/get/x-python", + "path": "/paths/~1file~1mass/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_calls import list_async_operations\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import AsyncApiCallResultsPage, Error\nfrom kittycad.models.api_call_status import ApiCallStatus\nfrom kittycad.models.created_at_sort_mode import CreatedAtSortMode\nfrom kittycad.types import Response\n\n\ndef example_list_async_operations():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[AsyncApiCallResultsPage, Error]] = (\n list_async_operations.sync(\n client=client,\n sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING,\n status=ApiCallStatus.QUEUED,\n limit=None, # Optional[int]\n page_token=None, # Optional[str]\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: AsyncApiCallResultsPage = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_calls.list_async_operations.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.file import create_file_mass\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, FileMass\nfrom kittycad.models.file_import_format import FileImportFormat\nfrom kittycad.models.unit_density import UnitDensity\nfrom kittycad.models.unit_mass import UnitMass\nfrom kittycad.types import Response\n\n\ndef example_create_file_mass():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[FileMass, Error]] = create_file_mass.sync(\n client=client,\n material_density=3.14,\n material_density_unit=UnitDensity.LB_FT3,\n output_unit=UnitMass.G,\n src_format=FileImportFormat.FBX,\n body=bytes(\"some bytes\", \"utf-8\"),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: FileMass = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.file.create_file_mass.html" } }, { "op": "add", - "path": "/paths/~1user~1privacy/get/x-python", + "path": "/paths/~1_meta~1ipinfo/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.users import get_user_privacy_settings\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_get_user_privacy_settings():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[PrivacySettings, Error]] = (\n get_user_privacy_settings.sync(\n client=client,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: PrivacySettings = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.users.get_user_privacy_settings.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.meta import get_ipinfo\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, IpAddrInfo\nfrom kittycad.types import Response\n\n\ndef example_get_ipinfo():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[IpAddrInfo, Error]] = get_ipinfo.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: IpAddrInfo = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.meta.get_ipinfo.html" } }, { "op": "add", - "path": "/paths/~1user~1privacy/put/x-python", + "path": "/paths/~1api-call-metrics/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.users import update_user_privacy_settings\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.models.privacy_settings import PrivacySettings\nfrom kittycad.types import Response\n\n\ndef example_update_user_privacy_settings():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[PrivacySettings, Error]] = (\n update_user_privacy_settings.sync(\n client=client,\n body=PrivacySettings(\n can_train_on_data=False,\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: PrivacySettings = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.users.update_user_privacy_settings.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_calls import get_api_call_metrics\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import ApiCallQueryGroup, Error\nfrom kittycad.models.api_call_query_group_by import ApiCallQueryGroupBy\nfrom kittycad.types import Response\n\n\ndef example_get_api_call_metrics():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[List[ApiCallQueryGroup], Error]] = (\n get_api_call_metrics.sync(\n client=client,\n group_by=ApiCallQueryGroupBy.EMAIL,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: List[ApiCallQueryGroup] = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_calls.get_api_call_metrics.html" } }, { "op": "add", - "path": "/paths/~1user~1api-tokens~1{token}/get/x-python", + "path": "/paths/~1orgs~1{id}/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_tokens import get_api_token_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import ApiToken, Error\nfrom kittycad.models.api_token_uuid import ApiTokenUuid\nfrom kittycad.types import Response\n\n\ndef example_get_api_token_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ApiToken, Error]] = get_api_token_for_user.sync(\n client=client,\n token=ApiTokenUuid(\"\"),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ApiToken = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_tokens.get_api_token_for_user.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import get_any_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, Org\nfrom kittycad.models.uuid import Uuid\nfrom kittycad.types import Response\n\n\ndef example_get_any_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[Org, Error]] = get_any_org.sync(\n client=client,\n id=Uuid(\"\"),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Org = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.get_any_org.html" } }, { "op": "add", - "path": "/paths/~1user~1api-tokens~1{token}/delete/x-python", + "path": "/paths/~1unit~1conversion~1force~1{input_unit}~1{output_unit}/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_tokens import delete_api_token_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.models.api_token_uuid import ApiTokenUuid\nfrom kittycad.types import Response\n\n\ndef example_delete_api_token_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = delete_api_token_for_user.sync(\n client=client,\n token=ApiTokenUuid(\"\"),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_tokens.delete_api_token_for_user.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.unit import get_force_unit_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UnitForceConversion\nfrom kittycad.models.unit_force import UnitForce\nfrom kittycad.types import Response\n\n\ndef example_get_force_unit_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UnitForceConversion, Error]] = (\n get_force_unit_conversion.sync(\n client=client,\n input_unit=UnitForce.DYNES,\n output_unit=UnitForce.DYNES,\n value=3.14,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UnitForceConversion = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.unit.get_force_unit_conversion.html" } }, { "op": "add", - "path": "/paths/~1orgs~1{id}/get/x-python", + "path": "/paths/~1logout/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import get_any_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, Org\nfrom kittycad.models.uuid import Uuid\nfrom kittycad.types import Response\n\n\ndef example_get_any_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[Org, Error]] = get_any_org.sync(\n client=client,\n id=Uuid(\"\"),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Org = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.get_any_org.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.hidden import logout\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_logout():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = logout.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.hidden.logout.html" } }, { "op": "add", - "path": "/paths/~1users-extended/get/x-python", + "path": "/paths/~1auth~1email/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.users import list_users_extended\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, ExtendedUserResultsPage\nfrom kittycad.models.created_at_sort_mode import CreatedAtSortMode\nfrom kittycad.types import Response\n\n\ndef example_list_users_extended():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ExtendedUserResultsPage, Error]] = (\n list_users_extended.sync(\n client=client,\n sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING,\n limit=None, # Optional[int]\n page_token=None, # Optional[str]\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ExtendedUserResultsPage = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.users.list_users_extended.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.hidden import auth_email\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, VerificationTokenResponse\nfrom kittycad.models.email_authentication_form import EmailAuthenticationForm\nfrom kittycad.types import Response\n\n\ndef example_auth_email():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[VerificationTokenResponse, Error]] = auth_email.sync(\n client=client,\n body=EmailAuthenticationForm(\n email=\"\",\n ),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: VerificationTokenResponse = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.hidden.auth_email.html" } }, { "op": "add", - "path": "/paths/~1ml~1text-to-cad~1iteration/post/x-python", + "path": "/paths/~1ai~1text-to-cad~1{output_format}/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.ml import create_text_to_cad_iteration\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, TextToCadIteration\nfrom kittycad.models.source_position import SourcePosition\nfrom kittycad.models.source_range import SourceRange\nfrom kittycad.models.source_range_prompt import SourceRangePrompt\nfrom kittycad.models.text_to_cad_iteration_body import TextToCadIterationBody\nfrom kittycad.types import Response\n\n\ndef example_create_text_to_cad_iteration():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[TextToCadIteration, Error]] = (\n create_text_to_cad_iteration.sync(\n client=client,\n body=TextToCadIterationBody(\n original_source_code=\"\",\n source_ranges=[\n SourceRangePrompt(\n prompt=\"\",\n range=SourceRange(\n end=SourcePosition(\n column=10,\n line=10,\n ),\n start=SourcePosition(\n column=10,\n line=10,\n ),\n ),\n )\n ],\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: TextToCadIteration = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.ml.create_text_to_cad_iteration.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.ml import create_text_to_cad\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, TextToCad\nfrom kittycad.models.file_export_format import FileExportFormat\nfrom kittycad.models.text_to_cad_create_body import TextToCadCreateBody\nfrom kittycad.types import Response\n\n\ndef example_create_text_to_cad():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[TextToCad, Error]] = create_text_to_cad.sync(\n client=client,\n output_format=FileExportFormat.FBX,\n kcl=None, # Optional[bool]\n body=TextToCadCreateBody(\n prompt=\"\",\n ),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: TextToCad = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.ml.create_text_to_cad.html" } }, { "op": "add", - "path": "/paths/~1ai~1text-to-cad~1{output_format}/post/x-python", + "path": "/paths/~1auth~1saml~1provider~1{provider_id}~1login/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.ml import create_text_to_cad\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, TextToCad\nfrom kittycad.models.file_export_format import FileExportFormat\nfrom kittycad.models.text_to_cad_create_body import TextToCadCreateBody\nfrom kittycad.types import Response\n\n\ndef example_create_text_to_cad():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[TextToCad, Error]] = create_text_to_cad.sync(\n client=client,\n output_format=FileExportFormat.FBX,\n kcl=None, # Optional[bool]\n body=TextToCadCreateBody(\n prompt=\"\",\n ),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: TextToCad = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.ml.create_text_to_cad.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.hidden import post_auth_saml\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.models.uuid import Uuid\nfrom kittycad.types import Response\n\n\ndef example_post_auth_saml():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = post_auth_saml.sync(\n client=client,\n provider_id=Uuid(\"\"),\n body=bytes(\"some bytes\", \"utf-8\"),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.hidden.post_auth_saml.html" } }, { "op": "add", - "path": "/paths/~1ws~1executor~1term/get/x-python", + "path": "/paths/~1auth~1saml~1provider~1{provider_id}~1login/get/x-python", "value": { - "example": "from kittycad.api.executor import create_executor_term\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.types import Response\n\n\ndef example_create_executor_term():\n # Create our client.\n client = ClientFromEnv()\n\n # Connect to the websocket.\n with create_executor_term.sync(\n client=client,\n ) as websocket:\n\n # Send a message.\n websocket.send(\"{}\")\n\n # Get the messages.\n for message in websocket:\n print(message)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.executor.create_executor_term.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.hidden import get_auth_saml\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.models.uuid import Uuid\nfrom kittycad.types import Response\n\n\ndef example_get_auth_saml():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = get_auth_saml.sync(\n client=client,\n provider_id=Uuid(\"\"),\n callback_url=None, # Optional[str]\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.hidden.get_auth_saml.html" } }, { "op": "add", - "path": "/paths/~1user~1text-to-cad~1{id}/get/x-python", + "path": "/paths/~1file~1execute~1{lang}/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.ml import get_text_to_cad_model_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, TextToCad\nfrom kittycad.types import Response\n\n\ndef example_get_text_to_cad_model_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[TextToCad, Error]] = (\n get_text_to_cad_model_for_user.sync(\n client=client,\n id=\"\",\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: TextToCad = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.ml.get_text_to_cad_model_for_user.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.executor import create_file_execution\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import CodeOutput, Error\nfrom kittycad.models.code_language import CodeLanguage\nfrom kittycad.types import Response\n\n\ndef example_create_file_execution():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[CodeOutput, Error]] = create_file_execution.sync(\n client=client,\n lang=CodeLanguage.GO,\n output=None, # Optional[str]\n body=bytes(\"some bytes\", \"utf-8\"),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: CodeOutput = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.executor.create_file_execution.html" } }, { "op": "add", - "path": "/paths/~1user~1text-to-cad~1{id}/post/x-python", + "path": "/paths/~1apps~1github~1callback/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.ml import create_text_to_cad_model_feedback\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.models.ml_feedback import MlFeedback\nfrom kittycad.types import Response\n\n\ndef example_create_text_to_cad_model_feedback():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = create_text_to_cad_model_feedback.sync(\n client=client,\n id=\"\",\n feedback=MlFeedback.THUMBS_UP,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.ml.create_text_to_cad_model_feedback.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.apps import apps_github_callback\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_apps_github_callback():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = apps_github_callback.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.apps.apps_github_callback.html" } }, { "op": "add", - "path": "/paths/~1api-call-metrics/get/x-python", + "path": "/paths/~1org~1payment~1invoices/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_calls import get_api_call_metrics\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import ApiCallQueryGroup, Error\nfrom kittycad.models.api_call_query_group_by import ApiCallQueryGroupBy\nfrom kittycad.types import Response\n\n\ndef example_get_api_call_metrics():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[List[ApiCallQueryGroup], Error]] = (\n get_api_call_metrics.sync(\n client=client,\n group_by=ApiCallQueryGroupBy.EMAIL,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: List[ApiCallQueryGroup] = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_calls.get_api_call_metrics.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import list_invoices_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, Invoice\nfrom kittycad.types import Response\n\n\ndef example_list_invoices_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[List[Invoice], Error]] = list_invoices_for_org.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: List[Invoice] = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.list_invoices_for_org.html" } }, { "op": "add", - "path": "/paths/~1user~1org/get/x-python", + "path": "/paths/~1org~1api-calls~1{id}/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import get_user_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UserOrgInfo\nfrom kittycad.types import Response\n\n\ndef example_get_user_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UserOrgInfo, Error]] = get_user_org.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UserOrgInfo = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.get_user_org.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_calls import get_api_call_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import ApiCallWithPrice, Error\nfrom kittycad.types import Response\n\n\ndef example_get_api_call_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ApiCallWithPrice, Error]] = get_api_call_for_org.sync(\n client=client,\n id=\"\",\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ApiCallWithPrice = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_calls.get_api_call_for_org.html" } }, { "op": "add", - "path": "/paths/~1file~1volume/post/x-python", + "path": "/paths/~1ws~1executor~1term/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.file import create_file_volume\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, FileVolume\nfrom kittycad.models.file_import_format import FileImportFormat\nfrom kittycad.models.unit_volume import UnitVolume\nfrom kittycad.types import Response\n\n\ndef example_create_file_volume():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[FileVolume, Error]] = create_file_volume.sync(\n client=client,\n output_unit=UnitVolume.CM3,\n src_format=FileImportFormat.FBX,\n body=bytes(\"some bytes\", \"utf-8\"),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: FileVolume = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.file.create_file_volume.html" + "example": "from kittycad.api.executor import create_executor_term\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.types import Response\n\n\ndef example_create_executor_term():\n # Create our client.\n client = ClientFromEnv()\n\n # Connect to the websocket.\n with create_executor_term.sync(\n client=client,\n ) as websocket:\n\n # Send a message.\n websocket.send(\"{}\")\n\n # Get the messages.\n for message in websocket:\n print(message)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.executor.create_executor_term.html" } }, { "op": "add", - "path": "/paths/~1orgs~1{id}~1enterprise~1pricing/put/x-python", + "path": "/paths/~1org~1service-accounts~1{token}/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import update_enterprise_pricing_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, ZooProductSubscriptions\nfrom kittycad.models.plan_interval import PlanInterval\nfrom kittycad.models.subscription_tier_price import per_user\nfrom kittycad.models.uuid import Uuid\nfrom kittycad.types import Response\n\n\ndef example_update_enterprise_pricing_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ZooProductSubscriptions, Error]] = (\n update_enterprise_pricing_for_org.sync(\n client=client,\n id=Uuid(\"\"),\n body=per_user(\n interval=PlanInterval.DAY,\n price=3.14,\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ZooProductSubscriptions = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.update_enterprise_pricing_for_org.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.service_accounts import get_service_account_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, ServiceAccount\nfrom kittycad.models.service_account_token_uuid import ServiceAccountTokenUuid\nfrom kittycad.types import Response\n\n\ndef example_get_service_account_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ServiceAccount, Error]] = (\n get_service_account_for_org.sync(\n client=client,\n token=ServiceAccountTokenUuid(\"\"),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ServiceAccount = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.service_accounts.get_service_account_for_org.html" } }, { "op": "add", - "path": "/paths/~1pricing~1subscriptions/get/x-python", + "path": "/paths/~1org~1service-accounts~1{token}/delete/x-python", "value": { - "example": "from kittycad.api.meta import get_pricing_subscriptions\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.types import Response\n\n\ndef example_get_pricing_subscriptions():\n # Create our client.\n client = ClientFromEnv()\n\n get_pricing_subscriptions.sync(\n client=client,\n )\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.meta.get_pricing_subscriptions.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.service_accounts import delete_service_account_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.models.service_account_token_uuid import ServiceAccountTokenUuid\nfrom kittycad.types import Response\n\n\ndef example_delete_service_account_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = delete_service_account_for_org.sync(\n client=client,\n token=ServiceAccountTokenUuid(\"\"),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.service_accounts.delete_service_account_for_org.html" } }, { "op": "add", - "path": "/paths/~1store~1coupon/post/x-python", + "path": "/paths/~1ml~1kcl~1completions/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.store import create_store_coupon\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import DiscountCode, Error\nfrom kittycad.models.store_coupon_params import StoreCouponParams\nfrom kittycad.types import Response\n\n\ndef example_create_store_coupon():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[DiscountCode, Error]] = create_store_coupon.sync(\n client=client,\n body=StoreCouponParams(\n percent_off=10,\n ),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: DiscountCode = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.store.create_store_coupon.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.ml import create_kcl_code_completions\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, KclCodeCompletionResponse\nfrom kittycad.models.kcl_code_completion_params import KclCodeCompletionParams\nfrom kittycad.models.kcl_code_completion_request import KclCodeCompletionRequest\nfrom kittycad.types import Response\n\n\ndef example_create_kcl_code_completions():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[KclCodeCompletionResponse, Error]] = (\n create_kcl_code_completions.sync(\n client=client,\n body=KclCodeCompletionRequest(\n extra=KclCodeCompletionParams(\n language=\"\",\n trim_by_indentation=False,\n ),\n prompt=\"\",\n stop=[\"\"],\n stream=False,\n suffix=\"\",\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: KclCodeCompletionResponse = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.ml.create_kcl_code_completions.html" } }, { "op": "add", - "path": "/paths/~1file~1surface-area/post/x-python", + "path": "/paths/~1org~1payment~1subscriptions/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.file import create_file_surface_area\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, FileSurfaceArea\nfrom kittycad.models.file_import_format import FileImportFormat\nfrom kittycad.models.unit_area import UnitArea\nfrom kittycad.types import Response\n\n\ndef example_create_file_surface_area():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[FileSurfaceArea, Error]] = (\n create_file_surface_area.sync(\n client=client,\n output_unit=UnitArea.CM2,\n src_format=FileImportFormat.FBX,\n body=bytes(\"some bytes\", \"utf-8\"),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: FileSurfaceArea = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.file.create_file_surface_area.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import create_org_subscription\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, ZooProductSubscriptions\nfrom kittycad.models.modeling_app_organization_subscription_tier import (\n ModelingAppOrganizationSubscriptionTier,\n)\nfrom kittycad.models.zoo_product_subscriptions_org_request import (\n ZooProductSubscriptionsOrgRequest,\n)\nfrom kittycad.types import Response\n\n\ndef example_create_org_subscription():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ZooProductSubscriptions, Error]] = (\n create_org_subscription.sync(\n client=client,\n body=ZooProductSubscriptionsOrgRequest(\n modeling_app=ModelingAppOrganizationSubscriptionTier.TEAM,\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ZooProductSubscriptions = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.create_org_subscription.html" } }, { "op": "add", - "path": "/paths/~1org~1privacy/get/x-python", + "path": "/paths/~1org~1payment~1subscriptions/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import get_org_privacy_settings\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_get_org_privacy_settings():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[PrivacySettings, Error]] = (\n get_org_privacy_settings.sync(\n client=client,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: PrivacySettings = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.get_org_privacy_settings.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import get_org_subscription\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, ZooProductSubscriptions\nfrom kittycad.types import Response\n\n\ndef example_get_org_subscription():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ZooProductSubscriptions, Error]] = (\n get_org_subscription.sync(\n client=client,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ZooProductSubscriptions = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.get_org_subscription.html" } }, { "op": "add", - "path": "/paths/~1org~1privacy/put/x-python", + "path": "/paths/~1org~1payment~1subscriptions/put/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import update_org_privacy_settings\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.models.privacy_settings import PrivacySettings\nfrom kittycad.types import Response\n\n\ndef example_update_org_privacy_settings():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[PrivacySettings, Error]] = (\n update_org_privacy_settings.sync(\n client=client,\n body=PrivacySettings(\n can_train_on_data=False,\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: PrivacySettings = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.update_org_privacy_settings.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import update_org_subscription\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, ZooProductSubscriptions\nfrom kittycad.models.modeling_app_organization_subscription_tier import (\n ModelingAppOrganizationSubscriptionTier,\n)\nfrom kittycad.models.zoo_product_subscriptions_org_request import (\n ZooProductSubscriptionsOrgRequest,\n)\nfrom kittycad.types import Response\n\n\ndef example_update_org_subscription():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ZooProductSubscriptions, Error]] = (\n update_org_subscription.sync(\n client=client,\n body=ZooProductSubscriptionsOrgRequest(\n modeling_app=ModelingAppOrganizationSubscriptionTier.TEAM,\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ZooProductSubscriptions = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.update_org_subscription.html" } }, { "op": "add", - "path": "/paths/~1user~1payment~1intent/post/x-python", + "path": "/paths/~1users-extended~1{id}/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import create_payment_intent_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, PaymentIntent\nfrom kittycad.types import Response\n\n\ndef example_create_payment_intent_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[PaymentIntent, Error]] = (\n create_payment_intent_for_user.sync(\n client=client,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: PaymentIntent = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.create_payment_intent_for_user.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.users import get_user_extended\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, ExtendedUser\nfrom kittycad.types import Response\n\n\ndef example_get_user_extended():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ExtendedUser, Error]] = get_user_extended.sync(\n client=client,\n id=\"\",\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ExtendedUser = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.users.get_user_extended.html" } }, { "op": "add", - "path": "/paths/~1org~1service-accounts~1{token}/get/x-python", + "path": "/paths/~1org~1service-accounts/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.service_accounts import get_service_account_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, ServiceAccount\nfrom kittycad.models.service_account_token_uuid import ServiceAccountTokenUuid\nfrom kittycad.types import Response\n\n\ndef example_get_service_account_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ServiceAccount, Error]] = (\n get_service_account_for_org.sync(\n client=client,\n token=ServiceAccountTokenUuid(\"\"),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ServiceAccount = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.service_accounts.get_service_account_for_org.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.service_accounts import create_service_account_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, ServiceAccount\nfrom kittycad.types import Response\n\n\ndef example_create_service_account_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ServiceAccount, Error]] = (\n create_service_account_for_org.sync(\n client=client,\n label=None, # Optional[str]\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ServiceAccount = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.service_accounts.create_service_account_for_org.html" } }, { "op": "add", - "path": "/paths/~1org~1service-accounts~1{token}/delete/x-python", + "path": "/paths/~1org~1service-accounts/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.service_accounts import delete_service_account_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.models.service_account_token_uuid import ServiceAccountTokenUuid\nfrom kittycad.types import Response\n\n\ndef example_delete_service_account_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = delete_service_account_for_org.sync(\n client=client,\n token=ServiceAccountTokenUuid(\"\"),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.service_accounts.delete_service_account_for_org.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.service_accounts import list_service_accounts_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, ServiceAccountResultsPage\nfrom kittycad.models.created_at_sort_mode import CreatedAtSortMode\nfrom kittycad.types import Response\n\n\ndef example_list_service_accounts_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ServiceAccountResultsPage, Error]] = (\n list_service_accounts_for_org.sync(\n client=client,\n sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING,\n limit=None, # Optional[int]\n page_token=None, # Optional[str]\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ServiceAccountResultsPage = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.service_accounts.list_service_accounts_for_org.html" } }, { "op": "add", - "path": "/paths/~1unit~1conversion~1energy~1{input_unit}~1{output_unit}/get/x-python", + "path": "/paths/~1file~1density/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.unit import get_energy_unit_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UnitEnergyConversion\nfrom kittycad.models.unit_energy import UnitEnergy\nfrom kittycad.types import Response\n\n\ndef example_get_energy_unit_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UnitEnergyConversion, Error]] = (\n get_energy_unit_conversion.sync(\n client=client,\n input_unit=UnitEnergy.BTU,\n output_unit=UnitEnergy.BTU,\n value=3.14,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UnitEnergyConversion = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.unit.get_energy_unit_conversion.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.file import create_file_density\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, FileDensity\nfrom kittycad.models.file_import_format import FileImportFormat\nfrom kittycad.models.unit_density import UnitDensity\nfrom kittycad.models.unit_mass import UnitMass\nfrom kittycad.types import Response\n\n\ndef example_create_file_density():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[FileDensity, Error]] = create_file_density.sync(\n client=client,\n material_mass=3.14,\n material_mass_unit=UnitMass.G,\n output_unit=UnitDensity.LB_FT3,\n src_format=FileImportFormat.FBX,\n body=bytes(\"some bytes\", \"utf-8\"),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: FileDensity = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.file.create_file_density.html" } }, { "op": "add", - "path": "/paths/~1unit~1conversion~1frequency~1{input_unit}~1{output_unit}/get/x-python", + "path": "/paths/~1users/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.unit import get_frequency_unit_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UnitFrequencyConversion\nfrom kittycad.models.unit_frequency import UnitFrequency\nfrom kittycad.types import Response\n\n\ndef example_get_frequency_unit_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UnitFrequencyConversion, Error]] = (\n get_frequency_unit_conversion.sync(\n client=client,\n input_unit=UnitFrequency.GIGAHERTZ,\n output_unit=UnitFrequency.GIGAHERTZ,\n value=3.14,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UnitFrequencyConversion = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.unit.get_frequency_unit_conversion.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.users import list_users\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UserResultsPage\nfrom kittycad.models.created_at_sort_mode import CreatedAtSortMode\nfrom kittycad.types import Response\n\n\ndef example_list_users():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UserResultsPage, Error]] = list_users.sync(\n client=client,\n sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING,\n limit=None, # Optional[int]\n page_token=None, # Optional[str]\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UserResultsPage = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.users.list_users.html" } }, { "op": "add", - "path": "/paths/~1user/get/x-python", + "path": "/paths/~1events/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.users import get_user_self\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, User\nfrom kittycad.types import Response\n\n\ndef example_get_user_self():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[User, Error]] = get_user_self.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: User = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.users.get_user_self.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.meta import create_event\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.models.event import modeling_app_event\nfrom kittycad.models.modeling_app_event_type import ModelingAppEventType\nfrom kittycad.types import Response\n\n\ndef example_create_event():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = create_event.sync(\n client=client,\n body=modeling_app_event(\n created_at=\"\",\n event_type=ModelingAppEventType.SUCCESSFUL_COMPILE_BEFORE_CLOSE,\n project_name=\"\",\n source_id=\"\",\n user_id=\"\",\n ),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.meta.create_event.html" } }, { "op": "add", - "path": "/paths/~1user/delete/x-python", + "path": "/paths/~1users~1{id}~1api-calls/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.users import delete_user_self\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_delete_user_self():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = delete_user_self.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.users.delete_user_self.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_calls import list_api_calls_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import ApiCallWithPriceResultsPage, Error\nfrom kittycad.models.created_at_sort_mode import CreatedAtSortMode\nfrom kittycad.types import Response\n\n\ndef example_list_api_calls_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ApiCallWithPriceResultsPage, Error]] = (\n list_api_calls_for_user.sync(\n client=client,\n id=\"\",\n sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING,\n limit=None, # Optional[int]\n page_token=None, # Optional[str]\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ApiCallWithPriceResultsPage = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_calls.list_api_calls_for_user.html" } }, { "op": "add", - "path": "/paths/~1user/put/x-python", + "path": "/paths/~1user~1onboarding/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.users import update_user_self\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, User\nfrom kittycad.models.update_user import UpdateUser\nfrom kittycad.types import Response\n\n\ndef example_update_user_self():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[User, Error]] = update_user_self.sync(\n client=client,\n body=UpdateUser(\n company=\"\",\n discord=\"\",\n first_name=\"\",\n github=\"\",\n image=\"\",\n last_name=\"\",\n phone=\"\",\n ),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: User = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.users.update_user_self.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.users import get_user_onboarding_self\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, Onboarding\nfrom kittycad.types import Response\n\n\ndef example_get_user_onboarding_self():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[Onboarding, Error]] = get_user_onboarding_self.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Onboarding = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.users.get_user_onboarding_self.html" } }, { "op": "add", - "path": "/paths/~1api-calls~1{id}/get/x-python", + "path": "/paths/~1user~1privacy/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_calls import get_api_call\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import ApiCallWithPrice, Error\nfrom kittycad.types import Response\n\n\ndef example_get_api_call():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ApiCallWithPrice, Error]] = get_api_call.sync(\n client=client,\n id=\"\",\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ApiCallWithPrice = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_calls.get_api_call.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.users import get_user_privacy_settings\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_get_user_privacy_settings():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[PrivacySettings, Error]] = (\n get_user_privacy_settings.sync(\n client=client,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: PrivacySettings = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.users.get_user_privacy_settings.html" } }, { "op": "add", - "path": "/paths/~1file~1density/post/x-python", + "path": "/paths/~1user~1privacy/put/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.file import create_file_density\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, FileDensity\nfrom kittycad.models.file_import_format import FileImportFormat\nfrom kittycad.models.unit_density import UnitDensity\nfrom kittycad.models.unit_mass import UnitMass\nfrom kittycad.types import Response\n\n\ndef example_create_file_density():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[FileDensity, Error]] = create_file_density.sync(\n client=client,\n material_mass=3.14,\n material_mass_unit=UnitMass.G,\n output_unit=UnitDensity.LB_FT3,\n src_format=FileImportFormat.FBX,\n body=bytes(\"some bytes\", \"utf-8\"),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: FileDensity = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.file.create_file_density.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.users import update_user_privacy_settings\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.models.privacy_settings import PrivacySettings\nfrom kittycad.types import Response\n\n\ndef example_update_user_privacy_settings():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[PrivacySettings, Error]] = (\n update_user_privacy_settings.sync(\n client=client,\n body=PrivacySettings(\n can_train_on_data=False,\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: PrivacySettings = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.users.update_user_privacy_settings.html" } }, { "op": "add", - "path": "/paths/~1users-extended~1{id}/get/x-python", + "path": "/paths/~1user~1payment~1subscriptions/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.users import get_user_extended\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, ExtendedUser\nfrom kittycad.types import Response\n\n\ndef example_get_user_extended():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ExtendedUser, Error]] = get_user_extended.sync(\n client=client,\n id=\"\",\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ExtendedUser = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.users.get_user_extended.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import create_user_subscription\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, ZooProductSubscriptions\nfrom kittycad.models.modeling_app_individual_subscription_tier import (\n ModelingAppIndividualSubscriptionTier,\n)\nfrom kittycad.models.zoo_product_subscriptions_user_request import (\n ZooProductSubscriptionsUserRequest,\n)\nfrom kittycad.types import Response\n\n\ndef example_create_user_subscription():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ZooProductSubscriptions, Error]] = (\n create_user_subscription.sync(\n client=client,\n body=ZooProductSubscriptionsUserRequest(\n modeling_app=ModelingAppIndividualSubscriptionTier.FREE,\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ZooProductSubscriptions = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.create_user_subscription.html" } }, { "op": "add", - "path": "/paths/~1file~1mass/post/x-python", + "path": "/paths/~1user~1payment~1subscriptions/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.file import create_file_mass\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, FileMass\nfrom kittycad.models.file_import_format import FileImportFormat\nfrom kittycad.models.unit_density import UnitDensity\nfrom kittycad.models.unit_mass import UnitMass\nfrom kittycad.types import Response\n\n\ndef example_create_file_mass():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[FileMass, Error]] = create_file_mass.sync(\n client=client,\n material_density=3.14,\n material_density_unit=UnitDensity.LB_FT3,\n output_unit=UnitMass.G,\n src_format=FileImportFormat.FBX,\n body=bytes(\"some bytes\", \"utf-8\"),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: FileMass = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.file.create_file_mass.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import get_user_subscription\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, ZooProductSubscriptions\nfrom kittycad.types import Response\n\n\ndef example_get_user_subscription():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ZooProductSubscriptions, Error]] = (\n get_user_subscription.sync(\n client=client,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ZooProductSubscriptions = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.get_user_subscription.html" } }, { "op": "add", - "path": "/paths/~1user~1payment~1tax/get/x-python", + "path": "/paths/~1user~1payment~1subscriptions/put/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import validate_customer_tax_information_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_validate_customer_tax_information_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = validate_customer_tax_information_for_user.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.validate_customer_tax_information_for_user.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import update_user_subscription\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, ZooProductSubscriptions\nfrom kittycad.models.modeling_app_individual_subscription_tier import (\n ModelingAppIndividualSubscriptionTier,\n)\nfrom kittycad.models.zoo_product_subscriptions_user_request import (\n ZooProductSubscriptionsUserRequest,\n)\nfrom kittycad.types import Response\n\n\ndef example_update_user_subscription():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ZooProductSubscriptions, Error]] = (\n update_user_subscription.sync(\n client=client,\n body=ZooProductSubscriptionsUserRequest(\n modeling_app=ModelingAppIndividualSubscriptionTier.FREE,\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ZooProductSubscriptions = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.update_user_subscription.html" } }, { "op": "add", - "path": "/paths/~1org~1payment~1balance/get/x-python", + "path": "/paths/~1users-extended/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import get_payment_balance_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import CustomerBalance, Error\nfrom kittycad.types import Response\n\n\ndef example_get_payment_balance_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[CustomerBalance, Error]] = (\n get_payment_balance_for_org.sync(\n client=client,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: CustomerBalance = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.get_payment_balance_for_org.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.users import list_users_extended\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, ExtendedUserResultsPage\nfrom kittycad.models.created_at_sort_mode import CreatedAtSortMode\nfrom kittycad.types import Response\n\n\ndef example_list_users_extended():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ExtendedUserResultsPage, Error]] = (\n list_users_extended.sync(\n client=client,\n sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING,\n limit=None, # Optional[int]\n page_token=None, # Optional[str]\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ExtendedUserResultsPage = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.users.list_users_extended.html" } }, { "op": "add", - "path": "/paths/~1user~1api-tokens/get/x-python", + "path": "/paths/~1user~1org/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_tokens import list_api_tokens_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import ApiTokenResultsPage, Error\nfrom kittycad.models.created_at_sort_mode import CreatedAtSortMode\nfrom kittycad.types import Response\n\n\ndef example_list_api_tokens_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ApiTokenResultsPage, Error]] = (\n list_api_tokens_for_user.sync(\n client=client,\n sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING,\n limit=None, # Optional[int]\n page_token=None, # Optional[str]\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ApiTokenResultsPage = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_tokens.list_api_tokens_for_user.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import get_user_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UserOrgInfo\nfrom kittycad.types import Response\n\n\ndef example_get_user_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UserOrgInfo, Error]] = get_user_org.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UserOrgInfo = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.get_user_org.html" } }, { "op": "add", - "path": "/paths/~1user~1api-tokens/post/x-python", + "path": "/paths/~1user~1payment/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_tokens import create_api_token_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import ApiToken, Error\nfrom kittycad.types import Response\n\n\ndef example_create_api_token_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ApiToken, Error]] = create_api_token_for_user.sync(\n client=client,\n label=None, # Optional[str]\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ApiToken = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_tokens.create_api_token_for_user.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import get_payment_information_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Customer, Error\nfrom kittycad.types import Response\n\n\ndef example_get_payment_information_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[Customer, Error]] = (\n get_payment_information_for_user.sync(\n client=client,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Customer = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.get_payment_information_for_user.html" } }, { "op": "add", - "path": "/paths/~1unit~1conversion~1volume~1{input_unit}~1{output_unit}/get/x-python", + "path": "/paths/~1user~1payment/put/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.unit import get_volume_unit_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UnitVolumeConversion\nfrom kittycad.models.unit_volume import UnitVolume\nfrom kittycad.types import Response\n\n\ndef example_get_volume_unit_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UnitVolumeConversion, Error]] = (\n get_volume_unit_conversion.sync(\n client=client,\n input_unit=UnitVolume.CM3,\n output_unit=UnitVolume.CM3,\n value=3.14,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UnitVolumeConversion = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.unit.get_volume_unit_conversion.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import update_payment_information_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Customer, Error\nfrom kittycad.models.billing_info import BillingInfo\nfrom kittycad.types import Response\n\n\ndef example_update_payment_information_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[Customer, Error]] = (\n update_payment_information_for_user.sync(\n client=client,\n body=BillingInfo(\n name=\"\",\n phone=\"\",\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Customer = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.update_payment_information_for_user.html" } }, { "op": "add", - "path": "/paths/~1user~1payment~1methods~1{id}/delete/x-python", + "path": "/paths/~1user~1payment/delete/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import delete_payment_method_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_delete_payment_method_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = delete_payment_method_for_user.sync(\n client=client,\n id=\"\",\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.delete_payment_method_for_user.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import delete_payment_information_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_delete_payment_information_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = delete_payment_information_for_user.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.delete_payment_information_for_user.html" } }, { "op": "add", - "path": "/paths/~1apps~1github~1webhook/post/x-python", + "path": "/paths/~1user~1payment/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.apps import apps_github_webhook\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_apps_github_webhook():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = apps_github_webhook.sync(\n client=client,\n body=bytes(\"some bytes\", \"utf-8\"),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.apps.apps_github_webhook.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import create_payment_information_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Customer, Error\nfrom kittycad.models.billing_info import BillingInfo\nfrom kittycad.types import Response\n\n\ndef example_create_payment_information_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[Customer, Error]] = (\n create_payment_information_for_user.sync(\n client=client,\n body=BillingInfo(\n name=\"\",\n phone=\"\",\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Customer = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.create_payment_information_for_user.html" } }, { "op": "add", - "path": "/paths/~1ml~1kcl~1completions/post/x-python", + "path": "/paths/~1api-calls~1{id}/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.ml import create_kcl_code_completions\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, KclCodeCompletionResponse\nfrom kittycad.models.kcl_code_completion_params import KclCodeCompletionParams\nfrom kittycad.models.kcl_code_completion_request import KclCodeCompletionRequest\nfrom kittycad.types import Response\n\n\ndef example_create_kcl_code_completions():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[KclCodeCompletionResponse, Error]] = (\n create_kcl_code_completions.sync(\n client=client,\n body=KclCodeCompletionRequest(\n extra=KclCodeCompletionParams(\n language=\"\",\n trim_by_indentation=False,\n ),\n prompt=\"\",\n stop=[\"\"],\n stream=False,\n suffix=\"\",\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: KclCodeCompletionResponse = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.ml.create_kcl_code_completions.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_calls import get_api_call\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import ApiCallWithPrice, Error\nfrom kittycad.types import Response\n\n\ndef example_get_api_call():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ApiCallWithPrice, Error]] = get_api_call.sync(\n client=client,\n id=\"\",\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ApiCallWithPrice = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_calls.get_api_call.html" } }, { "op": "add", - "path": "/paths/~1org~1service-accounts/get/x-python", + "path": "/paths/~1pricing~1subscriptions/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.service_accounts import list_service_accounts_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, ServiceAccountResultsPage\nfrom kittycad.models.created_at_sort_mode import CreatedAtSortMode\nfrom kittycad.types import Response\n\n\ndef example_list_service_accounts_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ServiceAccountResultsPage, Error]] = (\n list_service_accounts_for_org.sync(\n client=client,\n sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING,\n limit=None, # Optional[int]\n page_token=None, # Optional[str]\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ServiceAccountResultsPage = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.service_accounts.list_service_accounts_for_org.html" + "example": "from kittycad.api.meta import get_pricing_subscriptions\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.types import Response\n\n\ndef example_get_pricing_subscriptions():\n # Create our client.\n client = ClientFromEnv()\n\n get_pricing_subscriptions.sync(\n client=client,\n )\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.meta.get_pricing_subscriptions.html" } }, { "op": "add", - "path": "/paths/~1org~1service-accounts/post/x-python", + "path": "/paths/~1unit~1conversion~1energy~1{input_unit}~1{output_unit}/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.service_accounts import create_service_account_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, ServiceAccount\nfrom kittycad.types import Response\n\n\ndef example_create_service_account_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ServiceAccount, Error]] = (\n create_service_account_for_org.sync(\n client=client,\n label=None, # Optional[str]\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ServiceAccount = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.service_accounts.create_service_account_for_org.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.unit import get_energy_unit_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UnitEnergyConversion\nfrom kittycad.models.unit_energy import UnitEnergy\nfrom kittycad.types import Response\n\n\ndef example_get_energy_unit_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UnitEnergyConversion, Error]] = (\n get_energy_unit_conversion.sync(\n client=client,\n input_unit=UnitEnergy.BTU,\n output_unit=UnitEnergy.BTU,\n value=3.14,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UnitEnergyConversion = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.unit.get_energy_unit_conversion.html" } }, { "op": "add", - "path": "/paths/~1debug~1uploads/post/x-python", + "path": "/paths/~1user~1oauth2~1providers/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.meta import create_debug_uploads\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_create_debug_uploads():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[List[str], Error]] = create_debug_uploads.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: List[str] = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.meta.create_debug_uploads.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.users import get_oauth2_providers_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import AccountProvider, Error\nfrom kittycad.types import Response\n\n\ndef example_get_oauth2_providers_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[List[AccountProvider], Error]] = (\n get_oauth2_providers_for_user.sync(\n client=client,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: List[AccountProvider] = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.users.get_oauth2_providers_for_user.html" } }, { "op": "add", - "path": "/paths/~1orgs/get/x-python", + "path": "/paths/~1internal~1discord~1api-token~1{discord_id}/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import list_orgs\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, OrgResultsPage\nfrom kittycad.models.created_at_sort_mode import CreatedAtSortMode\nfrom kittycad.types import Response\n\n\ndef example_list_orgs():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[OrgResultsPage, Error]] = list_orgs.sync(\n client=client,\n sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING,\n limit=None, # Optional[int]\n page_token=None, # Optional[str]\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: OrgResultsPage = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.list_orgs.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.meta import internal_get_api_token_for_discord_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import ApiToken, Error\nfrom kittycad.types import Response\n\n\ndef example_internal_get_api_token_for_discord_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ApiToken, Error]] = (\n internal_get_api_token_for_discord_user.sync(\n client=client,\n discord_id=\"\",\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ApiToken = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.meta.internal_get_api_token_for_discord_user.html" } }, { "op": "add", - "path": "/paths/~1ping/get/x-python", + "path": "/paths/~1unit~1conversion~1power~1{input_unit}~1{output_unit}/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.meta import ping\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, Pong\nfrom kittycad.types import Response\n\n\ndef example_ping():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[Pong, Error]] = ping.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Pong = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.meta.ping.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.unit import get_power_unit_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UnitPowerConversion\nfrom kittycad.models.unit_power import UnitPower\nfrom kittycad.types import Response\n\n\ndef example_get_power_unit_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UnitPowerConversion, Error]] = (\n get_power_unit_conversion.sync(\n client=client,\n input_unit=UnitPower.BTU_PER_MINUTE,\n output_unit=UnitPower.BTU_PER_MINUTE,\n value=3.14,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UnitPowerConversion = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.unit.get_power_unit_conversion.html" } }, { "op": "add", - "path": "/paths/~1users/get/x-python", + "path": "/paths/~1org/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.users import list_users\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UserResultsPage\nfrom kittycad.models.created_at_sort_mode import CreatedAtSortMode\nfrom kittycad.types import Response\n\n\ndef example_list_users():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UserResultsPage, Error]] = list_users.sync(\n client=client,\n sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING,\n limit=None, # Optional[int]\n page_token=None, # Optional[str]\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UserResultsPage = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.users.list_users.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import get_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, Org\nfrom kittycad.types import Response\n\n\ndef example_get_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[Org, Error]] = get_org.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Org = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.get_org.html" } }, { "op": "add", - "path": "/paths/~1ml-prompts/get/x-python", + "path": "/paths/~1org/put/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.ml import list_ml_prompts\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, MlPromptResultsPage\nfrom kittycad.models.created_at_sort_mode import CreatedAtSortMode\nfrom kittycad.types import Response\n\n\ndef example_list_ml_prompts():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[MlPromptResultsPage, Error]] = list_ml_prompts.sync(\n client=client,\n sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING,\n limit=None, # Optional[int]\n page_token=None, # Optional[str]\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: MlPromptResultsPage = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.ml.list_ml_prompts.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import update_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, Org\nfrom kittycad.models.org_details import OrgDetails\nfrom kittycad.types import Response\n\n\ndef example_update_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[Org, Error]] = update_org.sync(\n client=client,\n body=OrgDetails(\n billing_email=\"\",\n name=\"\",\n phone=\"\",\n ),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Org = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.update_org.html" } }, { "op": "add", - "path": "/paths/~1unit~1conversion~1force~1{input_unit}~1{output_unit}/get/x-python", + "path": "/paths/~1org/delete/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.unit import get_force_unit_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UnitForceConversion\nfrom kittycad.models.unit_force import UnitForce\nfrom kittycad.types import Response\n\n\ndef example_get_force_unit_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UnitForceConversion, Error]] = (\n get_force_unit_conversion.sync(\n client=client,\n input_unit=UnitForce.DYNES,\n output_unit=UnitForce.DYNES,\n value=3.14,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UnitForceConversion = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.unit.get_force_unit_conversion.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import delete_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_delete_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = delete_org.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.delete_org.html" } }, { "op": "add", - "path": "/paths/~1_meta~1info/get/x-python", + "path": "/paths/~1org/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.meta import get_metadata\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, Metadata\nfrom kittycad.types import Response\n\n\ndef example_get_metadata():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[Metadata, Error]] = get_metadata.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Metadata = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.meta.get_metadata.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import create_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, Org\nfrom kittycad.models.org_details import OrgDetails\nfrom kittycad.types import Response\n\n\ndef example_create_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[Org, Error]] = create_org.sync(\n client=client,\n body=OrgDetails(\n billing_email=\"\",\n name=\"\",\n phone=\"\",\n ),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Org = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.create_org.html" } }, { "op": "add", - "path": "/paths/~1internal~1discord~1api-token~1{discord_id}/get/x-python", + "path": "/paths/~1file~1surface-area/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.meta import internal_get_api_token_for_discord_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import ApiToken, Error\nfrom kittycad.types import Response\n\n\ndef example_internal_get_api_token_for_discord_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ApiToken, Error]] = (\n internal_get_api_token_for_discord_user.sync(\n client=client,\n discord_id=\"\",\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ApiToken = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.meta.internal_get_api_token_for_discord_user.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.file import create_file_surface_area\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, FileSurfaceArea\nfrom kittycad.models.file_import_format import FileImportFormat\nfrom kittycad.models.unit_area import UnitArea\nfrom kittycad.types import Response\n\n\ndef example_create_file_surface_area():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[FileSurfaceArea, Error]] = (\n create_file_surface_area.sync(\n client=client,\n output_unit=UnitArea.CM2,\n src_format=FileImportFormat.FBX,\n body=bytes(\"some bytes\", \"utf-8\"),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: FileSurfaceArea = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.file.create_file_surface_area.html" } }, { "op": "add", - "path": "/paths/~1org~1payment~1intent/post/x-python", + "path": "/paths/~1org~1payment~1methods~1{id}/delete/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import create_payment_intent_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, PaymentIntent\nfrom kittycad.types import Response\n\n\ndef example_create_payment_intent_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[PaymentIntent, Error]] = (\n create_payment_intent_for_org.sync(\n client=client,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: PaymentIntent = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.create_payment_intent_for_org.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import delete_payment_method_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_delete_payment_method_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = delete_payment_method_for_org.sync(\n client=client,\n id=\"\",\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.delete_payment_method_for_org.html" } }, { "op": "add", - "path": "/paths/~1org~1saml~1idp/get/x-python", + "path": "/paths/~1user/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import get_org_saml_idp\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, SamlIdentityProvider\nfrom kittycad.types import Response\n\n\ndef example_get_org_saml_idp():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[SamlIdentityProvider, Error]] = get_org_saml_idp.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: SamlIdentityProvider = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.get_org_saml_idp.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.users import get_user_self\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, User\nfrom kittycad.types import Response\n\n\ndef example_get_user_self():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[User, Error]] = get_user_self.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: User = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.users.get_user_self.html" } }, { "op": "add", - "path": "/paths/~1org~1saml~1idp/post/x-python", + "path": "/paths/~1user/delete/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import create_org_saml_idp\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, SamlIdentityProvider\nfrom kittycad.models.idp_metadata_source import base64_encoded_xml\nfrom kittycad.models.saml_identity_provider_create import (\n SamlIdentityProviderCreate,\n)\nfrom kittycad.types import Response\n\n\ndef example_create_org_saml_idp():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[SamlIdentityProvider, Error]] = (\n create_org_saml_idp.sync(\n client=client,\n body=SamlIdentityProviderCreate(\n idp_entity_id=\"\",\n idp_metadata_source=base64_encoded_xml(\n data=\"\",\n ),\n technical_contact_email=\"\",\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: SamlIdentityProvider = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.create_org_saml_idp.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.users import delete_user_self\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_delete_user_self():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = delete_user_self.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.users.delete_user_self.html" } }, { "op": "add", - "path": "/paths/~1org~1saml~1idp/put/x-python", + "path": "/paths/~1user/put/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import update_org_saml_idp\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, SamlIdentityProvider\nfrom kittycad.models.idp_metadata_source import base64_encoded_xml\nfrom kittycad.models.saml_identity_provider_create import (\n SamlIdentityProviderCreate,\n)\nfrom kittycad.types import Response\n\n\ndef example_update_org_saml_idp():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[SamlIdentityProvider, Error]] = (\n update_org_saml_idp.sync(\n client=client,\n body=SamlIdentityProviderCreate(\n idp_entity_id=\"\",\n idp_metadata_source=base64_encoded_xml(\n data=\"\",\n ),\n technical_contact_email=\"\",\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: SamlIdentityProvider = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.update_org_saml_idp.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.users import update_user_self\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, User\nfrom kittycad.models.update_user import UpdateUser\nfrom kittycad.types import Response\n\n\ndef example_update_user_self():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[User, Error]] = update_user_self.sync(\n client=client,\n body=UpdateUser(\n company=\"\",\n discord=\"\",\n first_name=\"\",\n github=\"\",\n image=\"\",\n last_name=\"\",\n phone=\"\",\n ),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: User = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.users.update_user_self.html" } }, { "op": "add", - "path": "/paths/~1org~1saml~1idp/delete/x-python", + "path": "/paths/~1unit~1conversion~1length~1{input_unit}~1{output_unit}/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import delete_org_saml_idp\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_delete_org_saml_idp():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = delete_org_saml_idp.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.delete_org_saml_idp.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.unit import get_length_unit_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UnitLengthConversion\nfrom kittycad.models.unit_length import UnitLength\nfrom kittycad.types import Response\n\n\ndef example_get_length_unit_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UnitLengthConversion, Error]] = (\n get_length_unit_conversion.sync(\n client=client,\n input_unit=UnitLength.CM,\n output_unit=UnitLength.CM,\n value=3.14,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UnitLengthConversion = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.unit.get_length_unit_conversion.html" } }, { "op": "add", - "path": "/paths/~1org~1api-calls~1{id}/get/x-python", + "path": "/paths/~1user~1payment~1balance/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_calls import get_api_call_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import ApiCallWithPrice, Error\nfrom kittycad.types import Response\n\n\ndef example_get_api_call_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ApiCallWithPrice, Error]] = get_api_call_for_org.sync(\n client=client,\n id=\"\",\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ApiCallWithPrice = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_calls.get_api_call_for_org.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import get_payment_balance_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import CustomerBalance, Error\nfrom kittycad.types import Response\n\n\ndef example_get_payment_balance_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[CustomerBalance, Error]] = (\n get_payment_balance_for_user.sync(\n client=client,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: CustomerBalance = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.get_payment_balance_for_user.html" } }, { "op": "add", - "path": "/paths/~1org~1members/get/x-python", + "path": "/paths/~1org~1payment/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import list_org_members\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, OrgMemberResultsPage\nfrom kittycad.models.created_at_sort_mode import CreatedAtSortMode\nfrom kittycad.models.user_org_role import UserOrgRole\nfrom kittycad.types import Response\n\n\ndef example_list_org_members():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[OrgMemberResultsPage, Error]] = list_org_members.sync(\n client=client,\n sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING,\n role=UserOrgRole.ADMIN,\n limit=None, # Optional[int]\n page_token=None, # Optional[str]\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: OrgMemberResultsPage = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.list_org_members.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import get_payment_information_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Customer, Error\nfrom kittycad.types import Response\n\n\ndef example_get_payment_information_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[Customer, Error]] = (\n get_payment_information_for_org.sync(\n client=client,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Customer = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.get_payment_information_for_org.html" } }, { "op": "add", - "path": "/paths/~1org~1members/post/x-python", + "path": "/paths/~1org~1payment/put/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.orgs import create_org_member\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, OrgMember\nfrom kittycad.models.add_org_member import AddOrgMember\nfrom kittycad.models.user_org_role import UserOrgRole\nfrom kittycad.types import Response\n\n\ndef example_create_org_member():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[OrgMember, Error]] = create_org_member.sync(\n client=client,\n body=AddOrgMember(\n email=\"\",\n role=UserOrgRole.ADMIN,\n ),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: OrgMember = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.orgs.create_org_member.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import update_payment_information_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Customer, Error\nfrom kittycad.models.billing_info import BillingInfo\nfrom kittycad.types import Response\n\n\ndef example_update_payment_information_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[Customer, Error]] = (\n update_payment_information_for_org.sync(\n client=client,\n body=BillingInfo(\n name=\"\",\n phone=\"\",\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Customer = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.update_payment_information_for_org.html" } }, { "op": "add", - "path": "/paths/~1file~1execute~1{lang}/post/x-python", + "path": "/paths/~1org~1payment/delete/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.executor import create_file_execution\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import CodeOutput, Error\nfrom kittycad.models.code_language import CodeLanguage\nfrom kittycad.types import Response\n\n\ndef example_create_file_execution():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[CodeOutput, Error]] = create_file_execution.sync(\n client=client,\n lang=CodeLanguage.GO,\n output=None, # Optional[str]\n body=bytes(\"some bytes\", \"utf-8\"),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: CodeOutput = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.executor.create_file_execution.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import delete_payment_information_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_delete_payment_information_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = delete_payment_information_for_org.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.delete_payment_information_for_org.html" } }, { "op": "add", - "path": "/paths/~1_meta~1ipinfo/get/x-python", + "path": "/paths/~1org~1payment/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.meta import get_ipinfo\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, IpAddrInfo\nfrom kittycad.types import Response\n\n\ndef example_get_ipinfo():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[IpAddrInfo, Error]] = get_ipinfo.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: IpAddrInfo = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.meta.get_ipinfo.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import create_payment_information_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Customer, Error\nfrom kittycad.models.billing_info import BillingInfo\nfrom kittycad.types import Response\n\n\ndef example_create_payment_information_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[Customer, Error]] = (\n create_payment_information_for_org.sync(\n client=client,\n body=BillingInfo(\n name=\"\",\n phone=\"\",\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Customer = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.create_payment_information_for_org.html" } }, { "op": "add", - "path": "/paths/~1org~1payment~1methods/get/x-python", + "path": "/paths/~1orgs~1{id}~1payment~1balance/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import list_payment_methods_for_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, PaymentMethod\nfrom kittycad.types import Response\n\n\ndef example_list_payment_methods_for_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[List[PaymentMethod], Error]] = (\n list_payment_methods_for_org.sync(\n client=client,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: List[PaymentMethod] = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.list_payment_methods_for_org.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import get_payment_balance_for_any_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import CustomerBalance, Error\nfrom kittycad.models.uuid import Uuid\nfrom kittycad.types import Response\n\n\ndef example_get_payment_balance_for_any_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[CustomerBalance, Error]] = (\n get_payment_balance_for_any_org.sync(\n client=client,\n id=Uuid(\"\"),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: CustomerBalance = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.get_payment_balance_for_any_org.html" } }, { "op": "add", - "path": "/paths/~1org~1api-calls/get/x-python", + "path": "/paths/~1orgs~1{id}~1payment~1balance/put/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_calls import org_list_api_calls\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import ApiCallWithPriceResultsPage, Error\nfrom kittycad.models.created_at_sort_mode import CreatedAtSortMode\nfrom kittycad.types import Response\n\n\ndef example_org_list_api_calls():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ApiCallWithPriceResultsPage, Error]] = (\n org_list_api_calls.sync(\n client=client,\n sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING,\n limit=None, # Optional[int]\n page_token=None, # Optional[str]\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ApiCallWithPriceResultsPage = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_calls.org_list_api_calls.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import update_payment_balance_for_any_org\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import CustomerBalance, Error\nfrom kittycad.models.update_payment_balance import UpdatePaymentBalance\nfrom kittycad.models.uuid import Uuid\nfrom kittycad.types import Response\n\n\ndef example_update_payment_balance_for_any_org():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[CustomerBalance, Error]] = (\n update_payment_balance_for_any_org.sync(\n client=client,\n id=Uuid(\"\"),\n body=UpdatePaymentBalance(),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: CustomerBalance = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.update_payment_balance_for_any_org.html" } }, { "op": "add", - "path": "/paths/~1ws~1modeling~1commands/get/x-python", + "path": "/paths/~1ml-prompts~1{id}/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.modeling import modeling_commands_ws\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, WebSocketRequest, WebSocketResponse\nfrom kittycad.models.post_effect_type import PostEffectType\nfrom kittycad.models.rtc_sdp_type import RtcSdpType\nfrom kittycad.models.rtc_session_description import RtcSessionDescription\nfrom kittycad.models.web_socket_request import sdp_offer\nfrom kittycad.types import Response\n\n\ndef example_modeling_commands_ws():\n # Create our client.\n client = ClientFromEnv()\n\n # Connect to the websocket.\n with modeling_commands_ws.WebSocket(\n client=client,\n fps=10,\n post_effect=PostEffectType.PHOSPHOR,\n show_grid=False,\n unlocked_framerate=False,\n video_res_height=10,\n video_res_width=10,\n webrtc=False,\n pool=None, # Optional[str]\n replay=None, # Optional[str]\n ) as websocket:\n\n # Send a message.\n websocket.send(\n WebSocketRequest(\n sdp_offer(\n offer=RtcSessionDescription(\n sdp=\"\",\n type=RtcSdpType.UNSPECIFIED,\n ),\n )\n )\n )\n\n # Get a message.\n message = websocket.recv()\n print(message)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.modeling.modeling_commands_ws.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.ml import get_ml_prompt\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, MlPrompt\nfrom kittycad.types import Response\n\n\ndef example_get_ml_prompt():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[MlPrompt, Error]] = get_ml_prompt.sync(\n client=client,\n id=\"\",\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: MlPrompt = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.ml.get_ml_prompt.html" } }, { @@ -945,18 +945,18 @@ }, { "op": "add", - "path": "/paths/~1unit~1conversion~1torque~1{input_unit}~1{output_unit}/get/x-python", + "path": "/paths/~1unit~1conversion~1mass~1{input_unit}~1{output_unit}/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.unit import get_torque_unit_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UnitTorqueConversion\nfrom kittycad.models.unit_torque import UnitTorque\nfrom kittycad.types import Response\n\n\ndef example_get_torque_unit_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UnitTorqueConversion, Error]] = (\n get_torque_unit_conversion.sync(\n client=client,\n input_unit=UnitTorque.NEWTON_METRES,\n output_unit=UnitTorque.NEWTON_METRES,\n value=3.14,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UnitTorqueConversion = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.unit.get_torque_unit_conversion.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.unit import get_mass_unit_conversion\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, UnitMassConversion\nfrom kittycad.models.unit_mass import UnitMass\nfrom kittycad.types import Response\n\n\ndef example_get_mass_unit_conversion():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[UnitMassConversion, Error]] = (\n get_mass_unit_conversion.sync(\n client=client,\n input_unit=UnitMass.G,\n output_unit=UnitMass.G,\n value=3.14,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: UnitMassConversion = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.unit.get_mass_unit_conversion.html" } }, { "op": "add", - "path": "/paths/~1file~1center-of-mass/post/x-python", + "path": "/paths/~1users~1{id}/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.file import create_file_center_of_mass\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, FileCenterOfMass\nfrom kittycad.models.file_import_format import FileImportFormat\nfrom kittycad.models.unit_length import UnitLength\nfrom kittycad.types import Response\n\n\ndef example_create_file_center_of_mass():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[FileCenterOfMass, Error]] = (\n create_file_center_of_mass.sync(\n client=client,\n output_unit=UnitLength.CM,\n src_format=FileImportFormat.FBX,\n body=bytes(\"some bytes\", \"utf-8\"),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: FileCenterOfMass = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.file.create_file_center_of_mass.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.users import get_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, User\nfrom kittycad.types import Response\n\n\ndef example_get_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[User, Error]] = get_user.sync(\n client=client,\n id=\"\",\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: User = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.users.get_user.html" } }, { @@ -977,50 +977,50 @@ }, { "op": "add", - "path": "/paths/~1logout/post/x-python", + "path": "/paths/~1user~1api-calls~1{id}/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.hidden import logout\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_logout():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = logout.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.hidden.logout.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_calls import get_api_call_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import ApiCallWithPrice, Error\nfrom kittycad.types import Response\n\n\ndef example_get_api_call_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ApiCallWithPrice, Error]] = get_api_call_for_user.sync(\n client=client,\n id=\"\",\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ApiCallWithPrice = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_calls.get_api_call_for_user.html" } }, { "op": "add", - "path": "/paths/~1user~1payment/get/x-python", + "path": "/paths/~1user~1api-tokens~1{token}/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import get_payment_information_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Customer, Error\nfrom kittycad.types import Response\n\n\ndef example_get_payment_information_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[Customer, Error]] = (\n get_payment_information_for_user.sync(\n client=client,\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Customer = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.get_payment_information_for_user.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_tokens import get_api_token_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import ApiToken, Error\nfrom kittycad.models.api_token_uuid import ApiTokenUuid\nfrom kittycad.types import Response\n\n\ndef example_get_api_token_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ApiToken, Error]] = get_api_token_for_user.sync(\n client=client,\n token=ApiTokenUuid(\"\"),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ApiToken = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_tokens.get_api_token_for_user.html" } }, { "op": "add", - "path": "/paths/~1user~1payment/post/x-python", + "path": "/paths/~1user~1api-tokens~1{token}/delete/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import create_payment_information_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Customer, Error\nfrom kittycad.models.billing_info import BillingInfo\nfrom kittycad.types import Response\n\n\ndef example_create_payment_information_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[Customer, Error]] = (\n create_payment_information_for_user.sync(\n client=client,\n body=BillingInfo(\n name=\"\",\n phone=\"\",\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Customer = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.create_payment_information_for_user.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_tokens import delete_api_token_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.models.api_token_uuid import ApiTokenUuid\nfrom kittycad.types import Response\n\n\ndef example_delete_api_token_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = delete_api_token_for_user.sync(\n client=client,\n token=ApiTokenUuid(\"\"),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_tokens.delete_api_token_for_user.html" } }, { "op": "add", - "path": "/paths/~1user~1payment/put/x-python", + "path": "/paths/~1org~1api-calls/get/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import update_payment_information_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Customer, Error\nfrom kittycad.models.billing_info import BillingInfo\nfrom kittycad.types import Response\n\n\ndef example_update_payment_information_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[Customer, Error]] = (\n update_payment_information_for_user.sync(\n client=client,\n body=BillingInfo(\n name=\"\",\n phone=\"\",\n ),\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Customer = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.update_payment_information_for_user.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.api_calls import org_list_api_calls\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import ApiCallWithPriceResultsPage, Error\nfrom kittycad.models.created_at_sort_mode import CreatedAtSortMode\nfrom kittycad.types import Response\n\n\ndef example_org_list_api_calls():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ApiCallWithPriceResultsPage, Error]] = (\n org_list_api_calls.sync(\n client=client,\n sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING,\n limit=None, # Optional[int]\n page_token=None, # Optional[str]\n )\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ApiCallWithPriceResultsPage = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.api_calls.org_list_api_calls.html" } }, { "op": "add", - "path": "/paths/~1user~1payment/delete/x-python", + "path": "/paths/~1apps~1github~1webhook/post/x-python", "value": { - "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.payments import delete_payment_information_for_user\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_delete_payment_information_for_user():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = delete_payment_information_for_user.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", - "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.payments.delete_payment_information_for_user.html" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.apps import apps_github_webhook\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error\nfrom kittycad.types import Response\n\n\ndef example_apps_github_webhook():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Error] = apps_github_webhook.sync(\n client=client,\n body=bytes(\"some bytes\", \"utf-8\"),\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: Error = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.apps.apps_github_webhook.html" } }, { "op": "add", - "path": "/info/x-python", + "path": "/paths/~1user~1extended/get/x-python", "value": { - "client": "# Create a client with your token.\nfrom kittycad.client import Client\n\nclient = Client(token=\"$TOKEN\")\n\n# - OR -\n\n# Create a new client with your token parsed from the environment variable:\n# `KITTYCAD_API_TOKEN`.\nfrom kittycad.client import ClientFromEnv\n\nclient = ClientFromEnv()\n\n# NOTE: The python library additionally implements asyncio, however all the code samples we\n# show below use the sync functions for ease of use and understanding.\n# Check out the library docs at:\n# https://python.api.docs.kittycad.io/_autosummary/kittycad.api.html#module-kittycad.api\n# for more details.", - "install": "pip install kittycad" + "example": "from typing import Any, List, Optional, Tuple, Union\n\nfrom kittycad.api.users import get_user_self_extended\nfrom kittycad.client import ClientFromEnv\nfrom kittycad.models import Error, ExtendedUser\nfrom kittycad.types import Response\n\n\ndef example_get_user_self_extended():\n # Create our client.\n client = ClientFromEnv()\n\n result: Optional[Union[ExtendedUser, Error]] = get_user_self_extended.sync(\n client=client,\n )\n\n if isinstance(result, Error) or result is None:\n print(result)\n raise Exception(\"Error in response\")\n\n body: ExtendedUser = result\n print(body)\n", + "libDocsLink": "https://python.api.docs.kittycad.io/_autosummary/kittycad.api.users.get_user_self_extended.html" } } ] \ No newline at end of file diff --git a/kittycad/__init__.py b/kittycad/__init__.py index 5351daabc..dbabe2bef 100644 --- a/kittycad/__init__.py +++ b/kittycad/__init__.py @@ -1 +1 @@ -""" A client library for accessing KittyCAD """ +"""A client library for accessing KittyCAD""" diff --git a/kittycad/api/__init__.py b/kittycad/api/__init__.py index dc035f4ce..81f9fa241 100644 --- a/kittycad/api/__init__.py +++ b/kittycad/api/__init__.py @@ -1 +1 @@ -""" Contains methods for accessing the API """ +"""Contains methods for accessing the API""" diff --git a/kittycad/api/api_calls/__init__.py b/kittycad/api/api_calls/__init__.py index 917672e26..4a900c123 100644 --- a/kittycad/api/api_calls/__init__.py +++ b/kittycad/api/api_calls/__init__.py @@ -1 +1 @@ -""" Contains methods for accessing the api_calls API paths: API calls that have been performed by users can be queried by the API. This is helpful for debugging as well as billing. """ # noqa: E501 +"""Contains methods for accessing the api_calls API paths: API calls that have been performed by users can be queried by the API. This is helpful for debugging as well as billing.""" # noqa: E501 diff --git a/kittycad/api/api_calls/get_api_call_metrics.py b/kittycad/api/api_calls/get_api_call_metrics.py index af11fc265..03abfb89b 100644 --- a/kittycad/api/api_calls/get_api_call_metrics.py +++ b/kittycad/api/api_calls/get_api_call_metrics.py @@ -19,7 +19,6 @@ def _get_kwargs( ) # noqa: E501 if group_by is not None: - if "?" in url: url = url + "&group_by=" + str(group_by) else: diff --git a/kittycad/api/api_calls/get_async_operation.py b/kittycad/api/api_calls/get_async_operation.py index f7157bd37..72e966021 100644 --- a/kittycad/api/api_calls/get_async_operation.py +++ b/kittycad/api/api_calls/get_async_operation.py @@ -36,7 +36,9 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[ +def _parse_response( + *, response: httpx.Response +) -> Optional[ Union[ FileConversion, FileCenterOfMass, @@ -132,7 +134,9 @@ def _parse_response(*, response: httpx.Response) -> Optional[ return Error(**response.json()) -def _build_response(*, response: httpx.Response) -> Response[ +def _build_response( + *, response: httpx.Response +) -> Response[ Optional[ Union[ FileConversion, @@ -207,8 +211,7 @@ def sync( """Get the status and output of an async operation. This endpoint requires authentication by any Zoo user. It returns details of the requested async operation for the user. If the user is not authenticated to view the specified async operation, then it is not returned. - Only Zoo employees with the proper access can view async operations for other users. - """ # noqa: E501 + Only Zoo employees with the proper access can view async operations for other users.""" # noqa: E501 return sync_detailed( id=id, @@ -266,8 +269,7 @@ async def asyncio( """Get the status and output of an async operation. This endpoint requires authentication by any Zoo user. It returns details of the requested async operation for the user. If the user is not authenticated to view the specified async operation, then it is not returned. - Only Zoo employees with the proper access can view async operations for other users. - """ # noqa: E501 + Only Zoo employees with the proper access can view async operations for other users.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/api_calls/list_api_calls.py b/kittycad/api/api_calls/list_api_calls.py index f3e7af404..7facc92f5 100644 --- a/kittycad/api/api_calls/list_api_calls.py +++ b/kittycad/api/api_calls/list_api_calls.py @@ -21,21 +21,18 @@ def _get_kwargs( ) # noqa: E501 if limit is not None: - if "?" in url: url = url + "&limit=" + str(limit) else: url = url + "?limit=" + str(limit) if page_token is not None: - if "?" in url: url = url + "&page_token=" + str(page_token) else: url = url + "?page_token=" + str(page_token) if sort_by is not None: - if "?" in url: url = url + "&sort_by=" + str(sort_by) else: diff --git a/kittycad/api/api_calls/list_api_calls_for_user.py b/kittycad/api/api_calls/list_api_calls_for_user.py index b8696fb22..90dad94b9 100644 --- a/kittycad/api/api_calls/list_api_calls_for_user.py +++ b/kittycad/api/api_calls/list_api_calls_for_user.py @@ -23,21 +23,18 @@ def _get_kwargs( ) # noqa: E501 if limit is not None: - if "?" in url: url = url + "&limit=" + str(limit) else: url = url + "?limit=" + str(limit) if page_token is not None: - if "?" in url: url = url + "&page_token=" + str(page_token) else: url = url + "?page_token=" + str(page_token) if sort_by is not None: - if "?" in url: url = url + "&sort_by=" + str(sort_by) else: @@ -115,8 +112,7 @@ def sync( """This endpoint requires authentication by any Zoo user. It returns the API calls for the authenticated user if "me" is passed as the user id. Alternatively, you can use the `/user/api-calls` endpoint to get the API calls for your user. If the authenticated user is a Zoo employee, then the API calls are returned for the user specified by the user id. - The API calls are returned in order of creation, with the most recently created API calls first. - """ # noqa: E501 + The API calls are returned in order of creation, with the most recently created API calls first.""" # noqa: E501 return sync_detailed( id=id, @@ -160,8 +156,7 @@ async def asyncio( """This endpoint requires authentication by any Zoo user. It returns the API calls for the authenticated user if "me" is passed as the user id. Alternatively, you can use the `/user/api-calls` endpoint to get the API calls for your user. If the authenticated user is a Zoo employee, then the API calls are returned for the user specified by the user id. - The API calls are returned in order of creation, with the most recently created API calls first. - """ # noqa: E501 + The API calls are returned in order of creation, with the most recently created API calls first.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/api_calls/list_async_operations.py b/kittycad/api/api_calls/list_async_operations.py index b10c6a52b..715228850 100644 --- a/kittycad/api/api_calls/list_async_operations.py +++ b/kittycad/api/api_calls/list_async_operations.py @@ -23,28 +23,24 @@ def _get_kwargs( ) # noqa: E501 if limit is not None: - if "?" in url: url = url + "&limit=" + str(limit) else: url = url + "?limit=" + str(limit) if page_token is not None: - if "?" in url: url = url + "&page_token=" + str(page_token) else: url = url + "?page_token=" + str(page_token) if sort_by is not None: - if "?" in url: url = url + "&sort_by=" + str(sort_by) else: url = url + "?sort_by=" + str(sort_by) if status is not None: - if "?" in url: url = url + "&status=" + str(status) else: diff --git a/kittycad/api/api_calls/org_list_api_calls.py b/kittycad/api/api_calls/org_list_api_calls.py index a935018f8..70de3a4e8 100644 --- a/kittycad/api/api_calls/org_list_api_calls.py +++ b/kittycad/api/api_calls/org_list_api_calls.py @@ -21,21 +21,18 @@ def _get_kwargs( ) # noqa: E501 if limit is not None: - if "?" in url: url = url + "&limit=" + str(limit) else: url = url + "?limit=" + str(limit) if page_token is not None: - if "?" in url: url = url + "&page_token=" + str(page_token) else: url = url + "?page_token=" + str(page_token) if sort_by is not None: - if "?" in url: url = url + "&sort_by=" + str(sort_by) else: @@ -109,8 +106,7 @@ def sync( ) -> Optional[Union[ApiCallWithPriceResultsPage, Error]]: """This includes all API calls that were made by users in the org. This endpoint requires authentication by an org admin. It returns the API calls for the authenticated user's org. - The API calls are returned in order of creation, with the most recently created API calls first. - """ # noqa: E501 + The API calls are returned in order of creation, with the most recently created API calls first.""" # noqa: E501 return sync_detailed( limit=limit, @@ -149,8 +145,7 @@ async def asyncio( ) -> Optional[Union[ApiCallWithPriceResultsPage, Error]]: """This includes all API calls that were made by users in the org. This endpoint requires authentication by an org admin. It returns the API calls for the authenticated user's org. - The API calls are returned in order of creation, with the most recently created API calls first. - """ # noqa: E501 + The API calls are returned in order of creation, with the most recently created API calls first.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/api_calls/user_list_api_calls.py b/kittycad/api/api_calls/user_list_api_calls.py index 406fe8f42..4c8166faf 100644 --- a/kittycad/api/api_calls/user_list_api_calls.py +++ b/kittycad/api/api_calls/user_list_api_calls.py @@ -21,21 +21,18 @@ def _get_kwargs( ) # noqa: E501 if limit is not None: - if "?" in url: url = url + "&limit=" + str(limit) else: url = url + "?limit=" + str(limit) if page_token is not None: - if "?" in url: url = url + "&page_token=" + str(page_token) else: url = url + "?page_token=" + str(page_token) if sort_by is not None: - if "?" in url: url = url + "&sort_by=" + str(sort_by) else: @@ -108,8 +105,7 @@ def sync( page_token: Optional[str] = None, ) -> Optional[Union[ApiCallWithPriceResultsPage, Error]]: """This endpoint requires authentication by any Zoo user. It returns the API calls for the authenticated user. - The API calls are returned in order of creation, with the most recently created API calls first. - """ # noqa: E501 + The API calls are returned in order of creation, with the most recently created API calls first.""" # noqa: E501 return sync_detailed( limit=limit, @@ -147,8 +143,7 @@ async def asyncio( page_token: Optional[str] = None, ) -> Optional[Union[ApiCallWithPriceResultsPage, Error]]: """This endpoint requires authentication by any Zoo user. It returns the API calls for the authenticated user. - The API calls are returned in order of creation, with the most recently created API calls first. - """ # noqa: E501 + The API calls are returned in order of creation, with the most recently created API calls first.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/api_tokens/__init__.py b/kittycad/api/api_tokens/__init__.py index 5b70d3261..5de3e0eb0 100644 --- a/kittycad/api/api_tokens/__init__.py +++ b/kittycad/api/api_tokens/__init__.py @@ -1 +1 @@ -""" Contains methods for accessing the api_tokens API paths: API tokens allow users to call the API outside of their session token that is used as a cookie in the user interface. Users can create, delete, and list their API tokens. But, of course, you need an API token to do this, so first be sure to generate one in the account UI. """ # noqa: E501 +"""Contains methods for accessing the api_tokens API paths: API tokens allow users to call the API outside of their session token that is used as a cookie in the user interface. Users can create, delete, and list their API tokens. But, of course, you need an API token to do this, so first be sure to generate one in the account UI.""" # noqa: E501 diff --git a/kittycad/api/api_tokens/create_api_token_for_user.py b/kittycad/api/api_tokens/create_api_token_for_user.py index 8653db192..728f04c2a 100644 --- a/kittycad/api/api_tokens/create_api_token_for_user.py +++ b/kittycad/api/api_tokens/create_api_token_for_user.py @@ -18,7 +18,6 @@ def _get_kwargs( ) # noqa: E501 if label is not None: - if "?" in url: url = url + "&label=" + str(label) else: diff --git a/kittycad/api/api_tokens/delete_api_token_for_user.py b/kittycad/api/api_tokens/delete_api_token_for_user.py index d68f0c5f7..3ac2d8f73 100644 --- a/kittycad/api/api_tokens/delete_api_token_for_user.py +++ b/kittycad/api/api_tokens/delete_api_token_for_user.py @@ -73,8 +73,7 @@ def sync( client: Client, ) -> Optional[Error]: """This endpoint requires authentication by any Zoo user. It deletes the requested API token for the user. - This endpoint does not actually delete the API token from the database. It merely marks the token as invalid. We still want to keep the token in the database for historical purposes. - """ # noqa: E501 + This endpoint does not actually delete the API token from the database. It merely marks the token as invalid. We still want to keep the token in the database for historical purposes.""" # noqa: E501 return sync_detailed( token=token, @@ -104,8 +103,7 @@ async def asyncio( client: Client, ) -> Optional[Error]: """This endpoint requires authentication by any Zoo user. It deletes the requested API token for the user. - This endpoint does not actually delete the API token from the database. It merely marks the token as invalid. We still want to keep the token in the database for historical purposes. - """ # noqa: E501 + This endpoint does not actually delete the API token from the database. It merely marks the token as invalid. We still want to keep the token in the database for historical purposes.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/api_tokens/list_api_tokens_for_user.py b/kittycad/api/api_tokens/list_api_tokens_for_user.py index e624a93dc..fa6139db0 100644 --- a/kittycad/api/api_tokens/list_api_tokens_for_user.py +++ b/kittycad/api/api_tokens/list_api_tokens_for_user.py @@ -21,21 +21,18 @@ def _get_kwargs( ) # noqa: E501 if limit is not None: - if "?" in url: url = url + "&limit=" + str(limit) else: url = url + "?limit=" + str(limit) if page_token is not None: - if "?" in url: url = url + "&page_token=" + str(page_token) else: url = url + "?page_token=" + str(page_token) if sort_by is not None: - if "?" in url: url = url + "&sort_by=" + str(sort_by) else: @@ -108,8 +105,7 @@ def sync( page_token: Optional[str] = None, ) -> Optional[Union[ApiTokenResultsPage, Error]]: """This endpoint requires authentication by any Zoo user. It returns the API tokens for the authenticated user. - The API tokens are returned in order of creation, with the most recently created API tokens first. - """ # noqa: E501 + The API tokens are returned in order of creation, with the most recently created API tokens first.""" # noqa: E501 return sync_detailed( limit=limit, @@ -147,8 +143,7 @@ async def asyncio( page_token: Optional[str] = None, ) -> Optional[Union[ApiTokenResultsPage, Error]]: """This endpoint requires authentication by any Zoo user. It returns the API tokens for the authenticated user. - The API tokens are returned in order of creation, with the most recently created API tokens first. - """ # noqa: E501 + The API tokens are returned in order of creation, with the most recently created API tokens first.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/apps/__init__.py b/kittycad/api/apps/__init__.py index caf3ca3da..9a45e4521 100644 --- a/kittycad/api/apps/__init__.py +++ b/kittycad/api/apps/__init__.py @@ -1 +1 @@ -""" Contains methods for accessing the apps API paths: Endpoints for third party app grant flows. """ # noqa: E501 +"""Contains methods for accessing the apps API paths: Endpoints for third party app grant flows.""" # noqa: E501 diff --git a/kittycad/api/apps/apps_github_callback.py b/kittycad/api/apps/apps_github_callback.py index 7f898be9a..4bfabc799 100644 --- a/kittycad/api/apps/apps_github_callback.py +++ b/kittycad/api/apps/apps_github_callback.py @@ -67,8 +67,7 @@ def sync( client: Client, ) -> Optional[Error]: """This is different than OAuth 2.0 authentication for users. This endpoint grants access for Zoo to access user's repos. - The user doesn't need Zoo OAuth authorization for this endpoint, this is purely for the GitHub permissions to access repos. - """ # noqa: E501 + The user doesn't need Zoo OAuth authorization for this endpoint, this is purely for the GitHub permissions to access repos.""" # noqa: E501 return sync_detailed( client=client, @@ -94,8 +93,7 @@ async def asyncio( client: Client, ) -> Optional[Error]: """This is different than OAuth 2.0 authentication for users. This endpoint grants access for Zoo to access user's repos. - The user doesn't need Zoo OAuth authorization for this endpoint, this is purely for the GitHub permissions to access repos. - """ # noqa: E501 + The user doesn't need Zoo OAuth authorization for this endpoint, this is purely for the GitHub permissions to access repos.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/apps/apps_github_consent.py b/kittycad/api/apps/apps_github_consent.py index e77c59b0a..bcd85f0cf 100644 --- a/kittycad/api/apps/apps_github_consent.py +++ b/kittycad/api/apps/apps_github_consent.py @@ -74,8 +74,7 @@ def sync( client: Client, ) -> Optional[Union[AppClientInfo, Error]]: """This is different than OAuth 2.0 authentication for users. This endpoint grants access for Zoo to access user's repos. - The user doesn't need Zoo OAuth authorization for this endpoint, this is purely for the GitHub permissions to access repos. - """ # noqa: E501 + The user doesn't need Zoo OAuth authorization for this endpoint, this is purely for the GitHub permissions to access repos.""" # noqa: E501 return sync_detailed( client=client, @@ -101,8 +100,7 @@ async def asyncio( client: Client, ) -> Optional[Union[AppClientInfo, Error]]: """This is different than OAuth 2.0 authentication for users. This endpoint grants access for Zoo to access user's repos. - The user doesn't need Zoo OAuth authorization for this endpoint, this is purely for the GitHub permissions to access repos. - """ # noqa: E501 + The user doesn't need Zoo OAuth authorization for this endpoint, this is purely for the GitHub permissions to access repos.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/beta/__init__.py b/kittycad/api/beta/__init__.py index ddd904abc..1bf9ef178 100644 --- a/kittycad/api/beta/__init__.py +++ b/kittycad/api/beta/__init__.py @@ -1 +1 @@ -""" Contains methods for accessing the beta API paths: Beta API endpoints. We will not charge for these endpoints while they are in beta. """ # noqa: E501 +"""Contains methods for accessing the beta API paths: Beta API endpoints. We will not charge for these endpoints while they are in beta.""" # noqa: E501 diff --git a/kittycad/api/constant/__init__.py b/kittycad/api/constant/__init__.py index 0c15e8842..fee427e9c 100644 --- a/kittycad/api/constant/__init__.py +++ b/kittycad/api/constant/__init__.py @@ -1 +1 @@ -""" Contains methods for accessing the constant API paths: Constants. These are helpful as helpers. """ # noqa: E501 +"""Contains methods for accessing the constant API paths: Constants. These are helpful as helpers.""" # noqa: E501 diff --git a/kittycad/api/executor/__init__.py b/kittycad/api/executor/__init__.py index 34d5e2dab..e396592b2 100644 --- a/kittycad/api/executor/__init__.py +++ b/kittycad/api/executor/__init__.py @@ -1 +1 @@ -""" Contains methods for accessing the executor API paths: Endpoints that allow for code execution or creation of code execution environments. """ # noqa: E501 +"""Contains methods for accessing the executor API paths: Endpoints that allow for code execution or creation of code execution environments.""" # noqa: E501 diff --git a/kittycad/api/executor/create_executor_term.py b/kittycad/api/executor/create_executor_term.py index 3499c694c..0573b7829 100644 --- a/kittycad/api/executor/create_executor_term.py +++ b/kittycad/api/executor/create_executor_term.py @@ -33,7 +33,12 @@ def sync( client=client, ) - return ws_connect(kwargs["url"].replace("http", "ws"), additional_headers=kwargs["headers"], close_timeout=120, max_size=None) # type: ignore + return ws_connect( + kwargs["url"].replace("http", "ws"), + additional_headers=kwargs["headers"], + close_timeout=120, + max_size=None, + ) # type: ignore async def asyncio( diff --git a/kittycad/api/executor/create_file_execution.py b/kittycad/api/executor/create_file_execution.py index 23cc4911e..bf0d97382 100644 --- a/kittycad/api/executor/create_file_execution.py +++ b/kittycad/api/executor/create_file_execution.py @@ -22,7 +22,6 @@ def _get_kwargs( ) # noqa: E501 if output is not None: - if "?" in url: url = url + "&output=" + str(output) else: @@ -93,7 +92,6 @@ def sync( client: Client, output: Optional[str] = None, ) -> Optional[Union[CodeOutput, Error]]: - return sync_detailed( lang=lang, output=output, @@ -129,7 +127,6 @@ async def asyncio( client: Client, output: Optional[str] = None, ) -> Optional[Union[CodeOutput, Error]]: - return ( await asyncio_detailed( lang=lang, diff --git a/kittycad/api/file/__init__.py b/kittycad/api/file/__init__.py index 794df28a7..b0618188a 100644 --- a/kittycad/api/file/__init__.py +++ b/kittycad/api/file/__init__.py @@ -1 +1 @@ -""" Contains methods for accessing the file API paths: CAD file operations. Create, get, and list CAD file conversions. More endpoints will be added here in the future as we build out transforms, etc on CAD models. """ # noqa: E501 +"""Contains methods for accessing the file API paths: CAD file operations. Create, get, and list CAD file conversions. More endpoints will be added here in the future as we build out transforms, etc on CAD models.""" # noqa: E501 diff --git a/kittycad/api/file/create_file_center_of_mass.py b/kittycad/api/file/create_file_center_of_mass.py index aca9419f8..6b3bfd367 100644 --- a/kittycad/api/file/create_file_center_of_mass.py +++ b/kittycad/api/file/create_file_center_of_mass.py @@ -22,14 +22,12 @@ def _get_kwargs( ) # noqa: E501 if output_unit is not None: - if "?" in url: url = url + "&output_unit=" + str(output_unit) else: url = url + "?output_unit=" + str(output_unit) if src_format is not None: - if "?" in url: url = url + "&src_format=" + str(src_format) else: @@ -106,8 +104,7 @@ def sync( This endpoint returns the cartesian coordinate in world space measure units. In the future, we will use the units inside the file if they are given and do any conversions if necessary for the calculation. But currently, that is not supported. Get the center of mass of an object in a CAD file. If the file is larger than 25MB, it will be performed asynchronously. - If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint. - """ # noqa: E501 + If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.""" # noqa: E501 return sync_detailed( output_unit=output_unit, @@ -148,8 +145,7 @@ async def asyncio( This endpoint returns the cartesian coordinate in world space measure units. In the future, we will use the units inside the file if they are given and do any conversions if necessary for the calculation. But currently, that is not supported. Get the center of mass of an object in a CAD file. If the file is larger than 25MB, it will be performed asynchronously. - If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint. - """ # noqa: E501 + If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/file/create_file_conversion.py b/kittycad/api/file/create_file_conversion.py index d45686fdd..383308bcc 100644 --- a/kittycad/api/file/create_file_conversion.py +++ b/kittycad/api/file/create_file_conversion.py @@ -93,8 +93,7 @@ def sync( """If you wish to specify the conversion options, use the `/file/conversion` endpoint instead. Convert a CAD file from one format to another. If the file being converted is larger than 25MB, it will be performed asynchronously. If the conversion is performed synchronously, the contents of the converted file (`output`) will be returned as a base64 encoded string. - If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint. - """ # noqa: E501 + If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.""" # noqa: E501 return sync_detailed( output_format=output_format, @@ -134,8 +133,7 @@ async def asyncio( """If you wish to specify the conversion options, use the `/file/conversion` endpoint instead. Convert a CAD file from one format to another. If the file being converted is larger than 25MB, it will be performed asynchronously. If the conversion is performed synchronously, the contents of the converted file (`output`) will be returned as a base64 encoded string. - If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint. - """ # noqa: E501 + If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/file/create_file_density.py b/kittycad/api/file/create_file_density.py index 9117af8d1..5ec0a55f0 100644 --- a/kittycad/api/file/create_file_density.py +++ b/kittycad/api/file/create_file_density.py @@ -25,28 +25,24 @@ def _get_kwargs( ) # noqa: E501 if material_mass is not None: - if "?" in url: url = url + "&material_mass=" + str(material_mass) else: url = url + "?material_mass=" + str(material_mass) if material_mass_unit is not None: - if "?" in url: url = url + "&material_mass_unit=" + str(material_mass_unit) else: url = url + "?material_mass_unit=" + str(material_mass_unit) if output_unit is not None: - if "?" in url: url = url + "&output_unit=" + str(output_unit) else: url = url + "?output_unit=" + str(output_unit) if src_format is not None: - if "?" in url: url = url + "&src_format=" + str(src_format) else: @@ -127,8 +123,7 @@ def sync( This endpoint assumes if you are giving a material mass in a specific mass units, we return a density in mass unit per cubic measure unit. In the future, we will use the units inside the file if they are given and do any conversions if necessary for the calculation. But currently, that is not supported. Get the density of an object in a CAD file. If the file is larger than 25MB, it will be performed asynchronously. - If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint. - """ # noqa: E501 + If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.""" # noqa: E501 return sync_detailed( material_mass=material_mass, @@ -177,8 +172,7 @@ async def asyncio( This endpoint assumes if you are giving a material mass in a specific mass units, we return a density in mass unit per cubic measure unit. In the future, we will use the units inside the file if they are given and do any conversions if necessary for the calculation. But currently, that is not supported. Get the density of an object in a CAD file. If the file is larger than 25MB, it will be performed asynchronously. - If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint. - """ # noqa: E501 + If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/file/create_file_mass.py b/kittycad/api/file/create_file_mass.py index 9e684a689..36298e89d 100644 --- a/kittycad/api/file/create_file_mass.py +++ b/kittycad/api/file/create_file_mass.py @@ -25,28 +25,24 @@ def _get_kwargs( ) # noqa: E501 if material_density is not None: - if "?" in url: url = url + "&material_density=" + str(material_density) else: url = url + "?material_density=" + str(material_density) if material_density_unit is not None: - if "?" in url: url = url + "&material_density_unit=" + str(material_density_unit) else: url = url + "?material_density_unit=" + str(material_density_unit) if output_unit is not None: - if "?" in url: url = url + "&output_unit=" + str(output_unit) else: url = url + "?output_unit=" + str(output_unit) if src_format is not None: - if "?" in url: url = url + "&src_format=" + str(src_format) else: @@ -127,8 +123,7 @@ def sync( This endpoint assumes if you are giving a material density in a specific mass unit per cubic measure unit, we return a mass in mass units. The same mass units as passed in the material density. In the future, we will use the units inside the file if they are given and do any conversions if necessary for the calculation. But currently, that is not supported. Get the mass of an object in a CAD file. If the file is larger than 25MB, it will be performed asynchronously. - If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint. - """ # noqa: E501 + If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.""" # noqa: E501 return sync_detailed( material_density=material_density, @@ -177,8 +172,7 @@ async def asyncio( This endpoint assumes if you are giving a material density in a specific mass unit per cubic measure unit, we return a mass in mass units. The same mass units as passed in the material density. In the future, we will use the units inside the file if they are given and do any conversions if necessary for the calculation. But currently, that is not supported. Get the mass of an object in a CAD file. If the file is larger than 25MB, it will be performed asynchronously. - If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint. - """ # noqa: E501 + If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/file/create_file_surface_area.py b/kittycad/api/file/create_file_surface_area.py index 239870b55..69e81854f 100644 --- a/kittycad/api/file/create_file_surface_area.py +++ b/kittycad/api/file/create_file_surface_area.py @@ -22,14 +22,12 @@ def _get_kwargs( ) # noqa: E501 if output_unit is not None: - if "?" in url: url = url + "&output_unit=" + str(output_unit) else: url = url + "?output_unit=" + str(output_unit) if src_format is not None: - if "?" in url: url = url + "&src_format=" + str(src_format) else: @@ -106,8 +104,7 @@ def sync( This endpoint returns the square measure units. In the future, we will use the units inside the file if they are given and do any conversions if necessary for the calculation. But currently, that is not supported. Get the surface area of an object in a CAD file. If the file is larger than 25MB, it will be performed asynchronously. - If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint. - """ # noqa: E501 + If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.""" # noqa: E501 return sync_detailed( output_unit=output_unit, @@ -148,8 +145,7 @@ async def asyncio( This endpoint returns the square measure units. In the future, we will use the units inside the file if they are given and do any conversions if necessary for the calculation. But currently, that is not supported. Get the surface area of an object in a CAD file. If the file is larger than 25MB, it will be performed asynchronously. - If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint. - """ # noqa: E501 + If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/file/create_file_volume.py b/kittycad/api/file/create_file_volume.py index 47b706e6a..422b51b7c 100644 --- a/kittycad/api/file/create_file_volume.py +++ b/kittycad/api/file/create_file_volume.py @@ -22,14 +22,12 @@ def _get_kwargs( ) # noqa: E501 if output_unit is not None: - if "?" in url: url = url + "&output_unit=" + str(output_unit) else: url = url + "?output_unit=" + str(output_unit) if src_format is not None: - if "?" in url: url = url + "&src_format=" + str(src_format) else: @@ -104,8 +102,7 @@ def sync( This endpoint returns the cubic measure units. In the future, we will use the units inside the file if they are given and do any conversions if necessary for the calculation. But currently, that is not supported. Get the volume of an object in a CAD file. If the file is larger than 25MB, it will be performed asynchronously. - If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint. - """ # noqa: E501 + If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.""" # noqa: E501 return sync_detailed( output_unit=output_unit, @@ -146,8 +143,7 @@ async def asyncio( This endpoint returns the cubic measure units. In the future, we will use the units inside the file if they are given and do any conversions if necessary for the calculation. But currently, that is not supported. Get the volume of an object in a CAD file. If the file is larger than 25MB, it will be performed asynchronously. - If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint. - """ # noqa: E501 + If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/hidden/__init__.py b/kittycad/api/hidden/__init__.py index 99e49766f..dfb974a6a 100644 --- a/kittycad/api/hidden/__init__.py +++ b/kittycad/api/hidden/__init__.py @@ -1 +1 @@ -""" Contains methods for accessing the hidden API paths: Hidden API endpoints that should not show up in the docs. """ # noqa: E501 +"""Contains methods for accessing the hidden API paths: Hidden API endpoints that should not show up in the docs.""" # noqa: E501 diff --git a/kittycad/api/hidden/auth_email.py b/kittycad/api/hidden/auth_email.py index 7e497191a..dc214adab 100644 --- a/kittycad/api/hidden/auth_email.py +++ b/kittycad/api/hidden/auth_email.py @@ -79,7 +79,6 @@ def sync( *, client: Client, ) -> Optional[Union[VerificationTokenResponse, Error]]: - return sync_detailed( body=body, client=client, @@ -107,7 +106,6 @@ async def asyncio( *, client: Client, ) -> Optional[Union[VerificationTokenResponse, Error]]: - return ( await asyncio_detailed( body=body, diff --git a/kittycad/api/hidden/auth_email_callback.py b/kittycad/api/hidden/auth_email_callback.py index 523b31db5..53dafbc2e 100644 --- a/kittycad/api/hidden/auth_email_callback.py +++ b/kittycad/api/hidden/auth_email_callback.py @@ -19,21 +19,18 @@ def _get_kwargs( ) # noqa: E501 if callback_url is not None: - if "?" in url: url = url + "&callback_url=" + str(callback_url) else: url = url + "?callback_url=" + str(callback_url) if email is not None: - if "?" in url: url = url + "&email=" + str(email) else: url = url + "?email=" + str(email) if token is not None: - if "?" in url: url = url + "&token=" + str(token) else: @@ -99,7 +96,6 @@ def sync( client: Client, callback_url: Optional[str] = None, ) -> Optional[Error]: - return sync_detailed( callback_url=callback_url, email=email, @@ -135,7 +131,6 @@ async def asyncio( client: Client, callback_url: Optional[str] = None, ) -> Optional[Error]: - return ( await asyncio_detailed( callback_url=callback_url, diff --git a/kittycad/api/hidden/get_auth_saml.py b/kittycad/api/hidden/get_auth_saml.py index 1c1e052d1..00b0d4d80 100644 --- a/kittycad/api/hidden/get_auth_saml.py +++ b/kittycad/api/hidden/get_auth_saml.py @@ -20,7 +20,6 @@ def _get_kwargs( ) # noqa: E501 if callback_url is not None: - if "?" in url: url = url + "&callback_url=" + str(callback_url) else: diff --git a/kittycad/api/hidden/post_auth_saml.py b/kittycad/api/hidden/post_auth_saml.py index 7064cc38f..8e6b1769c 100644 --- a/kittycad/api/hidden/post_auth_saml.py +++ b/kittycad/api/hidden/post_auth_saml.py @@ -77,7 +77,6 @@ def sync( *, client: Client, ) -> Optional[Error]: - return sync_detailed( provider_id=provider_id, body=body, @@ -109,7 +108,6 @@ async def asyncio( *, client: Client, ) -> Optional[Error]: - return ( await asyncio_detailed( provider_id=provider_id, diff --git a/kittycad/api/meta/__init__.py b/kittycad/api/meta/__init__.py index 5e7351a95..1aaab56b5 100644 --- a/kittycad/api/meta/__init__.py +++ b/kittycad/api/meta/__init__.py @@ -1 +1 @@ -""" Contains methods for accessing the meta API paths: Meta information about the API. """ # noqa: E501 +"""Contains methods for accessing the meta API paths: Meta information about the API.""" # noqa: E501 diff --git a/kittycad/api/meta/get_ipinfo.py b/kittycad/api/meta/get_ipinfo.py index 155f413cb..da7ce08dc 100644 --- a/kittycad/api/meta/get_ipinfo.py +++ b/kittycad/api/meta/get_ipinfo.py @@ -71,7 +71,6 @@ def sync( *, client: Client, ) -> Optional[Union[IpAddrInfo, Error]]: - return sync_detailed( client=client, ).parsed @@ -95,7 +94,6 @@ async def asyncio( *, client: Client, ) -> Optional[Union[IpAddrInfo, Error]]: - return ( await asyncio_detailed( client=client, diff --git a/kittycad/api/meta/get_schema.py b/kittycad/api/meta/get_schema.py index cdcff611f..e57b41197 100644 --- a/kittycad/api/meta/get_schema.py +++ b/kittycad/api/meta/get_schema.py @@ -70,7 +70,6 @@ def sync( *, client: Client, ) -> Optional[Union[dict, Error]]: - return sync_detailed( client=client, ).parsed @@ -94,7 +93,6 @@ async def asyncio( *, client: Client, ) -> Optional[Union[dict, Error]]: - return ( await asyncio_detailed( client=client, diff --git a/kittycad/api/meta/ping.py b/kittycad/api/meta/ping.py index d4581e207..e71b7dcea 100644 --- a/kittycad/api/meta/ping.py +++ b/kittycad/api/meta/ping.py @@ -71,7 +71,6 @@ def sync( *, client: Client, ) -> Optional[Union[Pong, Error]]: - return sync_detailed( client=client, ).parsed @@ -95,7 +94,6 @@ async def asyncio( *, client: Client, ) -> Optional[Union[Pong, Error]]: - return ( await asyncio_detailed( client=client, diff --git a/kittycad/api/ml/__init__.py b/kittycad/api/ml/__init__.py index 6012b664c..71bc051da 100644 --- a/kittycad/api/ml/__init__.py +++ b/kittycad/api/ml/__init__.py @@ -1 +1 @@ -""" Contains methods for accessing the ml API paths: Machine learning to generate CAD models and other things. """ # noqa: E501 +"""Contains methods for accessing the ml API paths: Machine learning to generate CAD models and other things.""" # noqa: E501 diff --git a/kittycad/api/ml/create_kcl_code_completions.py b/kittycad/api/ml/create_kcl_code_completions.py index 9253c5507..3bdd1265e 100644 --- a/kittycad/api/ml/create_kcl_code_completions.py +++ b/kittycad/api/ml/create_kcl_code_completions.py @@ -79,7 +79,6 @@ def sync( *, client: Client, ) -> Optional[Union[KclCodeCompletionResponse, Error]]: - return sync_detailed( body=body, client=client, @@ -107,7 +106,6 @@ async def asyncio( *, client: Client, ) -> Optional[Union[KclCodeCompletionResponse, Error]]: - return ( await asyncio_detailed( body=body, diff --git a/kittycad/api/ml/create_text_to_cad.py b/kittycad/api/ml/create_text_to_cad.py index fee72493e..008c9db16 100644 --- a/kittycad/api/ml/create_text_to_cad.py +++ b/kittycad/api/ml/create_text_to_cad.py @@ -23,7 +23,6 @@ def _get_kwargs( ) # noqa: E501 if kcl is not None: - if "?" in url: url = url + "&kcl=" + str(kcl) else: @@ -96,8 +95,7 @@ def sync( ) -> Optional[Union[TextToCad, Error]]: """Because our source of truth for the resulting model is a STEP file, you will always have STEP file contents when you list your generated models. Any other formats you request here will also be returned when you list your generated models. This operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint. - One thing to note, if you hit the cache, this endpoint will return right away. So you only have to wait if the status is not `Completed` or `Failed`. - """ # noqa: E501 + One thing to note, if you hit the cache, this endpoint will return right away. So you only have to wait if the status is not `Completed` or `Failed`.""" # noqa: E501 return sync_detailed( output_format=output_format, @@ -136,8 +134,7 @@ async def asyncio( ) -> Optional[Union[TextToCad, Error]]: """Because our source of truth for the resulting model is a STEP file, you will always have STEP file contents when you list your generated models. Any other formats you request here will also be returned when you list your generated models. This operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint. - One thing to note, if you hit the cache, this endpoint will return right away. So you only have to wait if the status is not `Completed` or `Failed`. - """ # noqa: E501 + One thing to note, if you hit the cache, this endpoint will return right away. So you only have to wait if the status is not `Completed` or `Failed`.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/ml/create_text_to_cad_model_feedback.py b/kittycad/api/ml/create_text_to_cad_model_feedback.py index 260b4ac12..b8ff46f96 100644 --- a/kittycad/api/ml/create_text_to_cad_model_feedback.py +++ b/kittycad/api/ml/create_text_to_cad_model_feedback.py @@ -20,7 +20,6 @@ def _get_kwargs( ) # noqa: E501 if feedback is not None: - if "?" in url: url = url + "&feedback=" + str(feedback) else: diff --git a/kittycad/api/ml/list_ml_prompts.py b/kittycad/api/ml/list_ml_prompts.py index 8f98fd1af..6f2ff2fa8 100644 --- a/kittycad/api/ml/list_ml_prompts.py +++ b/kittycad/api/ml/list_ml_prompts.py @@ -21,21 +21,18 @@ def _get_kwargs( ) # noqa: E501 if limit is not None: - if "?" in url: url = url + "&limit=" + str(limit) else: url = url + "?limit=" + str(limit) if page_token is not None: - if "?" in url: url = url + "&page_token=" + str(page_token) else: url = url + "?page_token=" + str(page_token) if sort_by is not None: - if "?" in url: url = url + "&sort_by=" + str(sort_by) else: @@ -109,8 +106,7 @@ def sync( ) -> Optional[Union[MlPromptResultsPage, Error]]: """For text-to-cad prompts, this will always return the STEP file contents as well as the format the user originally requested. This endpoint requires authentication by a Zoo employee. - The ML prompts are returned in order of creation, with the most recently created ML prompts first. - """ # noqa: E501 + The ML prompts are returned in order of creation, with the most recently created ML prompts first.""" # noqa: E501 return sync_detailed( limit=limit, @@ -149,8 +145,7 @@ async def asyncio( ) -> Optional[Union[MlPromptResultsPage, Error]]: """For text-to-cad prompts, this will always return the STEP file contents as well as the format the user originally requested. This endpoint requires authentication by a Zoo employee. - The ML prompts are returned in order of creation, with the most recently created ML prompts first. - """ # noqa: E501 + The ML prompts are returned in order of creation, with the most recently created ML prompts first.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/ml/list_text_to_cad_models_for_user.py b/kittycad/api/ml/list_text_to_cad_models_for_user.py index 07e6cfeb7..952cca3ea 100644 --- a/kittycad/api/ml/list_text_to_cad_models_for_user.py +++ b/kittycad/api/ml/list_text_to_cad_models_for_user.py @@ -22,28 +22,24 @@ def _get_kwargs( ) # noqa: E501 if limit is not None: - if "?" in url: url = url + "&limit=" + str(limit) else: url = url + "?limit=" + str(limit) if page_token is not None: - if "?" in url: url = url + "&page_token=" + str(page_token) else: url = url + "?page_token=" + str(page_token) if sort_by is not None: - if "?" in url: url = url + "&sort_by=" + str(sort_by) else: url = url + "?sort_by=" + str(sort_by) if no_models is not None: - if "?" in url: url = url + "&no_models=" + str(no_models) else: @@ -120,8 +116,7 @@ def sync( ) -> Optional[Union[TextToCadResultsPage, Error]]: """This will always return the STEP file contents as well as the format the user originally requested. This endpoint requires authentication by any Zoo user. It returns the text-to-CAD models for the authenticated user. - The text-to-CAD models are returned in order of creation, with the most recently created text-to-CAD models first. - """ # noqa: E501 + The text-to-CAD models are returned in order of creation, with the most recently created text-to-CAD models first.""" # noqa: E501 return sync_detailed( limit=limit, @@ -164,8 +159,7 @@ async def asyncio( ) -> Optional[Union[TextToCadResultsPage, Error]]: """This will always return the STEP file contents as well as the format the user originally requested. This endpoint requires authentication by any Zoo user. It returns the text-to-CAD models for the authenticated user. - The text-to-CAD models are returned in order of creation, with the most recently created text-to-CAD models first. - """ # noqa: E501 + The text-to-CAD models are returned in order of creation, with the most recently created text-to-CAD models first.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/modeling/__init__.py b/kittycad/api/modeling/__init__.py index bb0b6dc1d..79a7bde4f 100644 --- a/kittycad/api/modeling/__init__.py +++ b/kittycad/api/modeling/__init__.py @@ -1 +1 @@ -""" Contains methods for accessing the modeling API paths: Modeling API for updating your 3D files using the Zoo engine. """ # noqa: E501 +"""Contains methods for accessing the modeling API paths: Modeling API for updating your 3D files using the Zoo engine.""" # noqa: E501 diff --git a/kittycad/api/modeling/modeling_commands_ws.py b/kittycad/api/modeling/modeling_commands_ws.py index 568a45b84..d4725536e 100644 --- a/kittycad/api/modeling/modeling_commands_ws.py +++ b/kittycad/api/modeling/modeling_commands_ws.py @@ -27,63 +27,54 @@ def _get_kwargs( url = "{}/ws/modeling/commands".format(client.base_url) # noqa: E501 if fps is not None: - if "?" in url: url = url + "&fps=" + str(fps) else: url = url + "?fps=" + str(fps) if pool is not None: - if "?" in url: url = url + "&pool=" + str(pool) else: url = url + "?pool=" + str(pool) if post_effect is not None: - if "?" in url: url = url + "&post_effect=" + str(post_effect) else: url = url + "?post_effect=" + str(post_effect) if replay is not None: - if "?" in url: url = url + "&replay=" + str(replay) else: url = url + "?replay=" + str(replay) if show_grid is not None: - if "?" in url: url = url + "&show_grid=" + str(show_grid).lower() else: url = url + "?show_grid=" + str(show_grid).lower() if unlocked_framerate is not None: - if "?" in url: url = url + "&unlocked_framerate=" + str(unlocked_framerate).lower() else: url = url + "?unlocked_framerate=" + str(unlocked_framerate).lower() if video_res_height is not None: - if "?" in url: url = url + "&video_res_height=" + str(video_res_height) else: url = url + "?video_res_height=" + str(video_res_height) if video_res_width is not None: - if "?" in url: url = url + "&video_res_width=" + str(video_res_width) else: url = url + "?video_res_width=" + str(video_res_width) if webrtc is not None: - if "?" in url: url = url + "&webrtc=" + str(webrtc).lower() else: @@ -128,7 +119,12 @@ def sync( client=client, ) - return ws_connect(kwargs["url"].replace("http", "ws"), additional_headers=kwargs["headers"], close_timeout=120, max_size=None) # type: ignore + return ws_connect( + kwargs["url"].replace("http", "ws"), + additional_headers=kwargs["headers"], + close_timeout=120, + max_size=None, + ) # type: ignore async def asyncio( diff --git a/kittycad/api/oauth2/__init__.py b/kittycad/api/oauth2/__init__.py index 1e216c556..9b214217f 100644 --- a/kittycad/api/oauth2/__init__.py +++ b/kittycad/api/oauth2/__init__.py @@ -1 +1 @@ -""" Contains methods for accessing the oauth2 API paths: Endpoints that implement OAuth 2.0 grant flows. """ # noqa: E501 +"""Contains methods for accessing the oauth2 API paths: Endpoints that implement OAuth 2.0 grant flows.""" # noqa: E501 diff --git a/kittycad/api/orgs/__init__.py b/kittycad/api/orgs/__init__.py index fd4becf61..171ab2e06 100644 --- a/kittycad/api/orgs/__init__.py +++ b/kittycad/api/orgs/__init__.py @@ -1 +1 @@ -""" Contains methods for accessing the orgs API paths: An organization is a group of users of the Zoo API. Here, we can add users to an org and perform operations on orgs. """ # noqa: E501 +"""Contains methods for accessing the orgs API paths: An organization is a group of users of the Zoo API. Here, we can add users to an org and perform operations on orgs.""" # noqa: E501 diff --git a/kittycad/api/orgs/create_org_member.py b/kittycad/api/orgs/create_org_member.py index 72331cb93..353cfcd0c 100644 --- a/kittycad/api/orgs/create_org_member.py +++ b/kittycad/api/orgs/create_org_member.py @@ -81,8 +81,7 @@ def sync( In both cases the user gets an email that they have been added to the org. If the user is already in your org, this will return a 400 and a message. If the user is already in a different org, this will return a 400 and a message. - This endpoint requires authentication by an org admin. It adds the specified member to the authenticated user's org. - """ # noqa: E501 + This endpoint requires authentication by an org admin. It adds the specified member to the authenticated user's org.""" # noqa: E501 return sync_detailed( body=body, @@ -115,8 +114,7 @@ async def asyncio( In both cases the user gets an email that they have been added to the org. If the user is already in your org, this will return a 400 and a message. If the user is already in a different org, this will return a 400 and a message. - This endpoint requires authentication by an org admin. It adds the specified member to the authenticated user's org. - """ # noqa: E501 + This endpoint requires authentication by an org admin. It adds the specified member to the authenticated user's org.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/orgs/delete_org.py b/kittycad/api/orgs/delete_org.py index 699924d00..cb7e36a8b 100644 --- a/kittycad/api/orgs/delete_org.py +++ b/kittycad/api/orgs/delete_org.py @@ -68,8 +68,7 @@ def sync( ) -> Optional[Error]: """In order to delete an org, you must first delete all of its members, except yourself. You must also have no outstanding invoices or unpaid balances. - This endpoint requires authentication by an org admin. It deletes the authenticated user's org. - """ # noqa: E501 + This endpoint requires authentication by an org admin. It deletes the authenticated user's org.""" # noqa: E501 return sync_detailed( client=client, @@ -96,8 +95,7 @@ async def asyncio( ) -> Optional[Error]: """In order to delete an org, you must first delete all of its members, except yourself. You must also have no outstanding invoices or unpaid balances. - This endpoint requires authentication by an org admin. It deletes the authenticated user's org. - """ # noqa: E501 + This endpoint requires authentication by an org admin. It deletes the authenticated user's org.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/orgs/list_org_members.py b/kittycad/api/orgs/list_org_members.py index 506cc137b..8288bef59 100644 --- a/kittycad/api/orgs/list_org_members.py +++ b/kittycad/api/orgs/list_org_members.py @@ -23,28 +23,24 @@ def _get_kwargs( ) # noqa: E501 if limit is not None: - if "?" in url: url = url + "&limit=" + str(limit) else: url = url + "?limit=" + str(limit) if page_token is not None: - if "?" in url: url = url + "&page_token=" + str(page_token) else: url = url + "?page_token=" + str(page_token) if sort_by is not None: - if "?" in url: url = url + "&sort_by=" + str(sort_by) else: url = url + "?sort_by=" + str(sort_by) if role is not None: - if "?" in url: url = url + "&role=" + str(role) else: diff --git a/kittycad/api/orgs/list_orgs.py b/kittycad/api/orgs/list_orgs.py index 7632bc37f..9f17f5732 100644 --- a/kittycad/api/orgs/list_orgs.py +++ b/kittycad/api/orgs/list_orgs.py @@ -21,21 +21,18 @@ def _get_kwargs( ) # noqa: E501 if limit is not None: - if "?" in url: url = url + "&limit=" + str(limit) else: url = url + "?limit=" + str(limit) if page_token is not None: - if "?" in url: url = url + "&page_token=" + str(page_token) else: url = url + "?page_token=" + str(page_token) if sort_by is not None: - if "?" in url: url = url + "&sort_by=" + str(sort_by) else: diff --git a/kittycad/api/payments/__init__.py b/kittycad/api/payments/__init__.py index 61da5c79f..6c6b81ed1 100644 --- a/kittycad/api/payments/__init__.py +++ b/kittycad/api/payments/__init__.py @@ -1 +1 @@ -""" Contains methods for accessing the payments API paths: Operations around payments and billing. """ # noqa: E501 +"""Contains methods for accessing the payments API paths: Operations around payments and billing.""" # noqa: E501 diff --git a/kittycad/api/payments/create_payment_information_for_org.py b/kittycad/api/payments/create_payment_information_for_org.py index 1bfffa719..5015e6659 100644 --- a/kittycad/api/payments/create_payment_information_for_org.py +++ b/kittycad/api/payments/create_payment_information_for_org.py @@ -78,8 +78,7 @@ def sync( client: Client, ) -> Optional[Union[Customer, Error]]: """This includes billing address, phone, and name. - This endpoint requires authentication by the org admin. It creates the payment information for the authenticated user's org. - """ # noqa: E501 + This endpoint requires authentication by the org admin. It creates the payment information for the authenticated user's org.""" # noqa: E501 return sync_detailed( body=body, @@ -109,8 +108,7 @@ async def asyncio( client: Client, ) -> Optional[Union[Customer, Error]]: """This includes billing address, phone, and name. - This endpoint requires authentication by the org admin. It creates the payment information for the authenticated user's org. - """ # noqa: E501 + This endpoint requires authentication by the org admin. It creates the payment information for the authenticated user's org.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/payments/create_payment_information_for_user.py b/kittycad/api/payments/create_payment_information_for_user.py index 9e7beabca..0e22b1845 100644 --- a/kittycad/api/payments/create_payment_information_for_user.py +++ b/kittycad/api/payments/create_payment_information_for_user.py @@ -78,8 +78,7 @@ def sync( client: Client, ) -> Optional[Union[Customer, Error]]: """This includes billing address, phone, and name. - This endpoint requires authentication by any Zoo user. It creates the payment information for the authenticated user. - """ # noqa: E501 + This endpoint requires authentication by any Zoo user. It creates the payment information for the authenticated user.""" # noqa: E501 return sync_detailed( body=body, @@ -109,8 +108,7 @@ async def asyncio( client: Client, ) -> Optional[Union[Customer, Error]]: """This includes billing address, phone, and name. - This endpoint requires authentication by any Zoo user. It creates the payment information for the authenticated user. - """ # noqa: E501 + This endpoint requires authentication by any Zoo user. It creates the payment information for the authenticated user.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/payments/delete_payment_information_for_org.py b/kittycad/api/payments/delete_payment_information_for_org.py index 4cf893cbb..dbebb47a2 100644 --- a/kittycad/api/payments/delete_payment_information_for_org.py +++ b/kittycad/api/payments/delete_payment_information_for_org.py @@ -67,8 +67,7 @@ def sync( client: Client, ) -> Optional[Error]: """This includes billing address, phone, and name. - This endpoint requires authentication by an org admin. It deletes the payment information for the authenticated user's org. - """ # noqa: E501 + This endpoint requires authentication by an org admin. It deletes the payment information for the authenticated user's org.""" # noqa: E501 return sync_detailed( client=client, @@ -94,8 +93,7 @@ async def asyncio( client: Client, ) -> Optional[Error]: """This includes billing address, phone, and name. - This endpoint requires authentication by an org admin. It deletes the payment information for the authenticated user's org. - """ # noqa: E501 + This endpoint requires authentication by an org admin. It deletes the payment information for the authenticated user's org.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/payments/delete_payment_information_for_user.py b/kittycad/api/payments/delete_payment_information_for_user.py index 1b4c96a1a..fb745b0f0 100644 --- a/kittycad/api/payments/delete_payment_information_for_user.py +++ b/kittycad/api/payments/delete_payment_information_for_user.py @@ -67,8 +67,7 @@ def sync( client: Client, ) -> Optional[Error]: """This includes billing address, phone, and name. - This endpoint requires authentication by any Zoo user. It deletes the payment information for the authenticated user. - """ # noqa: E501 + This endpoint requires authentication by any Zoo user. It deletes the payment information for the authenticated user.""" # noqa: E501 return sync_detailed( client=client, @@ -94,8 +93,7 @@ async def asyncio( client: Client, ) -> Optional[Error]: """This includes billing address, phone, and name. - This endpoint requires authentication by any Zoo user. It deletes the payment information for the authenticated user. - """ # noqa: E501 + This endpoint requires authentication by any Zoo user. It deletes the payment information for the authenticated user.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/payments/get_payment_information_for_org.py b/kittycad/api/payments/get_payment_information_for_org.py index 693057190..b47c0ad55 100644 --- a/kittycad/api/payments/get_payment_information_for_org.py +++ b/kittycad/api/payments/get_payment_information_for_org.py @@ -72,8 +72,7 @@ def sync( client: Client, ) -> Optional[Union[Customer, Error]]: """This includes billing address, phone, and name. - This endpoint requires authentication by an org admin. It gets the payment information for the authenticated user's org. - """ # noqa: E501 + This endpoint requires authentication by an org admin. It gets the payment information for the authenticated user's org.""" # noqa: E501 return sync_detailed( client=client, @@ -99,8 +98,7 @@ async def asyncio( client: Client, ) -> Optional[Union[Customer, Error]]: """This includes billing address, phone, and name. - This endpoint requires authentication by an org admin. It gets the payment information for the authenticated user's org. - """ # noqa: E501 + This endpoint requires authentication by an org admin. It gets the payment information for the authenticated user's org.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/payments/get_payment_information_for_user.py b/kittycad/api/payments/get_payment_information_for_user.py index fff3db761..39dbfe032 100644 --- a/kittycad/api/payments/get_payment_information_for_user.py +++ b/kittycad/api/payments/get_payment_information_for_user.py @@ -72,8 +72,7 @@ def sync( client: Client, ) -> Optional[Union[Customer, Error]]: """This includes billing address, phone, and name. - This endpoint requires authentication by any Zoo user. It gets the payment information for the authenticated user. - """ # noqa: E501 + This endpoint requires authentication by any Zoo user. It gets the payment information for the authenticated user.""" # noqa: E501 return sync_detailed( client=client, @@ -99,8 +98,7 @@ async def asyncio( client: Client, ) -> Optional[Union[Customer, Error]]: """This includes billing address, phone, and name. - This endpoint requires authentication by any Zoo user. It gets the payment information for the authenticated user. - """ # noqa: E501 + This endpoint requires authentication by any Zoo user. It gets the payment information for the authenticated user.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/payments/update_payment_information_for_org.py b/kittycad/api/payments/update_payment_information_for_org.py index 771a7f753..ef43139a0 100644 --- a/kittycad/api/payments/update_payment_information_for_org.py +++ b/kittycad/api/payments/update_payment_information_for_org.py @@ -78,8 +78,7 @@ def sync( client: Client, ) -> Optional[Union[Customer, Error]]: """This includes billing address, phone, and name. - This endpoint requires authentication by an org admin. It updates the payment information for the authenticated user's org. - """ # noqa: E501 + This endpoint requires authentication by an org admin. It updates the payment information for the authenticated user's org.""" # noqa: E501 return sync_detailed( body=body, @@ -109,8 +108,7 @@ async def asyncio( client: Client, ) -> Optional[Union[Customer, Error]]: """This includes billing address, phone, and name. - This endpoint requires authentication by an org admin. It updates the payment information for the authenticated user's org. - """ # noqa: E501 + This endpoint requires authentication by an org admin. It updates the payment information for the authenticated user's org.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/payments/update_payment_information_for_user.py b/kittycad/api/payments/update_payment_information_for_user.py index 5963ad159..ba3db61d3 100644 --- a/kittycad/api/payments/update_payment_information_for_user.py +++ b/kittycad/api/payments/update_payment_information_for_user.py @@ -78,8 +78,7 @@ def sync( client: Client, ) -> Optional[Union[Customer, Error]]: """This includes billing address, phone, and name. - This endpoint requires authentication by any Zoo user. It updates the payment information for the authenticated user. - """ # noqa: E501 + This endpoint requires authentication by any Zoo user. It updates the payment information for the authenticated user.""" # noqa: E501 return sync_detailed( body=body, @@ -109,8 +108,7 @@ async def asyncio( client: Client, ) -> Optional[Union[Customer, Error]]: """This includes billing address, phone, and name. - This endpoint requires authentication by any Zoo user. It updates the payment information for the authenticated user. - """ # noqa: E501 + This endpoint requires authentication by any Zoo user. It updates the payment information for the authenticated user.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/service_accounts/__init__.py b/kittycad/api/service_accounts/__init__.py index c0e3e3a6f..245db2f7e 100644 --- a/kittycad/api/service_accounts/__init__.py +++ b/kittycad/api/service_accounts/__init__.py @@ -1 +1 @@ -""" Contains methods for accessing the service_accounts API paths: Service accounts allow organizations to call the API. Organization admins can create, delete, and list the service accounts for their org. Service accounts are scoped to an organization not individual users, these are better to use for automations than individual API tokens, since they won't stop working when an individual leaves the company. """ # noqa: E501 +"""Contains methods for accessing the service_accounts API paths: Service accounts allow organizations to call the API. Organization admins can create, delete, and list the service accounts for their org. Service accounts are scoped to an organization not individual users, these are better to use for automations than individual API tokens, since they won't stop working when an individual leaves the company.""" # noqa: E501 diff --git a/kittycad/api/service_accounts/create_service_account_for_org.py b/kittycad/api/service_accounts/create_service_account_for_org.py index 7a9898e80..11752bfcb 100644 --- a/kittycad/api/service_accounts/create_service_account_for_org.py +++ b/kittycad/api/service_accounts/create_service_account_for_org.py @@ -18,7 +18,6 @@ def _get_kwargs( ) # noqa: E501 if label is not None: - if "?" in url: url = url + "&label=" + str(label) else: diff --git a/kittycad/api/service_accounts/delete_service_account_for_org.py b/kittycad/api/service_accounts/delete_service_account_for_org.py index f96c3466a..a9c598099 100644 --- a/kittycad/api/service_accounts/delete_service_account_for_org.py +++ b/kittycad/api/service_accounts/delete_service_account_for_org.py @@ -73,8 +73,7 @@ def sync( client: Client, ) -> Optional[Error]: """This endpoint requires authentication by an org admin. It deletes the requested service account for the organization. - This endpoint does not actually delete the service account from the database. It merely marks the token as invalid. We still want to keep the service account in the database for historical purposes. - """ # noqa: E501 + This endpoint does not actually delete the service account from the database. It merely marks the token as invalid. We still want to keep the service account in the database for historical purposes.""" # noqa: E501 return sync_detailed( token=token, @@ -104,8 +103,7 @@ async def asyncio( client: Client, ) -> Optional[Error]: """This endpoint requires authentication by an org admin. It deletes the requested service account for the organization. - This endpoint does not actually delete the service account from the database. It merely marks the token as invalid. We still want to keep the service account in the database for historical purposes. - """ # noqa: E501 + This endpoint does not actually delete the service account from the database. It merely marks the token as invalid. We still want to keep the service account in the database for historical purposes.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/service_accounts/list_service_accounts_for_org.py b/kittycad/api/service_accounts/list_service_accounts_for_org.py index b4e1b9d82..92bef583f 100644 --- a/kittycad/api/service_accounts/list_service_accounts_for_org.py +++ b/kittycad/api/service_accounts/list_service_accounts_for_org.py @@ -21,21 +21,18 @@ def _get_kwargs( ) # noqa: E501 if limit is not None: - if "?" in url: url = url + "&limit=" + str(limit) else: url = url + "?limit=" + str(limit) if page_token is not None: - if "?" in url: url = url + "&page_token=" + str(page_token) else: url = url + "?page_token=" + str(page_token) if sort_by is not None: - if "?" in url: url = url + "&sort_by=" + str(sort_by) else: @@ -108,8 +105,7 @@ def sync( page_token: Optional[str] = None, ) -> Optional[Union[ServiceAccountResultsPage, Error]]: """This endpoint requires authentication by an org admin. It returns the service accounts for the organization. - The service accounts are returned in order of creation, with the most recently created service accounts first. - """ # noqa: E501 + The service accounts are returned in order of creation, with the most recently created service accounts first.""" # noqa: E501 return sync_detailed( limit=limit, @@ -147,8 +143,7 @@ async def asyncio( page_token: Optional[str] = None, ) -> Optional[Union[ServiceAccountResultsPage, Error]]: """This endpoint requires authentication by an org admin. It returns the service accounts for the organization. - The service accounts are returned in order of creation, with the most recently created service accounts first. - """ # noqa: E501 + The service accounts are returned in order of creation, with the most recently created service accounts first.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/store/__init__.py b/kittycad/api/store/__init__.py index 967461f68..84133acc7 100644 --- a/kittycad/api/store/__init__.py +++ b/kittycad/api/store/__init__.py @@ -1 +1 @@ -""" Contains methods for accessing the store API paths: Operations involving our swag store. """ # noqa: E501 +"""Contains methods for accessing the store API paths: Operations involving our swag store.""" # noqa: E501 diff --git a/kittycad/api/unit/__init__.py b/kittycad/api/unit/__init__.py index e6b3722c9..1d9f53279 100644 --- a/kittycad/api/unit/__init__.py +++ b/kittycad/api/unit/__init__.py @@ -1 +1 @@ -""" Contains methods for accessing the unit API paths: Unit conversion operations. """ # noqa: E501 +"""Contains methods for accessing the unit API paths: Unit conversion operations.""" # noqa: E501 diff --git a/kittycad/api/unit/get_angle_unit_conversion.py b/kittycad/api/unit/get_angle_unit_conversion.py index 094b9d1f4..7a1f2c05c 100644 --- a/kittycad/api/unit/get_angle_unit_conversion.py +++ b/kittycad/api/unit/get_angle_unit_conversion.py @@ -23,7 +23,6 @@ def _get_kwargs( ) # noqa: E501 if value is not None: - if "?" in url: url = url + "&value=" + str(value) else: diff --git a/kittycad/api/unit/get_area_unit_conversion.py b/kittycad/api/unit/get_area_unit_conversion.py index fe31bb458..53e9262c8 100644 --- a/kittycad/api/unit/get_area_unit_conversion.py +++ b/kittycad/api/unit/get_area_unit_conversion.py @@ -23,7 +23,6 @@ def _get_kwargs( ) # noqa: E501 if value is not None: - if "?" in url: url = url + "&value=" + str(value) else: diff --git a/kittycad/api/unit/get_current_unit_conversion.py b/kittycad/api/unit/get_current_unit_conversion.py index e651f70b8..261c5832f 100644 --- a/kittycad/api/unit/get_current_unit_conversion.py +++ b/kittycad/api/unit/get_current_unit_conversion.py @@ -23,7 +23,6 @@ def _get_kwargs( ) # noqa: E501 if value is not None: - if "?" in url: url = url + "&value=" + str(value) else: diff --git a/kittycad/api/unit/get_energy_unit_conversion.py b/kittycad/api/unit/get_energy_unit_conversion.py index fde3110be..d473d6e09 100644 --- a/kittycad/api/unit/get_energy_unit_conversion.py +++ b/kittycad/api/unit/get_energy_unit_conversion.py @@ -23,7 +23,6 @@ def _get_kwargs( ) # noqa: E501 if value is not None: - if "?" in url: url = url + "&value=" + str(value) else: diff --git a/kittycad/api/unit/get_force_unit_conversion.py b/kittycad/api/unit/get_force_unit_conversion.py index 313cfe90f..381067f5e 100644 --- a/kittycad/api/unit/get_force_unit_conversion.py +++ b/kittycad/api/unit/get_force_unit_conversion.py @@ -23,7 +23,6 @@ def _get_kwargs( ) # noqa: E501 if value is not None: - if "?" in url: url = url + "&value=" + str(value) else: diff --git a/kittycad/api/unit/get_frequency_unit_conversion.py b/kittycad/api/unit/get_frequency_unit_conversion.py index 44821624c..8e7060d98 100644 --- a/kittycad/api/unit/get_frequency_unit_conversion.py +++ b/kittycad/api/unit/get_frequency_unit_conversion.py @@ -23,7 +23,6 @@ def _get_kwargs( ) # noqa: E501 if value is not None: - if "?" in url: url = url + "&value=" + str(value) else: diff --git a/kittycad/api/unit/get_length_unit_conversion.py b/kittycad/api/unit/get_length_unit_conversion.py index cfbc56fc4..7e1db8dd2 100644 --- a/kittycad/api/unit/get_length_unit_conversion.py +++ b/kittycad/api/unit/get_length_unit_conversion.py @@ -23,7 +23,6 @@ def _get_kwargs( ) # noqa: E501 if value is not None: - if "?" in url: url = url + "&value=" + str(value) else: diff --git a/kittycad/api/unit/get_mass_unit_conversion.py b/kittycad/api/unit/get_mass_unit_conversion.py index 37fa7267a..22a82e9ed 100644 --- a/kittycad/api/unit/get_mass_unit_conversion.py +++ b/kittycad/api/unit/get_mass_unit_conversion.py @@ -23,7 +23,6 @@ def _get_kwargs( ) # noqa: E501 if value is not None: - if "?" in url: url = url + "&value=" + str(value) else: diff --git a/kittycad/api/unit/get_power_unit_conversion.py b/kittycad/api/unit/get_power_unit_conversion.py index 6f3137e50..5d6cd0d9f 100644 --- a/kittycad/api/unit/get_power_unit_conversion.py +++ b/kittycad/api/unit/get_power_unit_conversion.py @@ -23,7 +23,6 @@ def _get_kwargs( ) # noqa: E501 if value is not None: - if "?" in url: url = url + "&value=" + str(value) else: diff --git a/kittycad/api/unit/get_pressure_unit_conversion.py b/kittycad/api/unit/get_pressure_unit_conversion.py index d1f5202ab..e58866408 100644 --- a/kittycad/api/unit/get_pressure_unit_conversion.py +++ b/kittycad/api/unit/get_pressure_unit_conversion.py @@ -23,7 +23,6 @@ def _get_kwargs( ) # noqa: E501 if value is not None: - if "?" in url: url = url + "&value=" + str(value) else: diff --git a/kittycad/api/unit/get_temperature_unit_conversion.py b/kittycad/api/unit/get_temperature_unit_conversion.py index ef8d2e639..ba01e7524 100644 --- a/kittycad/api/unit/get_temperature_unit_conversion.py +++ b/kittycad/api/unit/get_temperature_unit_conversion.py @@ -23,7 +23,6 @@ def _get_kwargs( ) # noqa: E501 if value is not None: - if "?" in url: url = url + "&value=" + str(value) else: diff --git a/kittycad/api/unit/get_torque_unit_conversion.py b/kittycad/api/unit/get_torque_unit_conversion.py index 87949dcb4..cecf1a99a 100644 --- a/kittycad/api/unit/get_torque_unit_conversion.py +++ b/kittycad/api/unit/get_torque_unit_conversion.py @@ -23,7 +23,6 @@ def _get_kwargs( ) # noqa: E501 if value is not None: - if "?" in url: url = url + "&value=" + str(value) else: diff --git a/kittycad/api/unit/get_volume_unit_conversion.py b/kittycad/api/unit/get_volume_unit_conversion.py index ef4abe296..92de54654 100644 --- a/kittycad/api/unit/get_volume_unit_conversion.py +++ b/kittycad/api/unit/get_volume_unit_conversion.py @@ -23,7 +23,6 @@ def _get_kwargs( ) # noqa: E501 if value is not None: - if "?" in url: url = url + "&value=" + str(value) else: diff --git a/kittycad/api/users/__init__.py b/kittycad/api/users/__init__.py index 7bb9c6b9c..534a2561c 100644 --- a/kittycad/api/users/__init__.py +++ b/kittycad/api/users/__init__.py @@ -1 +1 @@ -""" Contains methods for accessing the users API paths: A user is someone who uses the Zoo API. Here, we can create, delete, and list users. We can also get information about a user. Operations will only be authorized if the user is requesting information about themselves. """ # noqa: E501 +"""Contains methods for accessing the users API paths: A user is someone who uses the Zoo API. Here, we can create, delete, and list users. We can also get information about a user. Operations will only be authorized if the user is requesting information about themselves.""" # noqa: E501 diff --git a/kittycad/api/users/delete_user_self.py b/kittycad/api/users/delete_user_self.py index f685e9aba..993998794 100644 --- a/kittycad/api/users/delete_user_self.py +++ b/kittycad/api/users/delete_user_self.py @@ -67,8 +67,7 @@ def sync( client: Client, ) -> Optional[Error]: """This endpoint requires authentication by any Zoo user. It deletes the authenticated user from Zoo's database. - This call will only succeed if all invoices associated with the user have been paid in full and there is no outstanding balance. - """ # noqa: E501 + This call will only succeed if all invoices associated with the user have been paid in full and there is no outstanding balance.""" # noqa: E501 return sync_detailed( client=client, @@ -94,8 +93,7 @@ async def asyncio( client: Client, ) -> Optional[Error]: """This endpoint requires authentication by any Zoo user. It deletes the authenticated user from Zoo's database. - This call will only succeed if all invoices associated with the user have been paid in full and there is no outstanding balance. - """ # noqa: E501 + This call will only succeed if all invoices associated with the user have been paid in full and there is no outstanding balance.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/users/get_oauth2_providers_for_user.py b/kittycad/api/users/get_oauth2_providers_for_user.py index 26b55057b..b72569bce 100644 --- a/kittycad/api/users/get_oauth2_providers_for_user.py +++ b/kittycad/api/users/get_oauth2_providers_for_user.py @@ -74,8 +74,7 @@ def sync( client: Client, ) -> Optional[Union[List[AccountProvider], Error]]: """If this returns an empty array, then the user has not connected any OAuth2 providers and uses raw email authentication. - This endpoint requires authentication by any Zoo user. It gets the providers for the authenticated user. - """ # noqa: E501 + This endpoint requires authentication by any Zoo user. It gets the providers for the authenticated user.""" # noqa: E501 return sync_detailed( client=client, @@ -101,8 +100,7 @@ async def asyncio( client: Client, ) -> Optional[Union[List[AccountProvider], Error]]: """If this returns an empty array, then the user has not connected any OAuth2 providers and uses raw email authentication. - This endpoint requires authentication by any Zoo user. It gets the providers for the authenticated user. - """ # noqa: E501 + This endpoint requires authentication by any Zoo user. It gets the providers for the authenticated user.""" # noqa: E501 return ( await asyncio_detailed( diff --git a/kittycad/api/users/list_users.py b/kittycad/api/users/list_users.py index 7278c80ca..9b09b6681 100644 --- a/kittycad/api/users/list_users.py +++ b/kittycad/api/users/list_users.py @@ -21,21 +21,18 @@ def _get_kwargs( ) # noqa: E501 if limit is not None: - if "?" in url: url = url + "&limit=" + str(limit) else: url = url + "?limit=" + str(limit) if page_token is not None: - if "?" in url: url = url + "&page_token=" + str(page_token) else: url = url + "?page_token=" + str(page_token) if sort_by is not None: - if "?" in url: url = url + "&sort_by=" + str(sort_by) else: diff --git a/kittycad/api/users/list_users_extended.py b/kittycad/api/users/list_users_extended.py index 3be0f9219..c3a5a1ede 100644 --- a/kittycad/api/users/list_users_extended.py +++ b/kittycad/api/users/list_users_extended.py @@ -21,21 +21,18 @@ def _get_kwargs( ) # noqa: E501 if limit is not None: - if "?" in url: url = url + "&limit=" + str(limit) else: url = url + "?limit=" + str(limit) if page_token is not None: - if "?" in url: url = url + "&page_token=" + str(page_token) else: url = url + "?page_token=" + str(page_token) if sort_by is not None: - if "?" in url: url = url + "&sort_by=" + str(sort_by) else: diff --git a/kittycad/client_test.py b/kittycad/client_test.py index 03a52cf1d..b7041ee46 100644 --- a/kittycad/client_test.py +++ b/kittycad/client_test.py @@ -160,7 +160,7 @@ def test_file_convert_stl(): # Make sure the bytes are not empty. for key, value in fc.outputs.items(): - assert len(value.get_decoded()) > 0 + assert len(value) > 0 @pytest.mark.asyncio @@ -174,13 +174,13 @@ async def test_file_convert_stl_async(): file.close() # Get the fc. - result: Optional[Union[FileConversion, Error]] = ( - await create_file_conversion.asyncio( - client=client, - body=content, - src_format=FileImportFormat.STL, - output_format=FileExportFormat.OBJ, - ) + result: Optional[ + Union[FileConversion, Error] + ] = await create_file_conversion.asyncio( + client=client, + body=content, + src_format=FileImportFormat.STL, + output_format=FileExportFormat.OBJ, ) assert isinstance(result, FileConversion) @@ -199,7 +199,7 @@ async def test_file_convert_stl_async(): # Make sure the bytes are not empty. for key, value in fc.outputs.items(): - assert len(value.get_decoded()) > 0 + assert len(value) > 0 @pytest.mark.asyncio @@ -213,13 +213,13 @@ async def test_file_convert_obj_async(): file.close() # Get the fc. - result: Optional[Union[FileConversion, Error]] = ( - await create_file_conversion.asyncio( - client=client, - body=content, - src_format=FileImportFormat.OBJ, - output_format=FileExportFormat.STL, - ) + result: Optional[ + Union[FileConversion, Error] + ] = await create_file_conversion.asyncio( + client=client, + body=content, + src_format=FileImportFormat.OBJ, + output_format=FileExportFormat.STL, ) assert isinstance(result, FileConversion) @@ -238,7 +238,7 @@ async def test_file_convert_obj_async(): # Make sure the bytes are not empty. for key, value in fc.outputs.items(): - assert len(value.get_decoded()) > 0 + assert len(value) > 0 def test_file_mass(): @@ -508,7 +508,7 @@ def test_ws_import(): # Break since now we know it was a success. png_contents = message_dict["resp"]["data"]["modeling_response"][ "data" - ]["contents"].get_decoded() + ]["contents"] break # Save the contents to a file. @@ -534,7 +534,27 @@ def test_serialize_deserialize(): assert model_dump["request_id"] == "16a06065-6ca3-4a96-a042-d0bec6b161a6" # type: ignore assert model_dump["resp"]["type"] == "modeling" # type: ignore assert model_dump["resp"]["data"]["modeling_response"]["type"] == "import_files" # type: ignore - assert model_dump["resp"]["data"]["modeling_response"]["data"]["object_id"] == "f61ac02e-77bd-468f-858f-fd4141a26acd" # type: ignore + assert ( + model_dump["resp"]["data"]["modeling_response"]["data"]["object_id"] + == "f61ac02e-77bd-468f-858f-fd4141a26acd" + ) # type: ignore + + +def test_deserialize_null_request_id(): + json_str = """{"success":true,"request_id":null,"resp":{"type":"modeling_session_data","data":{"session":{"api_call_id":"91f7fd17-8846-4593-97ff-6400a81b8cdd"}}}}""" + d = json.loads(json_str) + print(d) + message = WebSocketResponse(**d) + model_dump = message.model_dump() + print(model_dump) + assert model_dump["success"] is True # type: ignore + assert model_dump["success"] is True # type: ignore + assert model_dump["request_id"] is None # type: ignore + assert model_dump["resp"]["type"] == "modeling_session_data" # type: ignore + assert ( + model_dump["resp"]["data"]["session"]["api_call_id"] + == "91f7fd17-8846-4593-97ff-6400a81b8cdd" + ) # type: ignore def test_text_to_cad(): diff --git a/kittycad/examples_test.py b/kittycad/examples_test.py index eae99f1ba..b5e54db9e 100644 --- a/kittycad/examples_test.py +++ b/kittycad/examples_test.py @@ -349,10 +349,10 @@ async def test_get_metadata_async(): ) # OR run async with more info - response: Response[Optional[Union[Metadata, Error]]] = ( - await get_metadata.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Union[Metadata, Error]] + ] = await get_metadata.asyncio_detailed( + client=client, ) @@ -390,10 +390,10 @@ async def test_get_ipinfo_async(): ) # OR run async with more info - response: Response[Optional[Union[IpAddrInfo, Error]]] = ( - await get_ipinfo.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Union[IpAddrInfo, Error]] + ] = await get_ipinfo.asyncio_detailed( + client=client, ) @@ -448,15 +448,15 @@ async def test_create_text_to_cad_async(): ) # OR run async with more info - response: Response[Optional[Union[TextToCad, Error]]] = ( - await create_text_to_cad.asyncio_detailed( - client=client, - output_format=FileExportFormat.FBX, - kcl=None, # Optional[bool] - body=TextToCadCreateBody( - prompt="", - ), - ) + response: Response[ + Optional[Union[TextToCad, Error]] + ] = await create_text_to_cad.asyncio_detailed( + client=client, + output_format=FileExportFormat.FBX, + kcl=None, # Optional[bool] + body=TextToCadCreateBody( + prompt="", + ), ) @@ -493,19 +493,19 @@ async def test_get_api_call_metrics_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[List[ApiCallQueryGroup], Error]] = ( - await get_api_call_metrics.asyncio( - client=client, - group_by=ApiCallQueryGroupBy.EMAIL, - ) + result: Optional[ + Union[List[ApiCallQueryGroup], Error] + ] = await get_api_call_metrics.asyncio( + client=client, + group_by=ApiCallQueryGroupBy.EMAIL, ) # OR run async with more info - response: Response[Optional[Union[List[ApiCallQueryGroup], Error]]] = ( - await get_api_call_metrics.asyncio_detailed( - client=client, - group_by=ApiCallQueryGroupBy.EMAIL, - ) + response: Response[ + Optional[Union[List[ApiCallQueryGroup], Error]] + ] = await get_api_call_metrics.asyncio_detailed( + client=client, + group_by=ApiCallQueryGroupBy.EMAIL, ) @@ -546,23 +546,23 @@ async def test_list_api_calls_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[ApiCallWithPriceResultsPage, Error]] = ( - await list_api_calls.asyncio( - client=client, - sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, - limit=None, # Optional[int] - page_token=None, # Optional[str] - ) + result: Optional[ + Union[ApiCallWithPriceResultsPage, Error] + ] = await list_api_calls.asyncio( + client=client, + sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, + limit=None, # Optional[int] + page_token=None, # Optional[str] ) # OR run async with more info - response: Response[Optional[Union[ApiCallWithPriceResultsPage, Error]]] = ( - await list_api_calls.asyncio_detailed( - client=client, - sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, - limit=None, # Optional[int] - page_token=None, # Optional[str] - ) + response: Response[ + Optional[Union[ApiCallWithPriceResultsPage, Error]] + ] = await list_api_calls.asyncio_detailed( + client=client, + sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, + limit=None, # Optional[int] + page_token=None, # Optional[str] ) @@ -605,11 +605,11 @@ async def test_get_api_call_async(): ) # OR run async with more info - response: Response[Optional[Union[ApiCallWithPrice, Error]]] = ( - await get_api_call.asyncio_detailed( - client=client, - id="", - ) + response: Response[ + Optional[Union[ApiCallWithPrice, Error]] + ] = await get_api_call.asyncio_detailed( + client=client, + id="", ) @@ -688,10 +688,10 @@ async def test_apps_github_consent_async(): ) # OR run async with more info - response: Response[Optional[Union[AppClientInfo, Error]]] = ( - await apps_github_consent.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Union[AppClientInfo, Error]] + ] = await apps_github_consent.asyncio_detailed( + client=client, ) @@ -779,25 +779,25 @@ async def test_list_async_operations_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[AsyncApiCallResultsPage, Error]] = ( - await list_async_operations.asyncio( - client=client, - sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, - status=ApiCallStatus.QUEUED, - limit=None, # Optional[int] - page_token=None, # Optional[str] - ) + result: Optional[ + Union[AsyncApiCallResultsPage, Error] + ] = await list_async_operations.asyncio( + client=client, + sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, + status=ApiCallStatus.QUEUED, + limit=None, # Optional[int] + page_token=None, # Optional[str] ) # OR run async with more info - response: Response[Optional[Union[AsyncApiCallResultsPage, Error]]] = ( - await list_async_operations.asyncio_detailed( - client=client, - sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, - status=ApiCallStatus.QUEUED, - limit=None, # Optional[int] - page_token=None, # Optional[str] - ) + response: Response[ + Optional[Union[AsyncApiCallResultsPage, Error]] + ] = await list_async_operations.asyncio_detailed( + client=client, + sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, + status=ApiCallStatus.QUEUED, + limit=None, # Optional[int] + page_token=None, # Optional[str] ) @@ -942,23 +942,23 @@ async def test_auth_email_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[VerificationTokenResponse, Error]] = ( - await auth_email.asyncio( - client=client, - body=EmailAuthenticationForm( - email="", - ), - ) + result: Optional[ + Union[VerificationTokenResponse, Error] + ] = await auth_email.asyncio( + client=client, + body=EmailAuthenticationForm( + email="", + ), ) # OR run async with more info - response: Response[Optional[Union[VerificationTokenResponse, Error]]] = ( - await auth_email.asyncio_detailed( - client=client, - body=EmailAuthenticationForm( - email="", - ), - ) + response: Response[ + Optional[Union[VerificationTokenResponse, Error]] + ] = await auth_email.asyncio_detailed( + client=client, + body=EmailAuthenticationForm( + email="", + ), ) @@ -1143,10 +1143,10 @@ async def test_create_debug_uploads_async(): ) # OR run async with more info - response: Response[Optional[Union[List[str], Error]]] = ( - await create_debug_uploads.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Union[List[str], Error]] + ] = await create_debug_uploads.asyncio_detailed( + client=client, ) @@ -1254,23 +1254,23 @@ async def test_create_file_center_of_mass_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[FileCenterOfMass, Error]] = ( - await create_file_center_of_mass.asyncio( - client=client, - output_unit=UnitLength.CM, - src_format=FileImportFormat.FBX, - body=bytes("some bytes", "utf-8"), - ) + result: Optional[ + Union[FileCenterOfMass, Error] + ] = await create_file_center_of_mass.asyncio( + client=client, + output_unit=UnitLength.CM, + src_format=FileImportFormat.FBX, + body=bytes("some bytes", "utf-8"), ) # OR run async with more info - response: Response[Optional[Union[FileCenterOfMass, Error]]] = ( - await create_file_center_of_mass.asyncio_detailed( - client=client, - output_unit=UnitLength.CM, - src_format=FileImportFormat.FBX, - body=bytes("some bytes", "utf-8"), - ) + response: Response[ + Optional[Union[FileCenterOfMass, Error]] + ] = await create_file_center_of_mass.asyncio_detailed( + client=client, + output_unit=UnitLength.CM, + src_format=FileImportFormat.FBX, + body=bytes("some bytes", "utf-8"), ) @@ -1311,23 +1311,23 @@ async def test_create_file_conversion_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[FileConversion, Error]] = ( - await create_file_conversion.asyncio( - client=client, - output_format=FileExportFormat.FBX, - src_format=FileImportFormat.FBX, - body=bytes("some bytes", "utf-8"), - ) + result: Optional[ + Union[FileConversion, Error] + ] = await create_file_conversion.asyncio( + client=client, + output_format=FileExportFormat.FBX, + src_format=FileImportFormat.FBX, + body=bytes("some bytes", "utf-8"), ) # OR run async with more info - response: Response[Optional[Union[FileConversion, Error]]] = ( - await create_file_conversion.asyncio_detailed( - client=client, - output_format=FileExportFormat.FBX, - src_format=FileImportFormat.FBX, - body=bytes("some bytes", "utf-8"), - ) + response: Response[ + Optional[Union[FileConversion, Error]] + ] = await create_file_conversion.asyncio_detailed( + client=client, + output_format=FileExportFormat.FBX, + src_format=FileImportFormat.FBX, + body=bytes("some bytes", "utf-8"), ) @@ -1382,15 +1382,15 @@ async def test_create_file_density_async(): ) # OR run async with more info - response: Response[Optional[Union[FileDensity, Error]]] = ( - await create_file_density.asyncio_detailed( - client=client, - material_mass=3.14, - material_mass_unit=UnitMass.G, - output_unit=UnitDensity.LB_FT3, - src_format=FileImportFormat.FBX, - body=bytes("some bytes", "utf-8"), - ) + response: Response[ + Optional[Union[FileDensity, Error]] + ] = await create_file_density.asyncio_detailed( + client=client, + material_mass=3.14, + material_mass_unit=UnitMass.G, + output_unit=UnitDensity.LB_FT3, + src_format=FileImportFormat.FBX, + body=bytes("some bytes", "utf-8"), ) @@ -1439,13 +1439,13 @@ async def test_create_file_execution_async(): ) # OR run async with more info - response: Response[Optional[Union[CodeOutput, Error]]] = ( - await create_file_execution.asyncio_detailed( - client=client, - lang=CodeLanguage.GO, - output=None, # Optional[str] - body=bytes("some bytes", "utf-8"), - ) + response: Response[ + Optional[Union[CodeOutput, Error]] + ] = await create_file_execution.asyncio_detailed( + client=client, + lang=CodeLanguage.GO, + output=None, # Optional[str] + body=bytes("some bytes", "utf-8"), ) @@ -1500,15 +1500,15 @@ async def test_create_file_mass_async(): ) # OR run async with more info - response: Response[Optional[Union[FileMass, Error]]] = ( - await create_file_mass.asyncio_detailed( - client=client, - material_density=3.14, - material_density_unit=UnitDensity.LB_FT3, - output_unit=UnitMass.G, - src_format=FileImportFormat.FBX, - body=bytes("some bytes", "utf-8"), - ) + response: Response[ + Optional[Union[FileMass, Error]] + ] = await create_file_mass.asyncio_detailed( + client=client, + material_density=3.14, + material_density_unit=UnitDensity.LB_FT3, + output_unit=UnitMass.G, + src_format=FileImportFormat.FBX, + body=bytes("some bytes", "utf-8"), ) @@ -1549,23 +1549,23 @@ async def test_create_file_surface_area_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[FileSurfaceArea, Error]] = ( - await create_file_surface_area.asyncio( - client=client, - output_unit=UnitArea.CM2, - src_format=FileImportFormat.FBX, - body=bytes("some bytes", "utf-8"), - ) + result: Optional[ + Union[FileSurfaceArea, Error] + ] = await create_file_surface_area.asyncio( + client=client, + output_unit=UnitArea.CM2, + src_format=FileImportFormat.FBX, + body=bytes("some bytes", "utf-8"), ) # OR run async with more info - response: Response[Optional[Union[FileSurfaceArea, Error]]] = ( - await create_file_surface_area.asyncio_detailed( - client=client, - output_unit=UnitArea.CM2, - src_format=FileImportFormat.FBX, - body=bytes("some bytes", "utf-8"), - ) + response: Response[ + Optional[Union[FileSurfaceArea, Error]] + ] = await create_file_surface_area.asyncio_detailed( + client=client, + output_unit=UnitArea.CM2, + src_format=FileImportFormat.FBX, + body=bytes("some bytes", "utf-8"), ) @@ -1614,13 +1614,13 @@ async def test_create_file_volume_async(): ) # OR run async with more info - response: Response[Optional[Union[FileVolume, Error]]] = ( - await create_file_volume.asyncio_detailed( - client=client, - output_unit=UnitVolume.CM3, - src_format=FileImportFormat.FBX, - body=bytes("some bytes", "utf-8"), - ) + response: Response[ + Optional[Union[FileVolume, Error]] + ] = await create_file_volume.asyncio_detailed( + client=client, + output_unit=UnitVolume.CM3, + src_format=FileImportFormat.FBX, + body=bytes("some bytes", "utf-8"), ) @@ -1659,19 +1659,19 @@ async def test_internal_get_api_token_for_discord_user_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[ApiToken, Error]] = ( - await internal_get_api_token_for_discord_user.asyncio( - client=client, - discord_id="", - ) + result: Optional[ + Union[ApiToken, Error] + ] = await internal_get_api_token_for_discord_user.asyncio( + client=client, + discord_id="", ) # OR run async with more info - response: Response[Optional[Union[ApiToken, Error]]] = ( - await internal_get_api_token_for_discord_user.asyncio_detailed( - client=client, - discord_id="", - ) + response: Response[ + Optional[Union[ApiToken, Error]] + ] = await internal_get_api_token_for_discord_user.asyncio_detailed( + client=client, + discord_id="", ) @@ -1759,16 +1759,16 @@ async def test_list_ml_prompts_async(): ) # OR run async with more info - response: Response[Optional[Union[MlPromptResultsPage, Error]]] = ( - await list_ml_prompts.asyncio_detailed( - client=client, - sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, - limit=None, # Optional[int] - page_token=None, # Optional[str] - ) - ) - - + response: Response[ + Optional[Union[MlPromptResultsPage, Error]] + ] = await list_ml_prompts.asyncio_detailed( + client=client, + sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, + limit=None, # Optional[int] + page_token=None, # Optional[str] + ) + + @pytest.mark.skip def test_get_ml_prompt(): # Create our client. @@ -1806,11 +1806,11 @@ async def test_get_ml_prompt_async(): ) # OR run async with more info - response: Response[Optional[Union[MlPrompt, Error]]] = ( - await get_ml_prompt.asyncio_detailed( - client=client, - id="", - ) + response: Response[ + Optional[Union[MlPrompt, Error]] + ] = await get_ml_prompt.asyncio_detailed( + client=client, + id="", ) @@ -1867,37 +1867,37 @@ async def test_create_kcl_code_completions_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[KclCodeCompletionResponse, Error]] = ( - await create_kcl_code_completions.asyncio( - client=client, - body=KclCodeCompletionRequest( - extra=KclCodeCompletionParams( - language="", - trim_by_indentation=False, - ), - prompt="", - stop=[""], - stream=False, - suffix="", + result: Optional[ + Union[KclCodeCompletionResponse, Error] + ] = await create_kcl_code_completions.asyncio( + client=client, + body=KclCodeCompletionRequest( + extra=KclCodeCompletionParams( + language="", + trim_by_indentation=False, ), - ) + prompt="", + stop=[""], + stream=False, + suffix="", + ), ) # OR run async with more info - response: Response[Optional[Union[KclCodeCompletionResponse, Error]]] = ( - await create_kcl_code_completions.asyncio_detailed( - client=client, - body=KclCodeCompletionRequest( - extra=KclCodeCompletionParams( - language="", - trim_by_indentation=False, - ), - prompt="", - stop=[""], - stream=False, - suffix="", + response: Response[ + Optional[Union[KclCodeCompletionResponse, Error]] + ] = await create_kcl_code_completions.asyncio_detailed( + client=client, + body=KclCodeCompletionRequest( + extra=KclCodeCompletionParams( + language="", + trim_by_indentation=False, ), - ) + prompt="", + stop=[""], + stream=False, + suffix="", + ), ) @@ -1970,53 +1970,53 @@ async def test_create_text_to_cad_iteration_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[TextToCadIteration, Error]] = ( - await create_text_to_cad_iteration.asyncio( - client=client, - body=TextToCadIterationBody( - original_source_code="", - source_ranges=[ - SourceRangePrompt( - prompt="", - range=SourceRange( - end=SourcePosition( - column=10, - line=10, - ), - start=SourcePosition( - column=10, - line=10, - ), + result: Optional[ + Union[TextToCadIteration, Error] + ] = await create_text_to_cad_iteration.asyncio( + client=client, + body=TextToCadIterationBody( + original_source_code="", + source_ranges=[ + SourceRangePrompt( + prompt="", + range=SourceRange( + end=SourcePosition( + column=10, + line=10, ), - ) - ], - ), - ) + start=SourcePosition( + column=10, + line=10, + ), + ), + ) + ], + ), ) # OR run async with more info - response: Response[Optional[Union[TextToCadIteration, Error]]] = ( - await create_text_to_cad_iteration.asyncio_detailed( - client=client, - body=TextToCadIterationBody( - original_source_code="", - source_ranges=[ - SourceRangePrompt( - prompt="", - range=SourceRange( - end=SourcePosition( - column=10, - line=10, - ), - start=SourcePosition( - column=10, - line=10, - ), + response: Response[ + Optional[Union[TextToCadIteration, Error]] + ] = await create_text_to_cad_iteration.asyncio_detailed( + client=client, + body=TextToCadIterationBody( + original_source_code="", + source_ranges=[ + SourceRangePrompt( + prompt="", + range=SourceRange( + end=SourcePosition( + column=10, + line=10, ), - ) - ], - ), - ) + start=SourcePosition( + column=10, + line=10, + ), + ), + ) + ], + ), ) @@ -2255,23 +2255,23 @@ async def test_org_list_api_calls_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[ApiCallWithPriceResultsPage, Error]] = ( - await org_list_api_calls.asyncio( - client=client, - sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, - limit=None, # Optional[int] - page_token=None, # Optional[str] - ) + result: Optional[ + Union[ApiCallWithPriceResultsPage, Error] + ] = await org_list_api_calls.asyncio( + client=client, + sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, + limit=None, # Optional[int] + page_token=None, # Optional[str] ) # OR run async with more info - response: Response[Optional[Union[ApiCallWithPriceResultsPage, Error]]] = ( - await org_list_api_calls.asyncio_detailed( - client=client, - sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, - limit=None, # Optional[int] - page_token=None, # Optional[str] - ) + response: Response[ + Optional[Union[ApiCallWithPriceResultsPage, Error]] + ] = await org_list_api_calls.asyncio_detailed( + client=client, + sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, + limit=None, # Optional[int] + page_token=None, # Optional[str] ) @@ -2308,19 +2308,19 @@ async def test_get_api_call_for_org_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[ApiCallWithPrice, Error]] = ( - await get_api_call_for_org.asyncio( - client=client, - id="", - ) + result: Optional[ + Union[ApiCallWithPrice, Error] + ] = await get_api_call_for_org.asyncio( + client=client, + id="", ) # OR run async with more info - response: Response[Optional[Union[ApiCallWithPrice, Error]]] = ( - await get_api_call_for_org.asyncio_detailed( - client=client, - id="", - ) + response: Response[ + Optional[Union[ApiCallWithPrice, Error]] + ] = await get_api_call_for_org.asyncio_detailed( + client=client, + id="", ) @@ -2363,25 +2363,25 @@ async def test_list_org_members_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[OrgMemberResultsPage, Error]] = ( - await list_org_members.asyncio( - client=client, - sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, - role=UserOrgRole.ADMIN, - limit=None, # Optional[int] - page_token=None, # Optional[str] - ) + result: Optional[ + Union[OrgMemberResultsPage, Error] + ] = await list_org_members.asyncio( + client=client, + sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, + role=UserOrgRole.ADMIN, + limit=None, # Optional[int] + page_token=None, # Optional[str] ) # OR run async with more info - response: Response[Optional[Union[OrgMemberResultsPage, Error]]] = ( - await list_org_members.asyncio_detailed( - client=client, - sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, - role=UserOrgRole.ADMIN, - limit=None, # Optional[int] - page_token=None, # Optional[str] - ) + response: Response[ + Optional[Union[OrgMemberResultsPage, Error]] + ] = await list_org_members.asyncio_detailed( + client=client, + sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, + role=UserOrgRole.ADMIN, + limit=None, # Optional[int] + page_token=None, # Optional[str] ) @@ -2433,14 +2433,14 @@ async def test_create_org_member_async(): ) # OR run async with more info - response: Response[Optional[Union[OrgMember, Error]]] = ( - await create_org_member.asyncio_detailed( - client=client, - body=AddOrgMember( - email="", - role=UserOrgRole.ADMIN, - ), - ) + response: Response[ + Optional[Union[OrgMember, Error]] + ] = await create_org_member.asyncio_detailed( + client=client, + body=AddOrgMember( + email="", + role=UserOrgRole.ADMIN, + ), ) @@ -2483,11 +2483,11 @@ async def test_get_org_member_async(): ) # OR run async with more info - response: Response[Optional[Union[OrgMember, Error]]] = ( - await get_org_member.asyncio_detailed( - client=client, - user_id=Uuid(""), - ) + response: Response[ + Optional[Union[OrgMember, Error]] + ] = await get_org_member.asyncio_detailed( + client=client, + user_id=Uuid(""), ) @@ -2539,14 +2539,14 @@ async def test_update_org_member_async(): ) # OR run async with more info - response: Response[Optional[Union[OrgMember, Error]]] = ( - await update_org_member.asyncio_detailed( - client=client, - user_id=Uuid(""), - body=UpdateMemberToOrgBody( - role=UserOrgRole.ADMIN, - ), - ) + response: Response[ + Optional[Union[OrgMember, Error]] + ] = await update_org_member.asyncio_detailed( + client=client, + user_id=Uuid(""), + body=UpdateMemberToOrgBody( + role=UserOrgRole.ADMIN, + ), ) @@ -2624,17 +2624,17 @@ async def test_get_payment_information_for_org_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[Customer, Error]] = ( - await get_payment_information_for_org.asyncio( - client=client, - ) + result: Optional[ + Union[Customer, Error] + ] = await get_payment_information_for_org.asyncio( + client=client, ) # OR run async with more info - response: Response[Optional[Union[Customer, Error]]] = ( - await get_payment_information_for_org.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Union[Customer, Error]] + ] = await get_payment_information_for_org.asyncio_detailed( + client=client, ) @@ -2677,25 +2677,25 @@ async def test_update_payment_information_for_org_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[Customer, Error]] = ( - await update_payment_information_for_org.asyncio( - client=client, - body=BillingInfo( - name="", - phone="", - ), - ) + result: Optional[ + Union[Customer, Error] + ] = await update_payment_information_for_org.asyncio( + client=client, + body=BillingInfo( + name="", + phone="", + ), ) # OR run async with more info - response: Response[Optional[Union[Customer, Error]]] = ( - await update_payment_information_for_org.asyncio_detailed( - client=client, - body=BillingInfo( - name="", - phone="", - ), - ) + response: Response[ + Optional[Union[Customer, Error]] + ] = await update_payment_information_for_org.asyncio_detailed( + client=client, + body=BillingInfo( + name="", + phone="", + ), ) @@ -2738,25 +2738,25 @@ async def test_create_payment_information_for_org_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[Customer, Error]] = ( - await create_payment_information_for_org.asyncio( - client=client, - body=BillingInfo( - name="", - phone="", - ), - ) + result: Optional[ + Union[Customer, Error] + ] = await create_payment_information_for_org.asyncio( + client=client, + body=BillingInfo( + name="", + phone="", + ), ) # OR run async with more info - response: Response[Optional[Union[Customer, Error]]] = ( - await create_payment_information_for_org.asyncio_detailed( - client=client, - body=BillingInfo( - name="", - phone="", - ), - ) + response: Response[ + Optional[Union[Customer, Error]] + ] = await create_payment_information_for_org.asyncio_detailed( + client=client, + body=BillingInfo( + name="", + phone="", + ), ) @@ -2796,10 +2796,10 @@ async def test_delete_payment_information_for_org_async(): ) # OR run async with more info - response: Response[Optional[Error]] = ( - await delete_payment_information_for_org.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Error] + ] = await delete_payment_information_for_org.asyncio_detailed( + client=client, ) @@ -2834,17 +2834,17 @@ async def test_get_payment_balance_for_org_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[CustomerBalance, Error]] = ( - await get_payment_balance_for_org.asyncio( - client=client, - ) + result: Optional[ + Union[CustomerBalance, Error] + ] = await get_payment_balance_for_org.asyncio( + client=client, ) # OR run async with more info - response: Response[Optional[Union[CustomerBalance, Error]]] = ( - await get_payment_balance_for_org.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Union[CustomerBalance, Error]] + ] = await get_payment_balance_for_org.asyncio_detailed( + client=client, ) @@ -2879,17 +2879,17 @@ async def test_create_payment_intent_for_org_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[PaymentIntent, Error]] = ( - await create_payment_intent_for_org.asyncio( - client=client, - ) + result: Optional[ + Union[PaymentIntent, Error] + ] = await create_payment_intent_for_org.asyncio( + client=client, ) # OR run async with more info - response: Response[Optional[Union[PaymentIntent, Error]]] = ( - await create_payment_intent_for_org.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Union[PaymentIntent, Error]] + ] = await create_payment_intent_for_org.asyncio_detailed( + client=client, ) @@ -2929,10 +2929,10 @@ async def test_list_invoices_for_org_async(): ) # OR run async with more info - response: Response[Optional[Union[List[Invoice], Error]]] = ( - await list_invoices_for_org.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Union[List[Invoice], Error]] + ] = await list_invoices_for_org.asyncio_detailed( + client=client, ) @@ -2969,17 +2969,17 @@ async def test_list_payment_methods_for_org_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[List[PaymentMethod], Error]] = ( - await list_payment_methods_for_org.asyncio( - client=client, - ) + result: Optional[ + Union[List[PaymentMethod], Error] + ] = await list_payment_methods_for_org.asyncio( + client=client, ) # OR run async with more info - response: Response[Optional[Union[List[PaymentMethod], Error]]] = ( - await list_payment_methods_for_org.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Union[List[PaymentMethod], Error]] + ] = await list_payment_methods_for_org.asyncio_detailed( + client=client, ) @@ -3020,11 +3020,11 @@ async def test_delete_payment_method_for_org_async(): ) # OR run async with more info - response: Response[Optional[Error]] = ( - await delete_payment_method_for_org.asyncio_detailed( - client=client, - id="", - ) + response: Response[ + Optional[Error] + ] = await delete_payment_method_for_org.asyncio_detailed( + client=client, + id="", ) @@ -3059,17 +3059,17 @@ async def test_get_org_subscription_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[ZooProductSubscriptions, Error]] = ( - await get_org_subscription.asyncio( - client=client, - ) + result: Optional[ + Union[ZooProductSubscriptions, Error] + ] = await get_org_subscription.asyncio( + client=client, ) # OR run async with more info - response: Response[Optional[Union[ZooProductSubscriptions, Error]]] = ( - await get_org_subscription.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Union[ZooProductSubscriptions, Error]] + ] = await get_org_subscription.asyncio_detailed( + client=client, ) @@ -3112,23 +3112,23 @@ async def test_update_org_subscription_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[ZooProductSubscriptions, Error]] = ( - await update_org_subscription.asyncio( - client=client, - body=ZooProductSubscriptionsOrgRequest( - modeling_app=ModelingAppOrganizationSubscriptionTier.TEAM, - ), - ) + result: Optional[ + Union[ZooProductSubscriptions, Error] + ] = await update_org_subscription.asyncio( + client=client, + body=ZooProductSubscriptionsOrgRequest( + modeling_app=ModelingAppOrganizationSubscriptionTier.TEAM, + ), ) # OR run async with more info - response: Response[Optional[Union[ZooProductSubscriptions, Error]]] = ( - await update_org_subscription.asyncio_detailed( - client=client, - body=ZooProductSubscriptionsOrgRequest( - modeling_app=ModelingAppOrganizationSubscriptionTier.TEAM, - ), - ) + response: Response[ + Optional[Union[ZooProductSubscriptions, Error]] + ] = await update_org_subscription.asyncio_detailed( + client=client, + body=ZooProductSubscriptionsOrgRequest( + modeling_app=ModelingAppOrganizationSubscriptionTier.TEAM, + ), ) @@ -3171,23 +3171,23 @@ async def test_create_org_subscription_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[ZooProductSubscriptions, Error]] = ( - await create_org_subscription.asyncio( - client=client, - body=ZooProductSubscriptionsOrgRequest( - modeling_app=ModelingAppOrganizationSubscriptionTier.TEAM, - ), - ) + result: Optional[ + Union[ZooProductSubscriptions, Error] + ] = await create_org_subscription.asyncio( + client=client, + body=ZooProductSubscriptionsOrgRequest( + modeling_app=ModelingAppOrganizationSubscriptionTier.TEAM, + ), ) # OR run async with more info - response: Response[Optional[Union[ZooProductSubscriptions, Error]]] = ( - await create_org_subscription.asyncio_detailed( - client=client, - body=ZooProductSubscriptionsOrgRequest( - modeling_app=ModelingAppOrganizationSubscriptionTier.TEAM, - ), - ) + response: Response[ + Optional[Union[ZooProductSubscriptions, Error]] + ] = await create_org_subscription.asyncio_detailed( + client=client, + body=ZooProductSubscriptionsOrgRequest( + modeling_app=ModelingAppOrganizationSubscriptionTier.TEAM, + ), ) @@ -3227,10 +3227,10 @@ async def test_validate_customer_tax_information_for_org_async(): ) # OR run async with more info - response: Response[Optional[Error]] = ( - await validate_customer_tax_information_for_org.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Error] + ] = await validate_customer_tax_information_for_org.asyncio_detailed( + client=client, ) @@ -3265,17 +3265,17 @@ async def test_get_org_privacy_settings_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[PrivacySettings, Error]] = ( - await get_org_privacy_settings.asyncio( - client=client, - ) + result: Optional[ + Union[PrivacySettings, Error] + ] = await get_org_privacy_settings.asyncio( + client=client, ) # OR run async with more info - response: Response[Optional[Union[PrivacySettings, Error]]] = ( - await get_org_privacy_settings.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Union[PrivacySettings, Error]] + ] = await get_org_privacy_settings.asyncio_detailed( + client=client, ) @@ -3316,23 +3316,23 @@ async def test_update_org_privacy_settings_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[PrivacySettings, Error]] = ( - await update_org_privacy_settings.asyncio( - client=client, - body=PrivacySettings( - can_train_on_data=False, - ), - ) + result: Optional[ + Union[PrivacySettings, Error] + ] = await update_org_privacy_settings.asyncio( + client=client, + body=PrivacySettings( + can_train_on_data=False, + ), ) # OR run async with more info - response: Response[Optional[Union[PrivacySettings, Error]]] = ( - await update_org_privacy_settings.asyncio_detailed( - client=client, - body=PrivacySettings( - can_train_on_data=False, - ), - ) + response: Response[ + Optional[Union[PrivacySettings, Error]] + ] = await update_org_privacy_settings.asyncio_detailed( + client=client, + body=PrivacySettings( + can_train_on_data=False, + ), ) @@ -3367,17 +3367,17 @@ async def test_get_org_saml_idp_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[SamlIdentityProvider, Error]] = ( - await get_org_saml_idp.asyncio( - client=client, - ) + result: Optional[ + Union[SamlIdentityProvider, Error] + ] = await get_org_saml_idp.asyncio( + client=client, ) # OR run async with more info - response: Response[Optional[Union[SamlIdentityProvider, Error]]] = ( - await get_org_saml_idp.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Union[SamlIdentityProvider, Error]] + ] = await get_org_saml_idp.asyncio_detailed( + client=client, ) @@ -3426,31 +3426,31 @@ async def test_update_org_saml_idp_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[SamlIdentityProvider, Error]] = ( - await update_org_saml_idp.asyncio( - client=client, - body=SamlIdentityProviderCreate( - idp_entity_id="", - idp_metadata_source=base64_encoded_xml( - data="", - ), - technical_contact_email="", + result: Optional[ + Union[SamlIdentityProvider, Error] + ] = await update_org_saml_idp.asyncio( + client=client, + body=SamlIdentityProviderCreate( + idp_entity_id="", + idp_metadata_source=base64_encoded_xml( + data="", ), - ) + technical_contact_email="", + ), ) # OR run async with more info - response: Response[Optional[Union[SamlIdentityProvider, Error]]] = ( - await update_org_saml_idp.asyncio_detailed( - client=client, - body=SamlIdentityProviderCreate( - idp_entity_id="", - idp_metadata_source=base64_encoded_xml( - data="", - ), - technical_contact_email="", + response: Response[ + Optional[Union[SamlIdentityProvider, Error]] + ] = await update_org_saml_idp.asyncio_detailed( + client=client, + body=SamlIdentityProviderCreate( + idp_entity_id="", + idp_metadata_source=base64_encoded_xml( + data="", ), - ) + technical_contact_email="", + ), ) @@ -3499,31 +3499,31 @@ async def test_create_org_saml_idp_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[SamlIdentityProvider, Error]] = ( - await create_org_saml_idp.asyncio( - client=client, - body=SamlIdentityProviderCreate( - idp_entity_id="", - idp_metadata_source=base64_encoded_xml( - data="", - ), - technical_contact_email="", + result: Optional[ + Union[SamlIdentityProvider, Error] + ] = await create_org_saml_idp.asyncio( + client=client, + body=SamlIdentityProviderCreate( + idp_entity_id="", + idp_metadata_source=base64_encoded_xml( + data="", ), - ) + technical_contact_email="", + ), ) # OR run async with more info - response: Response[Optional[Union[SamlIdentityProvider, Error]]] = ( - await create_org_saml_idp.asyncio_detailed( - client=client, - body=SamlIdentityProviderCreate( - idp_entity_id="", - idp_metadata_source=base64_encoded_xml( - data="", - ), - technical_contact_email="", + response: Response[ + Optional[Union[SamlIdentityProvider, Error]] + ] = await create_org_saml_idp.asyncio_detailed( + client=client, + body=SamlIdentityProviderCreate( + idp_entity_id="", + idp_metadata_source=base64_encoded_xml( + data="", ), - ) + technical_contact_email="", + ), ) @@ -3605,23 +3605,23 @@ async def test_list_service_accounts_for_org_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[ServiceAccountResultsPage, Error]] = ( - await list_service_accounts_for_org.asyncio( - client=client, - sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, - limit=None, # Optional[int] - page_token=None, # Optional[str] - ) + result: Optional[ + Union[ServiceAccountResultsPage, Error] + ] = await list_service_accounts_for_org.asyncio( + client=client, + sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, + limit=None, # Optional[int] + page_token=None, # Optional[str] ) # OR run async with more info - response: Response[Optional[Union[ServiceAccountResultsPage, Error]]] = ( - await list_service_accounts_for_org.asyncio_detailed( - client=client, - sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, - limit=None, # Optional[int] - page_token=None, # Optional[str] - ) + response: Response[ + Optional[Union[ServiceAccountResultsPage, Error]] + ] = await list_service_accounts_for_org.asyncio_detailed( + client=client, + sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, + limit=None, # Optional[int] + page_token=None, # Optional[str] ) @@ -3660,19 +3660,19 @@ async def test_create_service_account_for_org_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[ServiceAccount, Error]] = ( - await create_service_account_for_org.asyncio( - client=client, - label=None, # Optional[str] - ) + result: Optional[ + Union[ServiceAccount, Error] + ] = await create_service_account_for_org.asyncio( + client=client, + label=None, # Optional[str] ) # OR run async with more info - response: Response[Optional[Union[ServiceAccount, Error]]] = ( - await create_service_account_for_org.asyncio_detailed( - client=client, - label=None, # Optional[str] - ) + response: Response[ + Optional[Union[ServiceAccount, Error]] + ] = await create_service_account_for_org.asyncio_detailed( + client=client, + label=None, # Optional[str] ) @@ -3709,19 +3709,19 @@ async def test_get_service_account_for_org_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[ServiceAccount, Error]] = ( - await get_service_account_for_org.asyncio( - client=client, - token=ServiceAccountTokenUuid(""), - ) + result: Optional[ + Union[ServiceAccount, Error] + ] = await get_service_account_for_org.asyncio( + client=client, + token=ServiceAccountTokenUuid(""), ) # OR run async with more info - response: Response[Optional[Union[ServiceAccount, Error]]] = ( - await get_service_account_for_org.asyncio_detailed( - client=client, - token=ServiceAccountTokenUuid(""), - ) + response: Response[ + Optional[Union[ServiceAccount, Error]] + ] = await get_service_account_for_org.asyncio_detailed( + client=client, + token=ServiceAccountTokenUuid(""), ) @@ -3762,11 +3762,11 @@ async def test_delete_service_account_for_org_async(): ) # OR run async with more info - response: Response[Optional[Error]] = ( - await delete_service_account_for_org.asyncio_detailed( - client=client, - token=ServiceAccountTokenUuid(""), - ) + response: Response[ + Optional[Error] + ] = await delete_service_account_for_org.asyncio_detailed( + client=client, + token=ServiceAccountTokenUuid(""), ) @@ -3815,13 +3815,13 @@ async def test_list_orgs_async(): ) # OR run async with more info - response: Response[Optional[Union[OrgResultsPage, Error]]] = ( - await list_orgs.asyncio_detailed( - client=client, - sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, - limit=None, # Optional[int] - page_token=None, # Optional[str] - ) + response: Response[ + Optional[Union[OrgResultsPage, Error]] + ] = await list_orgs.asyncio_detailed( + client=client, + sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, + limit=None, # Optional[int] + page_token=None, # Optional[str] ) @@ -3862,11 +3862,11 @@ async def test_get_any_org_async(): ) # OR run async with more info - response: Response[Optional[Union[Org, Error]]] = ( - await get_any_org.asyncio_detailed( - client=client, - id=Uuid(""), - ) + response: Response[ + Optional[Union[Org, Error]] + ] = await get_any_org.asyncio_detailed( + client=client, + id=Uuid(""), ) @@ -3913,27 +3913,27 @@ async def test_update_enterprise_pricing_for_org_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[ZooProductSubscriptions, Error]] = ( - await update_enterprise_pricing_for_org.asyncio( - client=client, - id=Uuid(""), - body=per_user( - interval=PlanInterval.DAY, - price=3.14, - ), - ) + result: Optional[ + Union[ZooProductSubscriptions, Error] + ] = await update_enterprise_pricing_for_org.asyncio( + client=client, + id=Uuid(""), + body=per_user( + interval=PlanInterval.DAY, + price=3.14, + ), ) # OR run async with more info - response: Response[Optional[Union[ZooProductSubscriptions, Error]]] = ( - await update_enterprise_pricing_for_org.asyncio_detailed( - client=client, - id=Uuid(""), - body=per_user( - interval=PlanInterval.DAY, - price=3.14, - ), - ) + response: Response[ + Optional[Union[ZooProductSubscriptions, Error]] + ] = await update_enterprise_pricing_for_org.asyncio_detailed( + client=client, + id=Uuid(""), + body=per_user( + interval=PlanInterval.DAY, + price=3.14, + ), ) @@ -3972,19 +3972,19 @@ async def test_get_payment_balance_for_any_org_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[CustomerBalance, Error]] = ( - await get_payment_balance_for_any_org.asyncio( - client=client, - id=Uuid(""), - ) + result: Optional[ + Union[CustomerBalance, Error] + ] = await get_payment_balance_for_any_org.asyncio( + client=client, + id=Uuid(""), ) # OR run async with more info - response: Response[Optional[Union[CustomerBalance, Error]]] = ( - await get_payment_balance_for_any_org.asyncio_detailed( - client=client, - id=Uuid(""), - ) + response: Response[ + Optional[Union[CustomerBalance, Error]] + ] = await get_payment_balance_for_any_org.asyncio_detailed( + client=client, + id=Uuid(""), ) @@ -4025,21 +4025,21 @@ async def test_update_payment_balance_for_any_org_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[CustomerBalance, Error]] = ( - await update_payment_balance_for_any_org.asyncio( - client=client, - id=Uuid(""), - body=UpdatePaymentBalance(), - ) + result: Optional[ + Union[CustomerBalance, Error] + ] = await update_payment_balance_for_any_org.asyncio( + client=client, + id=Uuid(""), + body=UpdatePaymentBalance(), ) # OR run async with more info - response: Response[Optional[Union[CustomerBalance, Error]]] = ( - await update_payment_balance_for_any_org.asyncio_detailed( - client=client, - id=Uuid(""), - body=UpdatePaymentBalance(), - ) + response: Response[ + Optional[Union[CustomerBalance, Error]] + ] = await update_payment_balance_for_any_org.asyncio_detailed( + client=client, + id=Uuid(""), + body=UpdatePaymentBalance(), ) @@ -4159,13 +4159,13 @@ async def test_create_store_coupon_async(): ) # OR run async with more info - response: Response[Optional[Union[DiscountCode, Error]]] = ( - await create_store_coupon.asyncio_detailed( - client=client, - body=StoreCouponParams( - percent_off=10, - ), - ) + response: Response[ + Optional[Union[DiscountCode, Error]] + ] = await create_store_coupon.asyncio_detailed( + client=client, + body=StoreCouponParams( + percent_off=10, + ), ) @@ -4208,23 +4208,23 @@ async def test_get_angle_unit_conversion_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[UnitAngleConversion, Error]] = ( - await get_angle_unit_conversion.asyncio( - client=client, - input_unit=UnitAngle.DEGREES, - output_unit=UnitAngle.DEGREES, - value=3.14, - ) + result: Optional[ + Union[UnitAngleConversion, Error] + ] = await get_angle_unit_conversion.asyncio( + client=client, + input_unit=UnitAngle.DEGREES, + output_unit=UnitAngle.DEGREES, + value=3.14, ) # OR run async with more info - response: Response[Optional[Union[UnitAngleConversion, Error]]] = ( - await get_angle_unit_conversion.asyncio_detailed( - client=client, - input_unit=UnitAngle.DEGREES, - output_unit=UnitAngle.DEGREES, - value=3.14, - ) + response: Response[ + Optional[Union[UnitAngleConversion, Error]] + ] = await get_angle_unit_conversion.asyncio_detailed( + client=client, + input_unit=UnitAngle.DEGREES, + output_unit=UnitAngle.DEGREES, + value=3.14, ) @@ -4265,23 +4265,23 @@ async def test_get_area_unit_conversion_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[UnitAreaConversion, Error]] = ( - await get_area_unit_conversion.asyncio( - client=client, - input_unit=UnitArea.CM2, - output_unit=UnitArea.CM2, - value=3.14, - ) + result: Optional[ + Union[UnitAreaConversion, Error] + ] = await get_area_unit_conversion.asyncio( + client=client, + input_unit=UnitArea.CM2, + output_unit=UnitArea.CM2, + value=3.14, ) # OR run async with more info - response: Response[Optional[Union[UnitAreaConversion, Error]]] = ( - await get_area_unit_conversion.asyncio_detailed( - client=client, - input_unit=UnitArea.CM2, - output_unit=UnitArea.CM2, - value=3.14, - ) + response: Response[ + Optional[Union[UnitAreaConversion, Error]] + ] = await get_area_unit_conversion.asyncio_detailed( + client=client, + input_unit=UnitArea.CM2, + output_unit=UnitArea.CM2, + value=3.14, ) @@ -4324,23 +4324,23 @@ async def test_get_current_unit_conversion_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[UnitCurrentConversion, Error]] = ( - await get_current_unit_conversion.asyncio( - client=client, - input_unit=UnitCurrent.AMPERES, - output_unit=UnitCurrent.AMPERES, - value=3.14, - ) + result: Optional[ + Union[UnitCurrentConversion, Error] + ] = await get_current_unit_conversion.asyncio( + client=client, + input_unit=UnitCurrent.AMPERES, + output_unit=UnitCurrent.AMPERES, + value=3.14, ) # OR run async with more info - response: Response[Optional[Union[UnitCurrentConversion, Error]]] = ( - await get_current_unit_conversion.asyncio_detailed( - client=client, - input_unit=UnitCurrent.AMPERES, - output_unit=UnitCurrent.AMPERES, - value=3.14, - ) + response: Response[ + Optional[Union[UnitCurrentConversion, Error]] + ] = await get_current_unit_conversion.asyncio_detailed( + client=client, + input_unit=UnitCurrent.AMPERES, + output_unit=UnitCurrent.AMPERES, + value=3.14, ) @@ -4383,23 +4383,23 @@ async def test_get_energy_unit_conversion_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[UnitEnergyConversion, Error]] = ( - await get_energy_unit_conversion.asyncio( - client=client, - input_unit=UnitEnergy.BTU, - output_unit=UnitEnergy.BTU, - value=3.14, - ) + result: Optional[ + Union[UnitEnergyConversion, Error] + ] = await get_energy_unit_conversion.asyncio( + client=client, + input_unit=UnitEnergy.BTU, + output_unit=UnitEnergy.BTU, + value=3.14, ) # OR run async with more info - response: Response[Optional[Union[UnitEnergyConversion, Error]]] = ( - await get_energy_unit_conversion.asyncio_detailed( - client=client, - input_unit=UnitEnergy.BTU, - output_unit=UnitEnergy.BTU, - value=3.14, - ) + response: Response[ + Optional[Union[UnitEnergyConversion, Error]] + ] = await get_energy_unit_conversion.asyncio_detailed( + client=client, + input_unit=UnitEnergy.BTU, + output_unit=UnitEnergy.BTU, + value=3.14, ) @@ -4442,23 +4442,23 @@ async def test_get_force_unit_conversion_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[UnitForceConversion, Error]] = ( - await get_force_unit_conversion.asyncio( - client=client, - input_unit=UnitForce.DYNES, - output_unit=UnitForce.DYNES, - value=3.14, - ) + result: Optional[ + Union[UnitForceConversion, Error] + ] = await get_force_unit_conversion.asyncio( + client=client, + input_unit=UnitForce.DYNES, + output_unit=UnitForce.DYNES, + value=3.14, ) # OR run async with more info - response: Response[Optional[Union[UnitForceConversion, Error]]] = ( - await get_force_unit_conversion.asyncio_detailed( - client=client, - input_unit=UnitForce.DYNES, - output_unit=UnitForce.DYNES, - value=3.14, - ) + response: Response[ + Optional[Union[UnitForceConversion, Error]] + ] = await get_force_unit_conversion.asyncio_detailed( + client=client, + input_unit=UnitForce.DYNES, + output_unit=UnitForce.DYNES, + value=3.14, ) @@ -4501,23 +4501,23 @@ async def test_get_frequency_unit_conversion_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[UnitFrequencyConversion, Error]] = ( - await get_frequency_unit_conversion.asyncio( - client=client, - input_unit=UnitFrequency.GIGAHERTZ, - output_unit=UnitFrequency.GIGAHERTZ, - value=3.14, - ) + result: Optional[ + Union[UnitFrequencyConversion, Error] + ] = await get_frequency_unit_conversion.asyncio( + client=client, + input_unit=UnitFrequency.GIGAHERTZ, + output_unit=UnitFrequency.GIGAHERTZ, + value=3.14, ) # OR run async with more info - response: Response[Optional[Union[UnitFrequencyConversion, Error]]] = ( - await get_frequency_unit_conversion.asyncio_detailed( - client=client, - input_unit=UnitFrequency.GIGAHERTZ, - output_unit=UnitFrequency.GIGAHERTZ, - value=3.14, - ) + response: Response[ + Optional[Union[UnitFrequencyConversion, Error]] + ] = await get_frequency_unit_conversion.asyncio_detailed( + client=client, + input_unit=UnitFrequency.GIGAHERTZ, + output_unit=UnitFrequency.GIGAHERTZ, + value=3.14, ) @@ -4560,23 +4560,23 @@ async def test_get_length_unit_conversion_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[UnitLengthConversion, Error]] = ( - await get_length_unit_conversion.asyncio( - client=client, - input_unit=UnitLength.CM, - output_unit=UnitLength.CM, - value=3.14, - ) + result: Optional[ + Union[UnitLengthConversion, Error] + ] = await get_length_unit_conversion.asyncio( + client=client, + input_unit=UnitLength.CM, + output_unit=UnitLength.CM, + value=3.14, ) # OR run async with more info - response: Response[Optional[Union[UnitLengthConversion, Error]]] = ( - await get_length_unit_conversion.asyncio_detailed( - client=client, - input_unit=UnitLength.CM, - output_unit=UnitLength.CM, - value=3.14, - ) + response: Response[ + Optional[Union[UnitLengthConversion, Error]] + ] = await get_length_unit_conversion.asyncio_detailed( + client=client, + input_unit=UnitLength.CM, + output_unit=UnitLength.CM, + value=3.14, ) @@ -4617,23 +4617,23 @@ async def test_get_mass_unit_conversion_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[UnitMassConversion, Error]] = ( - await get_mass_unit_conversion.asyncio( - client=client, - input_unit=UnitMass.G, - output_unit=UnitMass.G, - value=3.14, - ) + result: Optional[ + Union[UnitMassConversion, Error] + ] = await get_mass_unit_conversion.asyncio( + client=client, + input_unit=UnitMass.G, + output_unit=UnitMass.G, + value=3.14, ) # OR run async with more info - response: Response[Optional[Union[UnitMassConversion, Error]]] = ( - await get_mass_unit_conversion.asyncio_detailed( - client=client, - input_unit=UnitMass.G, - output_unit=UnitMass.G, - value=3.14, - ) + response: Response[ + Optional[Union[UnitMassConversion, Error]] + ] = await get_mass_unit_conversion.asyncio_detailed( + client=client, + input_unit=UnitMass.G, + output_unit=UnitMass.G, + value=3.14, ) @@ -4676,23 +4676,23 @@ async def test_get_power_unit_conversion_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[UnitPowerConversion, Error]] = ( - await get_power_unit_conversion.asyncio( - client=client, - input_unit=UnitPower.BTU_PER_MINUTE, - output_unit=UnitPower.BTU_PER_MINUTE, - value=3.14, - ) + result: Optional[ + Union[UnitPowerConversion, Error] + ] = await get_power_unit_conversion.asyncio( + client=client, + input_unit=UnitPower.BTU_PER_MINUTE, + output_unit=UnitPower.BTU_PER_MINUTE, + value=3.14, ) # OR run async with more info - response: Response[Optional[Union[UnitPowerConversion, Error]]] = ( - await get_power_unit_conversion.asyncio_detailed( - client=client, - input_unit=UnitPower.BTU_PER_MINUTE, - output_unit=UnitPower.BTU_PER_MINUTE, - value=3.14, - ) + response: Response[ + Optional[Union[UnitPowerConversion, Error]] + ] = await get_power_unit_conversion.asyncio_detailed( + client=client, + input_unit=UnitPower.BTU_PER_MINUTE, + output_unit=UnitPower.BTU_PER_MINUTE, + value=3.14, ) @@ -4735,23 +4735,23 @@ async def test_get_pressure_unit_conversion_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[UnitPressureConversion, Error]] = ( - await get_pressure_unit_conversion.asyncio( - client=client, - input_unit=UnitPressure.ATMOSPHERES, - output_unit=UnitPressure.ATMOSPHERES, - value=3.14, - ) + result: Optional[ + Union[UnitPressureConversion, Error] + ] = await get_pressure_unit_conversion.asyncio( + client=client, + input_unit=UnitPressure.ATMOSPHERES, + output_unit=UnitPressure.ATMOSPHERES, + value=3.14, ) # OR run async with more info - response: Response[Optional[Union[UnitPressureConversion, Error]]] = ( - await get_pressure_unit_conversion.asyncio_detailed( - client=client, - input_unit=UnitPressure.ATMOSPHERES, - output_unit=UnitPressure.ATMOSPHERES, - value=3.14, - ) + response: Response[ + Optional[Union[UnitPressureConversion, Error]] + ] = await get_pressure_unit_conversion.asyncio_detailed( + client=client, + input_unit=UnitPressure.ATMOSPHERES, + output_unit=UnitPressure.ATMOSPHERES, + value=3.14, ) @@ -4794,23 +4794,23 @@ async def test_get_temperature_unit_conversion_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[UnitTemperatureConversion, Error]] = ( - await get_temperature_unit_conversion.asyncio( - client=client, - input_unit=UnitTemperature.CELSIUS, - output_unit=UnitTemperature.CELSIUS, - value=3.14, - ) + result: Optional[ + Union[UnitTemperatureConversion, Error] + ] = await get_temperature_unit_conversion.asyncio( + client=client, + input_unit=UnitTemperature.CELSIUS, + output_unit=UnitTemperature.CELSIUS, + value=3.14, ) # OR run async with more info - response: Response[Optional[Union[UnitTemperatureConversion, Error]]] = ( - await get_temperature_unit_conversion.asyncio_detailed( - client=client, - input_unit=UnitTemperature.CELSIUS, - output_unit=UnitTemperature.CELSIUS, - value=3.14, - ) + response: Response[ + Optional[Union[UnitTemperatureConversion, Error]] + ] = await get_temperature_unit_conversion.asyncio_detailed( + client=client, + input_unit=UnitTemperature.CELSIUS, + output_unit=UnitTemperature.CELSIUS, + value=3.14, ) @@ -4853,23 +4853,23 @@ async def test_get_torque_unit_conversion_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[UnitTorqueConversion, Error]] = ( - await get_torque_unit_conversion.asyncio( - client=client, - input_unit=UnitTorque.NEWTON_METRES, - output_unit=UnitTorque.NEWTON_METRES, - value=3.14, - ) + result: Optional[ + Union[UnitTorqueConversion, Error] + ] = await get_torque_unit_conversion.asyncio( + client=client, + input_unit=UnitTorque.NEWTON_METRES, + output_unit=UnitTorque.NEWTON_METRES, + value=3.14, ) # OR run async with more info - response: Response[Optional[Union[UnitTorqueConversion, Error]]] = ( - await get_torque_unit_conversion.asyncio_detailed( - client=client, - input_unit=UnitTorque.NEWTON_METRES, - output_unit=UnitTorque.NEWTON_METRES, - value=3.14, - ) + response: Response[ + Optional[Union[UnitTorqueConversion, Error]] + ] = await get_torque_unit_conversion.asyncio_detailed( + client=client, + input_unit=UnitTorque.NEWTON_METRES, + output_unit=UnitTorque.NEWTON_METRES, + value=3.14, ) @@ -4912,23 +4912,23 @@ async def test_get_volume_unit_conversion_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[UnitVolumeConversion, Error]] = ( - await get_volume_unit_conversion.asyncio( - client=client, - input_unit=UnitVolume.CM3, - output_unit=UnitVolume.CM3, - value=3.14, - ) + result: Optional[ + Union[UnitVolumeConversion, Error] + ] = await get_volume_unit_conversion.asyncio( + client=client, + input_unit=UnitVolume.CM3, + output_unit=UnitVolume.CM3, + value=3.14, ) # OR run async with more info - response: Response[Optional[Union[UnitVolumeConversion, Error]]] = ( - await get_volume_unit_conversion.asyncio_detailed( - client=client, - input_unit=UnitVolume.CM3, - output_unit=UnitVolume.CM3, - value=3.14, - ) + response: Response[ + Optional[Union[UnitVolumeConversion, Error]] + ] = await get_volume_unit_conversion.asyncio_detailed( + client=client, + input_unit=UnitVolume.CM3, + output_unit=UnitVolume.CM3, + value=3.14, ) @@ -4966,10 +4966,10 @@ async def test_get_user_self_async(): ) # OR run async with more info - response: Response[Optional[Union[User, Error]]] = ( - await get_user_self.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Union[User, Error]] + ] = await get_user_self.asyncio_detailed( + client=client, ) @@ -5034,19 +5034,19 @@ async def test_update_user_self_async(): ) # OR run async with more info - response: Response[Optional[Union[User, Error]]] = ( - await update_user_self.asyncio_detailed( - client=client, - body=UpdateUser( - company="", - discord="", - first_name="", - github="", - image="", - last_name="", - phone="", - ), - ) + response: Response[ + Optional[Union[User, Error]] + ] = await update_user_self.asyncio_detailed( + client=client, + body=UpdateUser( + company="", + discord="", + first_name="", + github="", + image="", + last_name="", + phone="", + ), ) @@ -5128,23 +5128,23 @@ async def test_user_list_api_calls_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[ApiCallWithPriceResultsPage, Error]] = ( - await user_list_api_calls.asyncio( - client=client, - sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, - limit=None, # Optional[int] - page_token=None, # Optional[str] - ) + result: Optional[ + Union[ApiCallWithPriceResultsPage, Error] + ] = await user_list_api_calls.asyncio( + client=client, + sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, + limit=None, # Optional[int] + page_token=None, # Optional[str] ) # OR run async with more info - response: Response[Optional[Union[ApiCallWithPriceResultsPage, Error]]] = ( - await user_list_api_calls.asyncio_detailed( - client=client, - sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, - limit=None, # Optional[int] - page_token=None, # Optional[str] - ) + response: Response[ + Optional[Union[ApiCallWithPriceResultsPage, Error]] + ] = await user_list_api_calls.asyncio_detailed( + client=client, + sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, + limit=None, # Optional[int] + page_token=None, # Optional[str] ) @@ -5181,19 +5181,19 @@ async def test_get_api_call_for_user_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[ApiCallWithPrice, Error]] = ( - await get_api_call_for_user.asyncio( - client=client, - id="", - ) + result: Optional[ + Union[ApiCallWithPrice, Error] + ] = await get_api_call_for_user.asyncio( + client=client, + id="", ) # OR run async with more info - response: Response[Optional[Union[ApiCallWithPrice, Error]]] = ( - await get_api_call_for_user.asyncio_detailed( - client=client, - id="", - ) + response: Response[ + Optional[Union[ApiCallWithPrice, Error]] + ] = await get_api_call_for_user.asyncio_detailed( + client=client, + id="", ) @@ -5234,23 +5234,23 @@ async def test_list_api_tokens_for_user_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[ApiTokenResultsPage, Error]] = ( - await list_api_tokens_for_user.asyncio( - client=client, - sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, - limit=None, # Optional[int] - page_token=None, # Optional[str] - ) + result: Optional[ + Union[ApiTokenResultsPage, Error] + ] = await list_api_tokens_for_user.asyncio( + client=client, + sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, + limit=None, # Optional[int] + page_token=None, # Optional[str] ) # OR run async with more info - response: Response[Optional[Union[ApiTokenResultsPage, Error]]] = ( - await list_api_tokens_for_user.asyncio_detailed( - client=client, - sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, - limit=None, # Optional[int] - page_token=None, # Optional[str] - ) + response: Response[ + Optional[Union[ApiTokenResultsPage, Error]] + ] = await list_api_tokens_for_user.asyncio_detailed( + client=client, + sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, + limit=None, # Optional[int] + page_token=None, # Optional[str] ) @@ -5293,11 +5293,11 @@ async def test_create_api_token_for_user_async(): ) # OR run async with more info - response: Response[Optional[Union[ApiToken, Error]]] = ( - await create_api_token_for_user.asyncio_detailed( - client=client, - label=None, # Optional[str] - ) + response: Response[ + Optional[Union[ApiToken, Error]] + ] = await create_api_token_for_user.asyncio_detailed( + client=client, + label=None, # Optional[str] ) @@ -5340,11 +5340,11 @@ async def test_get_api_token_for_user_async(): ) # OR run async with more info - response: Response[Optional[Union[ApiToken, Error]]] = ( - await get_api_token_for_user.asyncio_detailed( - client=client, - token=ApiTokenUuid(""), - ) + response: Response[ + Optional[Union[ApiToken, Error]] + ] = await get_api_token_for_user.asyncio_detailed( + client=client, + token=ApiTokenUuid(""), ) @@ -5385,11 +5385,11 @@ async def test_delete_api_token_for_user_async(): ) # OR run async with more info - response: Response[Optional[Error]] = ( - await delete_api_token_for_user.asyncio_detailed( - client=client, - token=ApiTokenUuid(""), - ) + response: Response[ + Optional[Error] + ] = await delete_api_token_for_user.asyncio_detailed( + client=client, + token=ApiTokenUuid(""), ) @@ -5429,10 +5429,10 @@ async def test_get_user_self_extended_async(): ) # OR run async with more info - response: Response[Optional[Union[ExtendedUser, Error]]] = ( - await get_user_self_extended.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Union[ExtendedUser, Error]] + ] = await get_user_self_extended.asyncio_detailed( + client=client, ) @@ -5469,17 +5469,17 @@ async def test_get_oauth2_providers_for_user_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[List[AccountProvider], Error]] = ( - await get_oauth2_providers_for_user.asyncio( - client=client, - ) + result: Optional[ + Union[List[AccountProvider], Error] + ] = await get_oauth2_providers_for_user.asyncio( + client=client, ) # OR run async with more info - response: Response[Optional[Union[List[AccountProvider], Error]]] = ( - await get_oauth2_providers_for_user.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Union[List[AccountProvider], Error]] + ] = await get_oauth2_providers_for_user.asyncio_detailed( + client=client, ) @@ -5519,10 +5519,10 @@ async def test_get_user_onboarding_self_async(): ) # OR run async with more info - response: Response[Optional[Union[Onboarding, Error]]] = ( - await get_user_onboarding_self.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Union[Onboarding, Error]] + ] = await get_user_onboarding_self.asyncio_detailed( + client=client, ) @@ -5562,10 +5562,10 @@ async def test_get_user_org_async(): ) # OR run async with more info - response: Response[Optional[Union[UserOrgInfo, Error]]] = ( - await get_user_org.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Union[UserOrgInfo, Error]] + ] = await get_user_org.asyncio_detailed( + client=client, ) @@ -5600,17 +5600,17 @@ async def test_get_payment_information_for_user_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[Customer, Error]] = ( - await get_payment_information_for_user.asyncio( - client=client, - ) + result: Optional[ + Union[Customer, Error] + ] = await get_payment_information_for_user.asyncio( + client=client, ) # OR run async with more info - response: Response[Optional[Union[Customer, Error]]] = ( - await get_payment_information_for_user.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Union[Customer, Error]] + ] = await get_payment_information_for_user.asyncio_detailed( + client=client, ) @@ -5653,25 +5653,25 @@ async def test_update_payment_information_for_user_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[Customer, Error]] = ( - await update_payment_information_for_user.asyncio( - client=client, - body=BillingInfo( - name="", - phone="", - ), - ) + result: Optional[ + Union[Customer, Error] + ] = await update_payment_information_for_user.asyncio( + client=client, + body=BillingInfo( + name="", + phone="", + ), ) # OR run async with more info - response: Response[Optional[Union[Customer, Error]]] = ( - await update_payment_information_for_user.asyncio_detailed( - client=client, - body=BillingInfo( - name="", - phone="", - ), - ) + response: Response[ + Optional[Union[Customer, Error]] + ] = await update_payment_information_for_user.asyncio_detailed( + client=client, + body=BillingInfo( + name="", + phone="", + ), ) @@ -5714,25 +5714,25 @@ async def test_create_payment_information_for_user_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[Customer, Error]] = ( - await create_payment_information_for_user.asyncio( - client=client, - body=BillingInfo( - name="", - phone="", - ), - ) + result: Optional[ + Union[Customer, Error] + ] = await create_payment_information_for_user.asyncio( + client=client, + body=BillingInfo( + name="", + phone="", + ), ) # OR run async with more info - response: Response[Optional[Union[Customer, Error]]] = ( - await create_payment_information_for_user.asyncio_detailed( - client=client, - body=BillingInfo( - name="", - phone="", - ), - ) + response: Response[ + Optional[Union[Customer, Error]] + ] = await create_payment_information_for_user.asyncio_detailed( + client=client, + body=BillingInfo( + name="", + phone="", + ), ) @@ -5772,10 +5772,10 @@ async def test_delete_payment_information_for_user_async(): ) # OR run async with more info - response: Response[Optional[Error]] = ( - await delete_payment_information_for_user.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Error] + ] = await delete_payment_information_for_user.asyncio_detailed( + client=client, ) @@ -5810,17 +5810,17 @@ async def test_get_payment_balance_for_user_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[CustomerBalance, Error]] = ( - await get_payment_balance_for_user.asyncio( - client=client, - ) + result: Optional[ + Union[CustomerBalance, Error] + ] = await get_payment_balance_for_user.asyncio( + client=client, ) # OR run async with more info - response: Response[Optional[Union[CustomerBalance, Error]]] = ( - await get_payment_balance_for_user.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Union[CustomerBalance, Error]] + ] = await get_payment_balance_for_user.asyncio_detailed( + client=client, ) @@ -5855,17 +5855,17 @@ async def test_create_payment_intent_for_user_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[PaymentIntent, Error]] = ( - await create_payment_intent_for_user.asyncio( - client=client, - ) + result: Optional[ + Union[PaymentIntent, Error] + ] = await create_payment_intent_for_user.asyncio( + client=client, ) # OR run async with more info - response: Response[Optional[Union[PaymentIntent, Error]]] = ( - await create_payment_intent_for_user.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Union[PaymentIntent, Error]] + ] = await create_payment_intent_for_user.asyncio_detailed( + client=client, ) @@ -5899,18 +5899,18 @@ def test_list_invoices_for_user(): async def test_list_invoices_for_user_async(): # Create our client. client = ClientFromEnv() - - result: Optional[Union[List[Invoice], Error]] = ( - await list_invoices_for_user.asyncio( - client=client, - ) + + result: Optional[ + Union[List[Invoice], Error] + ] = await list_invoices_for_user.asyncio( + client=client, ) # OR run async with more info - response: Response[Optional[Union[List[Invoice], Error]]] = ( - await list_invoices_for_user.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Union[List[Invoice], Error]] + ] = await list_invoices_for_user.asyncio_detailed( + client=client, ) @@ -5947,17 +5947,17 @@ async def test_list_payment_methods_for_user_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[List[PaymentMethod], Error]] = ( - await list_payment_methods_for_user.asyncio( - client=client, - ) + result: Optional[ + Union[List[PaymentMethod], Error] + ] = await list_payment_methods_for_user.asyncio( + client=client, ) # OR run async with more info - response: Response[Optional[Union[List[PaymentMethod], Error]]] = ( - await list_payment_methods_for_user.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Union[List[PaymentMethod], Error]] + ] = await list_payment_methods_for_user.asyncio_detailed( + client=client, ) @@ -5998,11 +5998,11 @@ async def test_delete_payment_method_for_user_async(): ) # OR run async with more info - response: Response[Optional[Error]] = ( - await delete_payment_method_for_user.asyncio_detailed( - client=client, - id="", - ) + response: Response[ + Optional[Error] + ] = await delete_payment_method_for_user.asyncio_detailed( + client=client, + id="", ) @@ -6039,17 +6039,17 @@ async def test_get_user_subscription_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[ZooProductSubscriptions, Error]] = ( - await get_user_subscription.asyncio( - client=client, - ) + result: Optional[ + Union[ZooProductSubscriptions, Error] + ] = await get_user_subscription.asyncio( + client=client, ) # OR run async with more info - response: Response[Optional[Union[ZooProductSubscriptions, Error]]] = ( - await get_user_subscription.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Union[ZooProductSubscriptions, Error]] + ] = await get_user_subscription.asyncio_detailed( + client=client, ) @@ -6092,23 +6092,23 @@ async def test_update_user_subscription_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[ZooProductSubscriptions, Error]] = ( - await update_user_subscription.asyncio( - client=client, - body=ZooProductSubscriptionsUserRequest( - modeling_app=ModelingAppIndividualSubscriptionTier.FREE, - ), - ) + result: Optional[ + Union[ZooProductSubscriptions, Error] + ] = await update_user_subscription.asyncio( + client=client, + body=ZooProductSubscriptionsUserRequest( + modeling_app=ModelingAppIndividualSubscriptionTier.FREE, + ), ) # OR run async with more info - response: Response[Optional[Union[ZooProductSubscriptions, Error]]] = ( - await update_user_subscription.asyncio_detailed( - client=client, - body=ZooProductSubscriptionsUserRequest( - modeling_app=ModelingAppIndividualSubscriptionTier.FREE, - ), - ) + response: Response[ + Optional[Union[ZooProductSubscriptions, Error]] + ] = await update_user_subscription.asyncio_detailed( + client=client, + body=ZooProductSubscriptionsUserRequest( + modeling_app=ModelingAppIndividualSubscriptionTier.FREE, + ), ) @@ -6151,23 +6151,23 @@ async def test_create_user_subscription_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[ZooProductSubscriptions, Error]] = ( - await create_user_subscription.asyncio( - client=client, - body=ZooProductSubscriptionsUserRequest( - modeling_app=ModelingAppIndividualSubscriptionTier.FREE, - ), - ) + result: Optional[ + Union[ZooProductSubscriptions, Error] + ] = await create_user_subscription.asyncio( + client=client, + body=ZooProductSubscriptionsUserRequest( + modeling_app=ModelingAppIndividualSubscriptionTier.FREE, + ), ) # OR run async with more info - response: Response[Optional[Union[ZooProductSubscriptions, Error]]] = ( - await create_user_subscription.asyncio_detailed( - client=client, - body=ZooProductSubscriptionsUserRequest( - modeling_app=ModelingAppIndividualSubscriptionTier.FREE, - ), - ) + response: Response[ + Optional[Union[ZooProductSubscriptions, Error]] + ] = await create_user_subscription.asyncio_detailed( + client=client, + body=ZooProductSubscriptionsUserRequest( + modeling_app=ModelingAppIndividualSubscriptionTier.FREE, + ), ) @@ -6207,10 +6207,10 @@ async def test_validate_customer_tax_information_for_user_async(): ) # OR run async with more info - response: Response[Optional[Error]] = ( - await validate_customer_tax_information_for_user.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Error] + ] = await validate_customer_tax_information_for_user.asyncio_detailed( + client=client, ) @@ -6245,17 +6245,17 @@ async def test_get_user_privacy_settings_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[PrivacySettings, Error]] = ( - await get_user_privacy_settings.asyncio( - client=client, - ) + result: Optional[ + Union[PrivacySettings, Error] + ] = await get_user_privacy_settings.asyncio( + client=client, ) # OR run async with more info - response: Response[Optional[Union[PrivacySettings, Error]]] = ( - await get_user_privacy_settings.asyncio_detailed( - client=client, - ) + response: Response[ + Optional[Union[PrivacySettings, Error]] + ] = await get_user_privacy_settings.asyncio_detailed( + client=client, ) @@ -6296,23 +6296,23 @@ async def test_update_user_privacy_settings_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[PrivacySettings, Error]] = ( - await update_user_privacy_settings.asyncio( - client=client, - body=PrivacySettings( - can_train_on_data=False, - ), - ) + result: Optional[ + Union[PrivacySettings, Error] + ] = await update_user_privacy_settings.asyncio( + client=client, + body=PrivacySettings( + can_train_on_data=False, + ), ) # OR run async with more info - response: Response[Optional[Union[PrivacySettings, Error]]] = ( - await update_user_privacy_settings.asyncio_detailed( - client=client, - body=PrivacySettings( - can_train_on_data=False, - ), - ) + response: Response[ + Optional[Union[PrivacySettings, Error]] + ] = await update_user_privacy_settings.asyncio_detailed( + client=client, + body=PrivacySettings( + can_train_on_data=False, + ), ) @@ -6355,11 +6355,11 @@ async def test_get_session_for_user_async(): ) # OR run async with more info - response: Response[Optional[Union[Session, Error]]] = ( - await get_session_for_user.asyncio_detailed( - client=client, - token=SessionTokenUuid(""), - ) + response: Response[ + Optional[Union[Session, Error]] + ] = await get_session_for_user.asyncio_detailed( + client=client, + token=SessionTokenUuid(""), ) @@ -6404,25 +6404,25 @@ async def test_list_text_to_cad_models_for_user_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[TextToCadResultsPage, Error]] = ( - await list_text_to_cad_models_for_user.asyncio( - client=client, - sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, - limit=None, # Optional[int] - page_token=None, # Optional[str] - no_models=None, # Optional[bool] - ) + result: Optional[ + Union[TextToCadResultsPage, Error] + ] = await list_text_to_cad_models_for_user.asyncio( + client=client, + sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, + limit=None, # Optional[int] + page_token=None, # Optional[str] + no_models=None, # Optional[bool] ) # OR run async with more info - response: Response[Optional[Union[TextToCadResultsPage, Error]]] = ( - await list_text_to_cad_models_for_user.asyncio_detailed( - client=client, - sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, - limit=None, # Optional[int] - page_token=None, # Optional[str] - no_models=None, # Optional[bool] - ) + response: Response[ + Optional[Union[TextToCadResultsPage, Error]] + ] = await list_text_to_cad_models_for_user.asyncio_detailed( + client=client, + sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, + limit=None, # Optional[int] + page_token=None, # Optional[str] + no_models=None, # Optional[bool] ) @@ -6459,19 +6459,19 @@ async def test_get_text_to_cad_model_for_user_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[TextToCad, Error]] = ( - await get_text_to_cad_model_for_user.asyncio( - client=client, - id="", - ) + result: Optional[ + Union[TextToCad, Error] + ] = await get_text_to_cad_model_for_user.asyncio( + client=client, + id="", ) # OR run async with more info - response: Response[Optional[Union[TextToCad, Error]]] = ( - await get_text_to_cad_model_for_user.asyncio_detailed( - client=client, - id="", - ) + response: Response[ + Optional[Union[TextToCad, Error]] + ] = await get_text_to_cad_model_for_user.asyncio_detailed( + client=client, + id="", ) @@ -6517,12 +6517,12 @@ async def test_create_text_to_cad_model_feedback_async(): ) # OR run async with more info - response: Response[Optional[Error]] = ( - await create_text_to_cad_model_feedback.asyncio_detailed( - client=client, - id="", - feedback=MlFeedback.THUMBS_UP, - ) + response: Response[ + Optional[Error] + ] = await create_text_to_cad_model_feedback.asyncio_detailed( + client=client, + id="", + feedback=MlFeedback.THUMBS_UP, ) @@ -6571,13 +6571,13 @@ async def test_list_users_async(): ) # OR run async with more info - response: Response[Optional[Union[UserResultsPage, Error]]] = ( - await list_users.asyncio_detailed( - client=client, - sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, - limit=None, # Optional[int] - page_token=None, # Optional[str] - ) + response: Response[ + Optional[Union[UserResultsPage, Error]] + ] = await list_users.asyncio_detailed( + client=client, + sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, + limit=None, # Optional[int] + page_token=None, # Optional[str] ) @@ -6618,23 +6618,23 @@ async def test_list_users_extended_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[ExtendedUserResultsPage, Error]] = ( - await list_users_extended.asyncio( - client=client, - sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, - limit=None, # Optional[int] - page_token=None, # Optional[str] - ) + result: Optional[ + Union[ExtendedUserResultsPage, Error] + ] = await list_users_extended.asyncio( + client=client, + sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, + limit=None, # Optional[int] + page_token=None, # Optional[str] ) # OR run async with more info - response: Response[Optional[Union[ExtendedUserResultsPage, Error]]] = ( - await list_users_extended.asyncio_detailed( - client=client, - sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, - limit=None, # Optional[int] - page_token=None, # Optional[str] - ) + response: Response[ + Optional[Union[ExtendedUserResultsPage, Error]] + ] = await list_users_extended.asyncio_detailed( + client=client, + sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, + limit=None, # Optional[int] + page_token=None, # Optional[str] ) @@ -6677,11 +6677,11 @@ async def test_get_user_extended_async(): ) # OR run async with more info - response: Response[Optional[Union[ExtendedUser, Error]]] = ( - await get_user_extended.asyncio_detailed( - client=client, - id="", - ) + response: Response[ + Optional[Union[ExtendedUser, Error]] + ] = await get_user_extended.asyncio_detailed( + client=client, + id="", ) @@ -6769,25 +6769,25 @@ async def test_list_api_calls_for_user_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[ApiCallWithPriceResultsPage, Error]] = ( - await list_api_calls_for_user.asyncio( - client=client, - id="", - sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, - limit=None, # Optional[int] - page_token=None, # Optional[str] - ) + result: Optional[ + Union[ApiCallWithPriceResultsPage, Error] + ] = await list_api_calls_for_user.asyncio( + client=client, + id="", + sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, + limit=None, # Optional[int] + page_token=None, # Optional[str] ) # OR run async with more info - response: Response[Optional[Union[ApiCallWithPriceResultsPage, Error]]] = ( - await list_api_calls_for_user.asyncio_detailed( - client=client, - id="", - sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, - limit=None, # Optional[int] - page_token=None, # Optional[str] - ) + response: Response[ + Optional[Union[ApiCallWithPriceResultsPage, Error]] + ] = await list_api_calls_for_user.asyncio_detailed( + client=client, + id="", + sort_by=CreatedAtSortMode.CREATED_AT_ASCENDING, + limit=None, # Optional[int] + page_token=None, # Optional[str] ) @@ -6826,19 +6826,19 @@ async def test_get_payment_balance_for_any_user_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[CustomerBalance, Error]] = ( - await get_payment_balance_for_any_user.asyncio( - client=client, - id=Uuid(""), - ) + result: Optional[ + Union[CustomerBalance, Error] + ] = await get_payment_balance_for_any_user.asyncio( + client=client, + id=Uuid(""), ) # OR run async with more info - response: Response[Optional[Union[CustomerBalance, Error]]] = ( - await get_payment_balance_for_any_user.asyncio_detailed( - client=client, - id=Uuid(""), - ) + response: Response[ + Optional[Union[CustomerBalance, Error]] + ] = await get_payment_balance_for_any_user.asyncio_detailed( + client=client, + id=Uuid(""), ) @@ -6879,21 +6879,21 @@ async def test_update_payment_balance_for_any_user_async(): # Create our client. client = ClientFromEnv() - result: Optional[Union[CustomerBalance, Error]] = ( - await update_payment_balance_for_any_user.asyncio( - client=client, - id=Uuid(""), - body=UpdatePaymentBalance(), - ) + result: Optional[ + Union[CustomerBalance, Error] + ] = await update_payment_balance_for_any_user.asyncio( + client=client, + id=Uuid(""), + body=UpdatePaymentBalance(), ) # OR run async with more info - response: Response[Optional[Union[CustomerBalance, Error]]] = ( - await update_payment_balance_for_any_user.asyncio_detailed( - client=client, - id=Uuid(""), - body=UpdatePaymentBalance(), - ) + response: Response[ + Optional[Union[CustomerBalance, Error]] + ] = await update_payment_balance_for_any_user.asyncio_detailed( + client=client, + id=Uuid(""), + body=UpdatePaymentBalance(), ) @@ -6906,7 +6906,6 @@ def test_create_executor_term(): with create_executor_term.sync( client=client, ) as websocket: - # Send a message. websocket.send("{}") @@ -6953,7 +6952,6 @@ def test_modeling_commands_ws(): pool=None, # Optional[str] replay=None, # Optional[str] ) as websocket: - # Send a message. websocket.send( WebSocketRequest( diff --git a/kittycad/models/__init__.py b/kittycad/models/__init__.py index 975f3fd4a..148b89a46 100644 --- a/kittycad/models/__init__.py +++ b/kittycad/models/__init__.py @@ -1,4 +1,4 @@ -""" Contains all the data models used in inputs/outputs """ +"""Contains all the data models used in inputs/outputs""" from .account_provider import AccountProvider from .add_org_member import AddOrgMember diff --git a/kittycad/models/add_org_member.py b/kittycad/models/add_org_member.py index 8a053a165..8fe669874 100644 --- a/kittycad/models/add_org_member.py +++ b/kittycad/models/add_org_member.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.user_org_role import UserOrgRole diff --git a/kittycad/models/angle.py b/kittycad/models/angle.py index df6291b85..2f49bb5e5 100644 --- a/kittycad/models/angle.py +++ b/kittycad/models/angle.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.unit_angle import UnitAngle diff --git a/kittycad/models/annotation_line_end_options.py b/kittycad/models/annotation_line_end_options.py index ada91d26c..99717d40f 100644 --- a/kittycad/models/annotation_line_end_options.py +++ b/kittycad/models/annotation_line_end_options.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.annotation_line_end import AnnotationLineEnd diff --git a/kittycad/models/annotation_text_options.py b/kittycad/models/annotation_text_options.py index 008ffee86..8f892273d 100644 --- a/kittycad/models/annotation_text_options.py +++ b/kittycad/models/annotation_text_options.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.annotation_text_alignment_x import AnnotationTextAlignmentX diff --git a/kittycad/models/api_call_query_group.py b/kittycad/models/api_call_query_group.py index f8b9da5d8..dab3aff31 100644 --- a/kittycad/models/api_call_query_group.py +++ b/kittycad/models/api_call_query_group.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class ApiCallQueryGroup(BaseModel): """A response for a query on the API call table that is grouped by something.""" diff --git a/kittycad/models/api_error.py b/kittycad/models/api_error.py index c3150554d..18ec35e9a 100644 --- a/kittycad/models/api_error.py +++ b/kittycad/models/api_error.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.error_code import ErrorCode diff --git a/kittycad/models/app_client_info.py b/kittycad/models/app_client_info.py index 8a3452dac..50b464b44 100644 --- a/kittycad/models/app_client_info.py +++ b/kittycad/models/app_client_info.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class AppClientInfo(BaseModel): """Information about a third party app client.""" diff --git a/kittycad/models/auth_callback.py b/kittycad/models/auth_callback.py index 2ce984f2f..60e6a3429 100644 --- a/kittycad/models/auth_callback.py +++ b/kittycad/models/auth_callback.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class AuthCallback(BaseModel): """The authentication callback from the OAuth 2.0 client. This is typically posted to the redirect URL as query params after authenticating.""" diff --git a/kittycad/models/axis.py b/kittycad/models/axis.py index e8d15f3f7..b6ffeb712 100644 --- a/kittycad/models/axis.py +++ b/kittycad/models/axis.py @@ -6,8 +6,7 @@ class Axis(str, Enum): See [cglearn.eu] for background reading. - [cglearn.eu]: https://cglearn.eu/pub/computer-graphics/introduction-to-geometry#material-coordinate-systems-1 - """ # noqa: E501 + [cglearn.eu]: https://cglearn.eu/pub/computer-graphics/introduction-to-geometry#material-coordinate-systems-1""" # noqa: E501 """# 'Y' axis. """ # noqa: E501 Y = "y" diff --git a/kittycad/models/axis_direction_pair.py b/kittycad/models/axis_direction_pair.py index 4a1cdf0e8..561c1f155 100644 --- a/kittycad/models/axis_direction_pair.py +++ b/kittycad/models/axis_direction_pair.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.axis import Axis diff --git a/kittycad/models/base64data.py b/kittycad/models/base64data.py index 0c266701a..c58919529 100644 --- a/kittycad/models/base64data.py +++ b/kittycad/models/base64data.py @@ -1,45 +1,32 @@ import base64 -import binascii -from typing import Any +from typing import Any, Type from pydantic import GetCoreSchemaHandler -from pydantic_core import CoreSchema, core_schema +from pydantic_core import core_schema -class Base64Data: - def __init__(self, data: bytes): - """ - Initializes the object. - - If the provided data is already in base64 encoded format, it will store it. - If the data is a regular byte string, it will encode and then store it. - """ - if self.is_base64(data): - self._data = str(data, "utf-8") - else: - encoded = base64.b64encode(data) - self._data = str(encoded, "utf-8") - - @staticmethod - def is_base64(data: bytes) -> bool: - """Checks if given data is base64 encoded.""" - try: - str_data = str(data, "utf-8") - _ = base64.urlsafe_b64decode(str_data.strip("=") + "===") - return True - except binascii.Error: - return False - - def get_encoded(self) -> str: - """Returns the stored base64 encoded data.""" - return self._data +class Base64Data(bytes): + @classmethod + def __get_pydantic_core_schema__( + cls, source: Type[Any], handler: GetCoreSchemaHandler + ) -> core_schema.CoreSchema: + return core_schema.no_info_after_validator_function( + cls.validate, + core_schema.union_schema( + [ + core_schema.str_schema(), + core_schema.bytes_schema(), + ] + ), + serialization=core_schema.plain_serializer_function_ser_schema( + cls.serialize + ), + ) - def get_decoded(self) -> bytes: - """Returns the decoded byte string.""" - return base64.urlsafe_b64decode(self._data.strip("=") + "===") + @classmethod + def validate(cls, v): + return base64.urlsafe_b64decode(v.strip("=") + "===") @classmethod - def __get_pydantic_core_schema__( - cls, source_type: Any, handler: GetCoreSchemaHandler - ) -> CoreSchema: - return core_schema.no_info_after_validator_function(cls, handler(bytes)) + def serialize(cls, v: "Base64Data") -> bytes: + return v diff --git a/kittycad/models/batch_response.py b/kittycad/models/batch_response.py index 6e2ede07b..f91f7d948 100644 --- a/kittycad/models/batch_response.py +++ b/kittycad/models/batch_response.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict, RootModel - class response(BaseModel): """Response to the modeling command.""" diff --git a/kittycad/models/cache_metadata.py b/kittycad/models/cache_metadata.py index 588abc846..7b9da4a2e 100644 --- a/kittycad/models/cache_metadata.py +++ b/kittycad/models/cache_metadata.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class CacheMetadata(BaseModel): """Metadata about our cache. diff --git a/kittycad/models/camera_drag_end.py b/kittycad/models/camera_drag_end.py index e00a2b926..e53e24c83 100644 --- a/kittycad/models/camera_drag_end.py +++ b/kittycad/models/camera_drag_end.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.camera_settings import CameraSettings diff --git a/kittycad/models/camera_drag_move.py b/kittycad/models/camera_drag_move.py index 7d487c36f..f60a6a6c5 100644 --- a/kittycad/models/camera_drag_move.py +++ b/kittycad/models/camera_drag_move.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.camera_settings import CameraSettings diff --git a/kittycad/models/center_of_mass.py b/kittycad/models/center_of_mass.py index 7daf585e4..8d3ff48e5 100644 --- a/kittycad/models/center_of_mass.py +++ b/kittycad/models/center_of_mass.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.point3d import Point3d diff --git a/kittycad/models/client_metrics.py b/kittycad/models/client_metrics.py index aef65cca0..af3e246da 100644 --- a/kittycad/models/client_metrics.py +++ b/kittycad/models/client_metrics.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class ClientMetrics(BaseModel): """ClientMetrics contains information regarding the state of the peer.""" diff --git a/kittycad/models/close_path.py b/kittycad/models/close_path.py index 0a17d3955..93633b3f1 100644 --- a/kittycad/models/close_path.py +++ b/kittycad/models/close_path.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class ClosePath(BaseModel): """The response from the `ClosePath` command.""" diff --git a/kittycad/models/cluster.py b/kittycad/models/cluster.py index 5d90bdd4a..e95190834 100644 --- a/kittycad/models/cluster.py +++ b/kittycad/models/cluster.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class Cluster(BaseModel): """Cluster information.""" diff --git a/kittycad/models/code_language.py b/kittycad/models/code_language.py index ab518a52b..5fada0294 100644 --- a/kittycad/models/code_language.py +++ b/kittycad/models/code_language.py @@ -6,8 +6,7 @@ class CodeLanguage(str, Enum):
JSON schema - ```json { "description": "The language code is written in.", "oneOf": [ { "description": "The `go` programming language.", "type": "string", "enum": [ "go" ] }, { "description": "The `python` programming language.", "type": "string", "enum": [ "python" ] }, { "description": "The `node` programming language.", "type": "string", "enum": [ "node" ] } ] } ```
- """ # noqa: E501 + ```json { "description": "The language code is written in.", "oneOf": [ { "description": "The `go` programming language.", "type": "string", "enum": [ "go" ] }, { "description": "The `python` programming language.", "type": "string", "enum": [ "python" ] }, { "description": "The `node` programming language.", "type": "string", "enum": [ "node" ] } ] } ``` """ # noqa: E501 """# The `go` programming language. """ # noqa: E501 GO = "go" diff --git a/kittycad/models/code_output.py b/kittycad/models/code_output.py index 8b5170e55..16ea8ec84 100644 --- a/kittycad/models/code_output.py +++ b/kittycad/models/code_output.py @@ -10,8 +10,7 @@ class CodeOutput(BaseModel):
JSON schema - ```json { \"description\": \"Output of the code being executed.\", \"type\": \"object\", \"properties\": { \"output_files\": { \"description\": \"The contents of the files requested if they were passed.\", \"type\": \"array\", \"items\": { \"$ref\": \"#/components/schemas/OutputFile\" } }, \"stderr\": { \"description\": \"The stderr of the code.\", \"default\": \"\", \"type\": \"string\" }, \"stdout\": { \"description\": \"The stdout of the code.\", \"default\": \"\", \"type\": \"string\" } } } ```
- """ + ```json { \"description\": \"Output of the code being executed.\", \"type\": \"object\", \"properties\": { \"output_files\": { \"description\": \"The contents of the files requested if they were passed.\", \"type\": \"array\", \"items\": { \"$ref\": \"#/components/schemas/OutputFile\" } }, \"stderr\": { \"description\": \"The stderr of the code.\", \"default\": \"\", \"type\": \"string\" }, \"stdout\": { \"description\": \"The stdout of the code.\", \"default\": \"\", \"type\": \"string\" } } } ``` """ output_files: Optional[List[OutputFile]] = None diff --git a/kittycad/models/color.py b/kittycad/models/color.py index 25a0cfbf6..6bb7bdace 100644 --- a/kittycad/models/color.py +++ b/kittycad/models/color.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class Color(BaseModel): """An RGBA color""" diff --git a/kittycad/models/coupon.py b/kittycad/models/coupon.py index 1956de242..906b6c71b 100644 --- a/kittycad/models/coupon.py +++ b/kittycad/models/coupon.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class Coupon(BaseModel): """The resource representing a Coupon.""" diff --git a/kittycad/models/currency.py b/kittycad/models/currency.py index 3335b9a91..be57d1247 100644 --- a/kittycad/models/currency.py +++ b/kittycad/models/currency.py @@ -7,8 +7,7 @@ class Currency(str): """Currency is the list of supported currencies. Always lowercase. - This comes from the Stripe API docs: For more details see . - """ + This comes from the Stripe API docs: For more details see .""" def __str__(self) -> str: return self diff --git a/kittycad/models/curve_get_end_points.py b/kittycad/models/curve_get_end_points.py index 567995069..3c10fa0d8 100644 --- a/kittycad/models/curve_get_end_points.py +++ b/kittycad/models/curve_get_end_points.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.point3d import Point3d diff --git a/kittycad/models/curve_get_type.py b/kittycad/models/curve_get_type.py index 8298d3469..e703c7965 100644 --- a/kittycad/models/curve_get_type.py +++ b/kittycad/models/curve_get_type.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.curve_type import CurveType diff --git a/kittycad/models/default_camera_focus_on.py b/kittycad/models/default_camera_focus_on.py index 798368aa5..ac5ff7a7d 100644 --- a/kittycad/models/default_camera_focus_on.py +++ b/kittycad/models/default_camera_focus_on.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class DefaultCameraFocusOn(BaseModel): """The response from the `DefaultCameraFocusOn` command.""" diff --git a/kittycad/models/default_camera_get_settings.py b/kittycad/models/default_camera_get_settings.py index 8a2b2dff1..bf046687e 100644 --- a/kittycad/models/default_camera_get_settings.py +++ b/kittycad/models/default_camera_get_settings.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.camera_settings import CameraSettings diff --git a/kittycad/models/default_camera_zoom.py b/kittycad/models/default_camera_zoom.py index cb405a9ca..5c2c2d5fa 100644 --- a/kittycad/models/default_camera_zoom.py +++ b/kittycad/models/default_camera_zoom.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.camera_settings import CameraSettings diff --git a/kittycad/models/density.py b/kittycad/models/density.py index 07a2bb8cd..4db79ae8b 100644 --- a/kittycad/models/density.py +++ b/kittycad/models/density.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.unit_density import UnitDensity diff --git a/kittycad/models/der_encoded_key_pair.py b/kittycad/models/der_encoded_key_pair.py index 714d40f86..b4c3dc50b 100644 --- a/kittycad/models/der_encoded_key_pair.py +++ b/kittycad/models/der_encoded_key_pair.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from .base64data import Base64Data diff --git a/kittycad/models/device_access_token_request_form.py b/kittycad/models/device_access_token_request_form.py index 53f5fe875..94694bb21 100644 --- a/kittycad/models/device_access_token_request_form.py +++ b/kittycad/models/device_access_token_request_form.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.o_auth2_grant_type import OAuth2GrantType diff --git a/kittycad/models/device_auth_request_form.py b/kittycad/models/device_auth_request_form.py index 5365468ee..4e0a11aa8 100644 --- a/kittycad/models/device_auth_request_form.py +++ b/kittycad/models/device_auth_request_form.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class DeviceAuthRequestForm(BaseModel): """The request parameters for the OAuth 2.0 Device Authorization Grant flow.""" diff --git a/kittycad/models/device_auth_verify_params.py b/kittycad/models/device_auth_verify_params.py index d8286a2dc..7b496c902 100644 --- a/kittycad/models/device_auth_verify_params.py +++ b/kittycad/models/device_auth_verify_params.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class DeviceAuthVerifyParams(BaseModel): """The request parameters to verify the `user_code` for the OAuth 2.0 Device Authorization Grant.""" diff --git a/kittycad/models/discount.py b/kittycad/models/discount.py index ec791b8a0..c95595ca9 100644 --- a/kittycad/models/discount.py +++ b/kittycad/models/discount.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.coupon import Coupon diff --git a/kittycad/models/discount_code.py b/kittycad/models/discount_code.py index 44c8fa76b..53b6d5dfc 100644 --- a/kittycad/models/discount_code.py +++ b/kittycad/models/discount_code.py @@ -4,7 +4,6 @@ from pydantic import BaseModel, ConfigDict - class DiscountCode(BaseModel): """A discount code for a store.""" diff --git a/kittycad/models/email_authentication_form.py b/kittycad/models/email_authentication_form.py index 6233f118c..f66fed520 100644 --- a/kittycad/models/email_authentication_form.py +++ b/kittycad/models/email_authentication_form.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class EmailAuthenticationForm(BaseModel): """The body of the form for email authentication.""" diff --git a/kittycad/models/entity_circular_pattern.py b/kittycad/models/entity_circular_pattern.py index c752a36b6..6c41e0a30 100644 --- a/kittycad/models/entity_circular_pattern.py +++ b/kittycad/models/entity_circular_pattern.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class EntityCircularPattern(BaseModel): """The response from the `EntityCircularPattern` command.""" diff --git a/kittycad/models/entity_get_all_child_uuids.py b/kittycad/models/entity_get_all_child_uuids.py index 29a84a03f..e127dd4dc 100644 --- a/kittycad/models/entity_get_all_child_uuids.py +++ b/kittycad/models/entity_get_all_child_uuids.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class EntityGetAllChildUuids(BaseModel): """The response from the `EntityGetAllChildUuids` command.""" diff --git a/kittycad/models/entity_get_child_uuid.py b/kittycad/models/entity_get_child_uuid.py index 6efd40701..a66eb1d64 100644 --- a/kittycad/models/entity_get_child_uuid.py +++ b/kittycad/models/entity_get_child_uuid.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class EntityGetChildUuid(BaseModel): """The response from the `EntityGetChildUuid` command.""" diff --git a/kittycad/models/entity_get_distance.py b/kittycad/models/entity_get_distance.py index 444db174e..af66a2494 100644 --- a/kittycad/models/entity_get_distance.py +++ b/kittycad/models/entity_get_distance.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.length_unit import LengthUnit diff --git a/kittycad/models/entity_get_num_children.py b/kittycad/models/entity_get_num_children.py index fbab11a28..11239442b 100644 --- a/kittycad/models/entity_get_num_children.py +++ b/kittycad/models/entity_get_num_children.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class EntityGetNumChildren(BaseModel): """The response from the `EntityGetNumChildren` command.""" diff --git a/kittycad/models/entity_get_parent_id.py b/kittycad/models/entity_get_parent_id.py index 06502e792..060a52705 100644 --- a/kittycad/models/entity_get_parent_id.py +++ b/kittycad/models/entity_get_parent_id.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class EntityGetParentId(BaseModel): """The response from the `EntityGetParentId` command.""" diff --git a/kittycad/models/entity_get_sketch_paths.py b/kittycad/models/entity_get_sketch_paths.py index a924e72df..22618694a 100644 --- a/kittycad/models/entity_get_sketch_paths.py +++ b/kittycad/models/entity_get_sketch_paths.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class EntityGetSketchPaths(BaseModel): """The response from the `EntityGetSketchPaths` command.""" diff --git a/kittycad/models/entity_linear_pattern.py b/kittycad/models/entity_linear_pattern.py index 76c0599ea..ce6ff24de 100644 --- a/kittycad/models/entity_linear_pattern.py +++ b/kittycad/models/entity_linear_pattern.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class EntityLinearPattern(BaseModel): """The response from the `EntityLinearPattern` command.""" diff --git a/kittycad/models/entity_linear_pattern_transform.py b/kittycad/models/entity_linear_pattern_transform.py index 34f5dfbc6..36b21d1b2 100644 --- a/kittycad/models/entity_linear_pattern_transform.py +++ b/kittycad/models/entity_linear_pattern_transform.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class EntityLinearPatternTransform(BaseModel): """The response from the `EntityLinearPatternTransform` command.""" diff --git a/kittycad/models/error.py b/kittycad/models/error.py index 3a7dc4d41..e6b79eaeb 100644 --- a/kittycad/models/error.py +++ b/kittycad/models/error.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class Error(BaseModel): """Error information from a response.""" diff --git a/kittycad/models/export_file.py b/kittycad/models/export_file.py index e595facc0..eecf99a85 100644 --- a/kittycad/models/export_file.py +++ b/kittycad/models/export_file.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from .base64data import Base64Data diff --git a/kittycad/models/extended_user.py b/kittycad/models/extended_user.py index 9e39d80bd..beb24c70d 100644 --- a/kittycad/models/extended_user.py +++ b/kittycad/models/extended_user.py @@ -10,8 +10,7 @@ class ExtendedUser(BaseModel): """Extended user information. - This is mostly used for internal purposes. It returns a mapping of the user's information, including that of our third party services we use for users: MailChimp | Stripe - """ + This is mostly used for internal purposes. It returns a mapping of the user's information, including that of our third party services we use for users: MailChimp | Stripe""" block: Optional[BlockReason] = None diff --git a/kittycad/models/face_get_center.py b/kittycad/models/face_get_center.py index 91741b260..0363c0a59 100644 --- a/kittycad/models/face_get_center.py +++ b/kittycad/models/face_get_center.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.point3d import Point3d diff --git a/kittycad/models/face_get_gradient.py b/kittycad/models/face_get_gradient.py index 59bcdf4d6..065427537 100644 --- a/kittycad/models/face_get_gradient.py +++ b/kittycad/models/face_get_gradient.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.point3d import Point3d diff --git a/kittycad/models/face_get_position.py b/kittycad/models/face_get_position.py index 7ac35ab7c..b4a6ae9b7 100644 --- a/kittycad/models/face_get_position.py +++ b/kittycad/models/face_get_position.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.point3d import Point3d diff --git a/kittycad/models/file_system_metadata.py b/kittycad/models/file_system_metadata.py index fa41c4c84..50efea84c 100644 --- a/kittycad/models/file_system_metadata.py +++ b/kittycad/models/file_system_metadata.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class FileSystemMetadata(BaseModel): """Metadata about our file system. diff --git a/kittycad/models/gateway.py b/kittycad/models/gateway.py index 1e7c7e265..a6253b6b9 100644 --- a/kittycad/models/gateway.py +++ b/kittycad/models/gateway.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class Gateway(BaseModel): """Gateway information.""" diff --git a/kittycad/models/get_entity_type.py b/kittycad/models/get_entity_type.py index 61377e1c6..6eacd675e 100644 --- a/kittycad/models/get_entity_type.py +++ b/kittycad/models/get_entity_type.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.entity_type import EntityType diff --git a/kittycad/models/get_num_objects.py b/kittycad/models/get_num_objects.py index 79e715f11..bd072946d 100644 --- a/kittycad/models/get_num_objects.py +++ b/kittycad/models/get_num_objects.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class GetNumObjects(BaseModel): """The response from the `GetNumObjects` command.""" diff --git a/kittycad/models/get_sketch_mode_plane.py b/kittycad/models/get_sketch_mode_plane.py index e3b1f97d9..194168c3d 100644 --- a/kittycad/models/get_sketch_mode_plane.py +++ b/kittycad/models/get_sketch_mode_plane.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.point3d import Point3d diff --git a/kittycad/models/highlight_set_entity.py b/kittycad/models/highlight_set_entity.py index 4d483c12c..aa012996f 100644 --- a/kittycad/models/highlight_set_entity.py +++ b/kittycad/models/highlight_set_entity.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class HighlightSetEntity(BaseModel): """The response from the `HighlightSetEntity` command.""" diff --git a/kittycad/models/ice_server.py b/kittycad/models/ice_server.py index af56bb61a..ab72357f1 100644 --- a/kittycad/models/ice_server.py +++ b/kittycad/models/ice_server.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class IceServer(BaseModel): """Representation of an ICE server used for STUN/TURN Used to initiate WebRTC connections based on """ diff --git a/kittycad/models/import_file.py b/kittycad/models/import_file.py index 8cbc37c8c..1a1e6d044 100644 --- a/kittycad/models/import_file.py +++ b/kittycad/models/import_file.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class ImportFile(BaseModel): """File to import into the current model. If you are sending binary data for a file, be sure to send the WebSocketRequest as binary/bson, not text/json.""" diff --git a/kittycad/models/import_files.py b/kittycad/models/import_files.py index e19e42f37..32214285a 100644 --- a/kittycad/models/import_files.py +++ b/kittycad/models/import_files.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class ImportFiles(BaseModel): """Data from importing the files""" diff --git a/kittycad/models/imported_geometry.py b/kittycad/models/imported_geometry.py index 0890071ed..7d7867c10 100644 --- a/kittycad/models/imported_geometry.py +++ b/kittycad/models/imported_geometry.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class ImportedGeometry(BaseModel): """Data from importing the files""" diff --git a/kittycad/models/jetstream.py b/kittycad/models/jetstream.py index 9c5fa1151..d3c7a83d7 100644 --- a/kittycad/models/jetstream.py +++ b/kittycad/models/jetstream.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.jetstream_config import JetstreamConfig diff --git a/kittycad/models/jetstream_api_stats.py b/kittycad/models/jetstream_api_stats.py index 8ca8bd6f0..e6a29b7f9 100644 --- a/kittycad/models/jetstream_api_stats.py +++ b/kittycad/models/jetstream_api_stats.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class JetstreamApiStats(BaseModel): """Jetstream API statistics.""" diff --git a/kittycad/models/jetstream_config.py b/kittycad/models/jetstream_config.py index 74ee25fb3..1318090ee 100644 --- a/kittycad/models/jetstream_config.py +++ b/kittycad/models/jetstream_config.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class JetstreamConfig(BaseModel): """Jetstream configuration.""" diff --git a/kittycad/models/jetstream_stats.py b/kittycad/models/jetstream_stats.py index 629681323..c9fcbcd0c 100644 --- a/kittycad/models/jetstream_stats.py +++ b/kittycad/models/jetstream_stats.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.jetstream_api_stats import JetstreamApiStats diff --git a/kittycad/models/kcl_code_completion_params.py b/kittycad/models/kcl_code_completion_params.py index 92349fc0d..d936e939f 100644 --- a/kittycad/models/kcl_code_completion_params.py +++ b/kittycad/models/kcl_code_completion_params.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class KclCodeCompletionParams(BaseModel): """Extra params for the completions.""" diff --git a/kittycad/models/kcl_code_completion_response.py b/kittycad/models/kcl_code_completion_response.py index 5e3b10e64..027353c66 100644 --- a/kittycad/models/kcl_code_completion_response.py +++ b/kittycad/models/kcl_code_completion_response.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class KclCodeCompletionResponse(BaseModel): """A response with KCL code completions.""" diff --git a/kittycad/models/leaf_node.py b/kittycad/models/leaf_node.py index 16a21d2da..69452e16c 100644 --- a/kittycad/models/leaf_node.py +++ b/kittycad/models/leaf_node.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class LeafNode(BaseModel): """Leaf node information.""" diff --git a/kittycad/models/loft.py b/kittycad/models/loft.py index 71166741b..dc9abfe25 100644 --- a/kittycad/models/loft.py +++ b/kittycad/models/loft.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class Loft(BaseModel): """The response from the `Loft` command.""" diff --git a/kittycad/models/mass.py b/kittycad/models/mass.py index 0d9eeadcc..facbf5cb6 100644 --- a/kittycad/models/mass.py +++ b/kittycad/models/mass.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.unit_mass import UnitMass diff --git a/kittycad/models/meta_cluster_info.py b/kittycad/models/meta_cluster_info.py index 89cf49e32..49f395937 100644 --- a/kittycad/models/meta_cluster_info.py +++ b/kittycad/models/meta_cluster_info.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class MetaClusterInfo(BaseModel): """Jetstream statistics.""" diff --git a/kittycad/models/metadata.py b/kittycad/models/metadata.py index d923c1925..d5faee67c 100644 --- a/kittycad/models/metadata.py +++ b/kittycad/models/metadata.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.cache_metadata import CacheMetadata diff --git a/kittycad/models/method.py b/kittycad/models/method.py index 02c0b186a..a2071e36c 100644 --- a/kittycad/models/method.py +++ b/kittycad/models/method.py @@ -6,8 +6,7 @@ class Method(str, Enum): This type also contains constants for a number of common HTTP methods such as GET, POST, etc. - Currently includes 8 variants representing the 8 methods defined in [RFC 7230](https://tools.ietf.org/html/rfc7231#section-4.1), plus PATCH, and an Extension variant for all extensions. - """ # noqa: E501 + Currently includes 8 variants representing the 8 methods defined in [RFC 7230](https://tools.ietf.org/html/rfc7231#section-4.1), plus PATCH, and an Extension variant for all extensions.""" # noqa: E501 """# The `OPTIONS` method as defined in [RFC 7231](https://tools.ietf.org/html/rfc7231#section-4.2.1). """ # noqa: E501 OPTIONS = "OPTIONS" diff --git a/kittycad/models/modeling_cmd_req.py b/kittycad/models/modeling_cmd_req.py index bee5df670..a9345d62c 100644 --- a/kittycad/models/modeling_cmd_req.py +++ b/kittycad/models/modeling_cmd_req.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.modeling_cmd import ModelingCmd diff --git a/kittycad/models/modeling_session_data.py b/kittycad/models/modeling_session_data.py index 93b7d681b..c711414af 100644 --- a/kittycad/models/modeling_session_data.py +++ b/kittycad/models/modeling_session_data.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class ModelingSessionData(BaseModel): """Successful Websocket response.""" diff --git a/kittycad/models/mouse_click.py b/kittycad/models/mouse_click.py index 32df42589..4dc0e060b 100644 --- a/kittycad/models/mouse_click.py +++ b/kittycad/models/mouse_click.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class MouseClick(BaseModel): """The response from the `MouseClick` command.""" diff --git a/kittycad/models/o_auth2_client_info.py b/kittycad/models/o_auth2_client_info.py index af51b1b11..638cba642 100644 --- a/kittycad/models/o_auth2_client_info.py +++ b/kittycad/models/o_auth2_client_info.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class OAuth2ClientInfo(BaseModel): """Information about an OAuth 2.0 client.""" diff --git a/kittycad/models/onboarding.py b/kittycad/models/onboarding.py index e017485e5..98ed59d8d 100644 --- a/kittycad/models/onboarding.py +++ b/kittycad/models/onboarding.py @@ -4,7 +4,6 @@ from pydantic import BaseModel, ConfigDict - class Onboarding(BaseModel): """Onboarding details""" diff --git a/kittycad/models/org_details.py b/kittycad/models/org_details.py index eea63e4a6..262d046f4 100644 --- a/kittycad/models/org_details.py +++ b/kittycad/models/org_details.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class OrgDetails(BaseModel): """The user-modifiable parts of an organization.""" diff --git a/kittycad/models/output_file.py b/kittycad/models/output_file.py index ee2c75e6a..443442338 100644 --- a/kittycad/models/output_file.py +++ b/kittycad/models/output_file.py @@ -3,14 +3,12 @@ from pydantic import BaseModel, ConfigDict - class OutputFile(BaseModel): """Output file contents.
JSON schema - ```json { \"description\": \"Output file contents.\", \"type\": \"object\", \"properties\": { \"contents\": { \"description\": \"The contents of the file. This is base64 encoded so we can ensure it is UTF-8 for JSON.\", \"type\": \"string\" }, \"name\": { \"description\": \"The name of the file.\", \"default\": \"\", \"type\": \"string\" } } } ```
- """ + ```json { \"description\": \"Output file contents.\", \"type\": \"object\", \"properties\": { \"contents\": { \"description\": \"The contents of the file. This is base64 encoded so we can ensure it is UTF-8 for JSON.\", \"type\": \"string\" }, \"name\": { \"description\": \"The name of the file.\", \"default\": \"\", \"type\": \"string\" } } } ``` """ contents: Optional[str] = None diff --git a/kittycad/models/path_get_curve_uuid.py b/kittycad/models/path_get_curve_uuid.py index 999d3173b..ee32d1f68 100644 --- a/kittycad/models/path_get_curve_uuid.py +++ b/kittycad/models/path_get_curve_uuid.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class PathGetCurveUuid(BaseModel): """The response from the `PathGetCurveUuid` command.""" diff --git a/kittycad/models/path_get_curve_uuids_for_vertices.py b/kittycad/models/path_get_curve_uuids_for_vertices.py index c63b5c0b4..25506645a 100644 --- a/kittycad/models/path_get_curve_uuids_for_vertices.py +++ b/kittycad/models/path_get_curve_uuids_for_vertices.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class PathGetCurveUuidsForVertices(BaseModel): """The response from the `PathGetCurveUuidsForVertices` command.""" diff --git a/kittycad/models/path_get_sketch_target_uuid.py b/kittycad/models/path_get_sketch_target_uuid.py index 701e5ac6d..5ef760516 100644 --- a/kittycad/models/path_get_sketch_target_uuid.py +++ b/kittycad/models/path_get_sketch_target_uuid.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class PathGetSketchTargetUuid(BaseModel): """The response from the `PathGetSketchTargetUuid` command.""" diff --git a/kittycad/models/path_get_vertex_uuids.py b/kittycad/models/path_get_vertex_uuids.py index 37174af8c..e2a30f61c 100644 --- a/kittycad/models/path_get_vertex_uuids.py +++ b/kittycad/models/path_get_vertex_uuids.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class PathGetVertexUuids(BaseModel): """The response from the `PathGetVertexUuids` command.""" diff --git a/kittycad/models/payment_intent.py b/kittycad/models/payment_intent.py index a8de9f23f..fa95dd0f4 100644 --- a/kittycad/models/payment_intent.py +++ b/kittycad/models/payment_intent.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class PaymentIntent(BaseModel): """A payment intent response.""" diff --git a/kittycad/models/payment_method_card_checks.py b/kittycad/models/payment_method_card_checks.py index e3a977e0e..146787fa0 100644 --- a/kittycad/models/payment_method_card_checks.py +++ b/kittycad/models/payment_method_card_checks.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class PaymentMethodCardChecks(BaseModel): """Card checks.""" diff --git a/kittycad/models/perspective_camera_parameters.py b/kittycad/models/perspective_camera_parameters.py index 373a0eff5..60bd25a4f 100644 --- a/kittycad/models/perspective_camera_parameters.py +++ b/kittycad/models/perspective_camera_parameters.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class PerspectiveCameraParameters(BaseModel): """Defines a perspective view.""" diff --git a/kittycad/models/point2d.py b/kittycad/models/point2d.py index dde8f2059..b6a850bd1 100644 --- a/kittycad/models/point2d.py +++ b/kittycad/models/point2d.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.length_unit import LengthUnit diff --git a/kittycad/models/point3d.py b/kittycad/models/point3d.py index 5cf06f5d6..119e60eef 100644 --- a/kittycad/models/point3d.py +++ b/kittycad/models/point3d.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class Point3d(BaseModel): """A point in 3D space""" diff --git a/kittycad/models/point4d.py b/kittycad/models/point4d.py index bcb1e5824..e6bea0c8f 100644 --- a/kittycad/models/point4d.py +++ b/kittycad/models/point4d.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class Point4d(BaseModel): """A point in homogeneous (4D) space""" diff --git a/kittycad/models/pong.py b/kittycad/models/pong.py index a2035dff3..7348ccd80 100644 --- a/kittycad/models/pong.py +++ b/kittycad/models/pong.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class Pong(BaseModel): """The response from the `/ping` endpoint.""" diff --git a/kittycad/models/privacy_settings.py b/kittycad/models/privacy_settings.py index 25f991e15..885287345 100644 --- a/kittycad/models/privacy_settings.py +++ b/kittycad/models/privacy_settings.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class PrivacySettings(BaseModel): """Privacy settings for an org or user.""" diff --git a/kittycad/models/raw_file.py b/kittycad/models/raw_file.py index 06419044c..f7467e1ae 100644 --- a/kittycad/models/raw_file.py +++ b/kittycad/models/raw_file.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class RawFile(BaseModel): """A raw file with unencoded contents to be passed over binary websockets. When raw files come back for exports it is sent as binary/bson, not text/json.""" diff --git a/kittycad/models/rotation.py b/kittycad/models/rotation.py index b9d7ac593..9de7beb68 100644 --- a/kittycad/models/rotation.py +++ b/kittycad/models/rotation.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.angle import Angle diff --git a/kittycad/models/rtc_ice_candidate_init.py b/kittycad/models/rtc_ice_candidate_init.py index 9bd6ac004..ec95d8ccc 100644 --- a/kittycad/models/rtc_ice_candidate_init.py +++ b/kittycad/models/rtc_ice_candidate_init.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class RtcIceCandidateInit(BaseModel): """ICECandidateInit is used to serialize ice candidates""" diff --git a/kittycad/models/rtc_session_description.py b/kittycad/models/rtc_session_description.py index deba17594..8ffc2e595 100644 --- a/kittycad/models/rtc_session_description.py +++ b/kittycad/models/rtc_session_description.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.rtc_sdp_type import RtcSdpType diff --git a/kittycad/models/select_get.py b/kittycad/models/select_get.py index bc7c8ac7a..921a40fad 100644 --- a/kittycad/models/select_get.py +++ b/kittycad/models/select_get.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class SelectGet(BaseModel): """The response from the `SelectGet` command.""" diff --git a/kittycad/models/select_with_point.py b/kittycad/models/select_with_point.py index 8414cbf45..d9bf2b410 100644 --- a/kittycad/models/select_with_point.py +++ b/kittycad/models/select_with_point.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class SelectWithPoint(BaseModel): """The response from the `SelectWithPoint` command.""" diff --git a/kittycad/models/selection.py b/kittycad/models/selection.py index f10431be2..82f49b04a 100644 --- a/kittycad/models/selection.py +++ b/kittycad/models/selection.py @@ -4,7 +4,6 @@ from typing_extensions import Annotated - class default_scene(BaseModel): """Visit the default scene.""" diff --git a/kittycad/models/service_account.py b/kittycad/models/service_account.py index 08ca7f00f..0d89e03e0 100644 --- a/kittycad/models/service_account.py +++ b/kittycad/models/service_account.py @@ -12,8 +12,7 @@ class ServiceAccount(BaseModel): These are used to authenticate orgs with Bearer authentication. - This works just like an API token, but it is tied to an organization versus an individual user. - """ + This works just like an API token, but it is tied to an organization versus an individual user.""" created_at: datetime.datetime diff --git a/kittycad/models/solid3d_get_all_edge_faces.py b/kittycad/models/solid3d_get_all_edge_faces.py index 1b8e61d6d..25739835b 100644 --- a/kittycad/models/solid3d_get_all_edge_faces.py +++ b/kittycad/models/solid3d_get_all_edge_faces.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class Solid3dGetAllEdgeFaces(BaseModel): """The response from the `Solid3dGetAllEdgeFaces` command.""" diff --git a/kittycad/models/solid3d_get_all_opposite_edges.py b/kittycad/models/solid3d_get_all_opposite_edges.py index 9d3993f78..018d96de6 100644 --- a/kittycad/models/solid3d_get_all_opposite_edges.py +++ b/kittycad/models/solid3d_get_all_opposite_edges.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class Solid3dGetAllOppositeEdges(BaseModel): """The response from the `Solid3dGetAllOppositeEdges` command.""" diff --git a/kittycad/models/solid3d_get_next_adjacent_edge.py b/kittycad/models/solid3d_get_next_adjacent_edge.py index d9f324e7c..5601b3f43 100644 --- a/kittycad/models/solid3d_get_next_adjacent_edge.py +++ b/kittycad/models/solid3d_get_next_adjacent_edge.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class Solid3dGetNextAdjacentEdge(BaseModel): """The response from the `Solid3dGetNextAdjacentEdge` command.""" diff --git a/kittycad/models/solid3d_get_opposite_edge.py b/kittycad/models/solid3d_get_opposite_edge.py index 51109f2f9..9b02f8016 100644 --- a/kittycad/models/solid3d_get_opposite_edge.py +++ b/kittycad/models/solid3d_get_opposite_edge.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class Solid3dGetOppositeEdge(BaseModel): """The response from the `Solid3dGetOppositeEdge` command.""" diff --git a/kittycad/models/solid3d_get_prev_adjacent_edge.py b/kittycad/models/solid3d_get_prev_adjacent_edge.py index 684c1fb23..d903e7ef7 100644 --- a/kittycad/models/solid3d_get_prev_adjacent_edge.py +++ b/kittycad/models/solid3d_get_prev_adjacent_edge.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class Solid3dGetPrevAdjacentEdge(BaseModel): """The response from the `Solid3dGetPrevAdjacentEdge` command.""" diff --git a/kittycad/models/source_position.py b/kittycad/models/source_position.py index fc1eba615..5589b5266 100644 --- a/kittycad/models/source_position.py +++ b/kittycad/models/source_position.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class SourcePosition(BaseModel): """A position in the source code.""" diff --git a/kittycad/models/source_range.py b/kittycad/models/source_range.py index d9ebb2066..0f89a34a2 100644 --- a/kittycad/models/source_range.py +++ b/kittycad/models/source_range.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.source_position import SourcePosition diff --git a/kittycad/models/source_range_prompt.py b/kittycad/models/source_range_prompt.py index 04447d990..3e7bb14ff 100644 --- a/kittycad/models/source_range_prompt.py +++ b/kittycad/models/source_range_prompt.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.source_range import SourceRange diff --git a/kittycad/models/store_coupon_params.py b/kittycad/models/store_coupon_params.py index 70d2e5749..3b2192390 100644 --- a/kittycad/models/store_coupon_params.py +++ b/kittycad/models/store_coupon_params.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class StoreCouponParams(BaseModel): """The parameters for a new store coupon.""" diff --git a/kittycad/models/subscription_tier_feature.py b/kittycad/models/subscription_tier_feature.py index 08a84bc21..2abb0a75b 100644 --- a/kittycad/models/subscription_tier_feature.py +++ b/kittycad/models/subscription_tier_feature.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class SubscriptionTierFeature(BaseModel): """A subscription tier feature.""" diff --git a/kittycad/models/subscription_tier_type.py b/kittycad/models/subscription_tier_type.py index 4b5d81253..5eaf3bb9a 100644 --- a/kittycad/models/subscription_tier_type.py +++ b/kittycad/models/subscription_tier_type.py @@ -4,7 +4,6 @@ from typing_extensions import Annotated - class individual(BaseModel): """A subscription tier that can be applied to individuals only.""" diff --git a/kittycad/models/surface_area.py b/kittycad/models/surface_area.py index e4bb1977e..fa64d52ac 100644 --- a/kittycad/models/surface_area.py +++ b/kittycad/models/surface_area.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.unit_area import UnitArea diff --git a/kittycad/models/system.py b/kittycad/models/system.py index ed3f522c5..2e30bad07 100644 --- a/kittycad/models/system.py +++ b/kittycad/models/system.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.axis_direction_pair import AxisDirectionPair @@ -11,8 +10,7 @@ class System(BaseModel): See [cglearn.eu] for background reading. - [cglearn.eu](https://cglearn.eu/pub/computer-graphics/introduction-to-geometry#material-coordinate-systems-1) - """ + [cglearn.eu](https://cglearn.eu/pub/computer-graphics/introduction-to-geometry#material-coordinate-systems-1)""" forward: AxisDirectionPair diff --git a/kittycad/models/take_snapshot.py b/kittycad/models/take_snapshot.py index 10a10e45e..dc18d59d8 100644 --- a/kittycad/models/take_snapshot.py +++ b/kittycad/models/take_snapshot.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from .base64data import Base64Data diff --git a/kittycad/models/text_to_cad_create_body.py b/kittycad/models/text_to_cad_create_body.py index 3276d8d79..8ee95eaa4 100644 --- a/kittycad/models/text_to_cad_create_body.py +++ b/kittycad/models/text_to_cad_create_body.py @@ -1,8 +1,6 @@ - from pydantic import BaseModel, ConfigDict - class TextToCadCreateBody(BaseModel): """Body for generating models from text.""" diff --git a/kittycad/models/transform.py b/kittycad/models/transform.py index 19914347d..96a6afa8f 100644 --- a/kittycad/models/transform.py +++ b/kittycad/models/transform.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.point3d import Point3d diff --git a/kittycad/models/update_member_to_org_body.py b/kittycad/models/update_member_to_org_body.py index 879c19c49..5c4b814ad 100644 --- a/kittycad/models/update_member_to_org_body.py +++ b/kittycad/models/update_member_to_org_body.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.user_org_role import UserOrgRole diff --git a/kittycad/models/update_payment_balance.py b/kittycad/models/update_payment_balance.py index b8a24f75a..8d2d6a2b6 100644 --- a/kittycad/models/update_payment_balance.py +++ b/kittycad/models/update_payment_balance.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class UpdatePaymentBalance(BaseModel): """The data for updating a balance.""" diff --git a/kittycad/models/update_user.py b/kittycad/models/update_user.py index bf771ad91..dfde5d019 100644 --- a/kittycad/models/update_user.py +++ b/kittycad/models/update_user.py @@ -3,7 +3,6 @@ from pydantic import BaseModel, ConfigDict - class UpdateUser(BaseModel): """The user-modifiable parts of a User.""" diff --git a/kittycad/models/view_isometric.py b/kittycad/models/view_isometric.py index fae399a60..937828766 100644 --- a/kittycad/models/view_isometric.py +++ b/kittycad/models/view_isometric.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.camera_settings import CameraSettings diff --git a/kittycad/models/volume.py b/kittycad/models/volume.py index 9e30134c0..79d452390 100644 --- a/kittycad/models/volume.py +++ b/kittycad/models/volume.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.unit_volume import UnitVolume diff --git a/kittycad/models/zoo_product_subscriptions.py b/kittycad/models/zoo_product_subscriptions.py index 58d1673f8..3e37cce08 100644 --- a/kittycad/models/zoo_product_subscriptions.py +++ b/kittycad/models/zoo_product_subscriptions.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.modeling_app_subscription_tier import ModelingAppSubscriptionTier diff --git a/kittycad/models/zoo_product_subscriptions_org_request.py b/kittycad/models/zoo_product_subscriptions_org_request.py index b1a0a0b9e..6cba8bd34 100644 --- a/kittycad/models/zoo_product_subscriptions_org_request.py +++ b/kittycad/models/zoo_product_subscriptions_org_request.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.modeling_app_organization_subscription_tier import ( diff --git a/kittycad/models/zoo_product_subscriptions_user_request.py b/kittycad/models/zoo_product_subscriptions_user_request.py index 943b31a3c..243722d4b 100644 --- a/kittycad/models/zoo_product_subscriptions_user_request.py +++ b/kittycad/models/zoo_product_subscriptions_user_request.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.modeling_app_individual_subscription_tier import ( diff --git a/kittycad/models/zoom_to_fit.py b/kittycad/models/zoom_to_fit.py index 42478bc65..b6d6c85de 100644 --- a/kittycad/models/zoom_to_fit.py +++ b/kittycad/models/zoom_to_fit.py @@ -1,4 +1,3 @@ - from pydantic import BaseModel, ConfigDict from ..models.camera_settings import CameraSettings diff --git a/kittycad/types.py b/kittycad/types.py index 5376da05b..12b587335 100644 --- a/kittycad/types.py +++ b/kittycad/types.py @@ -1,4 +1,4 @@ -""" Contains some shared types for properties """ +"""Contains some shared types for properties""" from typing import ( BinaryIO, diff --git a/poetry.lock b/poetry.lock index c9ac370b6..78cedb26d 100644 --- a/poetry.lock +++ b/poetry.lock @@ -391,95 +391,6 @@ type = "legacy" url = "https://pypi.org/simple" reference = "pypi-public" -[[package]] -name = "contourpy" -version = "1.3.0" -description = "Python library for calculating contours of 2D quadrilateral grids" -optional = false -python-versions = ">=3.9" -files = [ - {file = "contourpy-1.3.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:880ea32e5c774634f9fcd46504bf9f080a41ad855f4fef54f5380f5133d343c7"}, - {file = "contourpy-1.3.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:76c905ef940a4474a6289c71d53122a4f77766eef23c03cd57016ce19d0f7b42"}, - {file = "contourpy-1.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:92f8557cbb07415a4d6fa191f20fd9d2d9eb9c0b61d1b2f52a8926e43c6e9af7"}, - {file = "contourpy-1.3.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:36f965570cff02b874773c49bfe85562b47030805d7d8360748f3eca570f4cab"}, - {file = "contourpy-1.3.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cacd81e2d4b6f89c9f8a5b69b86490152ff39afc58a95af002a398273e5ce589"}, - {file = "contourpy-1.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:69375194457ad0fad3a839b9e29aa0b0ed53bb54db1bfb6c3ae43d111c31ce41"}, - {file = "contourpy-1.3.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:7a52040312b1a858b5e31ef28c2e865376a386c60c0e248370bbea2d3f3b760d"}, - {file = "contourpy-1.3.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:3faeb2998e4fcb256542e8a926d08da08977f7f5e62cf733f3c211c2a5586223"}, - {file = "contourpy-1.3.0-cp310-cp310-win32.whl", hash = "sha256:36e0cff201bcb17a0a8ecc7f454fe078437fa6bda730e695a92f2d9932bd507f"}, - {file = "contourpy-1.3.0-cp310-cp310-win_amd64.whl", hash = "sha256:87ddffef1dbe5e669b5c2440b643d3fdd8622a348fe1983fad7a0f0ccb1cd67b"}, - {file = "contourpy-1.3.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:0fa4c02abe6c446ba70d96ece336e621efa4aecae43eaa9b030ae5fb92b309ad"}, - {file = "contourpy-1.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:834e0cfe17ba12f79963861e0f908556b2cedd52e1f75e6578801febcc6a9f49"}, - {file = "contourpy-1.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:dbc4c3217eee163fa3984fd1567632b48d6dfd29216da3ded3d7b844a8014a66"}, - {file = "contourpy-1.3.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4865cd1d419e0c7a7bf6de1777b185eebdc51470800a9f42b9e9decf17762081"}, - {file = "contourpy-1.3.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:303c252947ab4b14c08afeb52375b26781ccd6a5ccd81abcdfc1fafd14cf93c1"}, - {file = "contourpy-1.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:637f674226be46f6ba372fd29d9523dd977a291f66ab2a74fbeb5530bb3f445d"}, - {file = "contourpy-1.3.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:76a896b2f195b57db25d6b44e7e03f221d32fe318d03ede41f8b4d9ba1bff53c"}, - {file = "contourpy-1.3.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:e1fd23e9d01591bab45546c089ae89d926917a66dceb3abcf01f6105d927e2cb"}, - {file = "contourpy-1.3.0-cp311-cp311-win32.whl", hash = "sha256:d402880b84df3bec6eab53cd0cf802cae6a2ef9537e70cf75e91618a3801c20c"}, - {file = "contourpy-1.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:6cb6cc968059db9c62cb35fbf70248f40994dfcd7aa10444bbf8b3faeb7c2d67"}, - {file = "contourpy-1.3.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:570ef7cf892f0afbe5b2ee410c507ce12e15a5fa91017a0009f79f7d93a1268f"}, - {file = "contourpy-1.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:da84c537cb8b97d153e9fb208c221c45605f73147bd4cadd23bdae915042aad6"}, - {file = "contourpy-1.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0be4d8425bfa755e0fd76ee1e019636ccc7c29f77a7c86b4328a9eb6a26d0639"}, - {file = "contourpy-1.3.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9c0da700bf58f6e0b65312d0a5e695179a71d0163957fa381bb3c1f72972537c"}, - {file = "contourpy-1.3.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:eb8b141bb00fa977d9122636b16aa67d37fd40a3d8b52dd837e536d64b9a4d06"}, - {file = "contourpy-1.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3634b5385c6716c258d0419c46d05c8aa7dc8cb70326c9a4fb66b69ad2b52e09"}, - {file = "contourpy-1.3.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:0dce35502151b6bd35027ac39ba6e5a44be13a68f55735c3612c568cac3805fd"}, - {file = "contourpy-1.3.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:aea348f053c645100612b333adc5983d87be69acdc6d77d3169c090d3b01dc35"}, - {file = "contourpy-1.3.0-cp312-cp312-win32.whl", hash = "sha256:90f73a5116ad1ba7174341ef3ea5c3150ddf20b024b98fb0c3b29034752c8aeb"}, - {file = "contourpy-1.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:b11b39aea6be6764f84360fce6c82211a9db32a7c7de8fa6dd5397cf1d079c3b"}, - {file = "contourpy-1.3.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:3e1c7fa44aaae40a2247e2e8e0627f4bea3dd257014764aa644f319a5f8600e3"}, - {file = "contourpy-1.3.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:364174c2a76057feef647c802652f00953b575723062560498dc7930fc9b1cb7"}, - {file = "contourpy-1.3.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:32b238b3b3b649e09ce9aaf51f0c261d38644bdfa35cbaf7b263457850957a84"}, - {file = "contourpy-1.3.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d51fca85f9f7ad0b65b4b9fe800406d0d77017d7270d31ec3fb1cc07358fdea0"}, - {file = "contourpy-1.3.0-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:732896af21716b29ab3e988d4ce14bc5133733b85956316fb0c56355f398099b"}, - {file = "contourpy-1.3.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d73f659398a0904e125280836ae6f88ba9b178b2fed6884f3b1f95b989d2c8da"}, - {file = "contourpy-1.3.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:c6c7c2408b7048082932cf4e641fa3b8ca848259212f51c8c59c45aa7ac18f14"}, - {file = "contourpy-1.3.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:f317576606de89da6b7e0861cf6061f6146ead3528acabff9236458a6ba467f8"}, - {file = "contourpy-1.3.0-cp313-cp313-win32.whl", hash = "sha256:31cd3a85dbdf1fc002280c65caa7e2b5f65e4a973fcdf70dd2fdcb9868069294"}, - {file = "contourpy-1.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:4553c421929ec95fb07b3aaca0fae668b2eb5a5203d1217ca7c34c063c53d087"}, - {file = "contourpy-1.3.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:345af746d7766821d05d72cb8f3845dfd08dd137101a2cb9b24de277d716def8"}, - {file = "contourpy-1.3.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:3bb3808858a9dc68f6f03d319acd5f1b8a337e6cdda197f02f4b8ff67ad2057b"}, - {file = "contourpy-1.3.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:420d39daa61aab1221567b42eecb01112908b2cab7f1b4106a52caaec8d36973"}, - {file = "contourpy-1.3.0-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4d63ee447261e963af02642ffcb864e5a2ee4cbfd78080657a9880b8b1868e18"}, - {file = "contourpy-1.3.0-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:167d6c890815e1dac9536dca00828b445d5d0df4d6a8c6adb4a7ec3166812fa8"}, - {file = "contourpy-1.3.0-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:710a26b3dc80c0e4febf04555de66f5fd17e9cf7170a7b08000601a10570bda6"}, - {file = "contourpy-1.3.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:75ee7cb1a14c617f34a51d11fa7524173e56551646828353c4af859c56b766e2"}, - {file = "contourpy-1.3.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:33c92cdae89ec5135d036e7218e69b0bb2851206077251f04a6c4e0e21f03927"}, - {file = "contourpy-1.3.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:a11077e395f67ffc2c44ec2418cfebed032cd6da3022a94fc227b6faf8e2acb8"}, - {file = "contourpy-1.3.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:e8134301d7e204c88ed7ab50028ba06c683000040ede1d617298611f9dc6240c"}, - {file = "contourpy-1.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e12968fdfd5bb45ffdf6192a590bd8ddd3ba9e58360b29683c6bb71a7b41edca"}, - {file = "contourpy-1.3.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:fd2a0fc506eccaaa7595b7e1418951f213cf8255be2600f1ea1b61e46a60c55f"}, - {file = "contourpy-1.3.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4cfb5c62ce023dfc410d6059c936dcf96442ba40814aefbfa575425a3a7f19dc"}, - {file = "contourpy-1.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:68a32389b06b82c2fdd68276148d7b9275b5f5cf13e5417e4252f6d1a34f72a2"}, - {file = "contourpy-1.3.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:94e848a6b83da10898cbf1311a815f770acc9b6a3f2d646f330d57eb4e87592e"}, - {file = "contourpy-1.3.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:d78ab28a03c854a873787a0a42254a0ccb3cb133c672f645c9f9c8f3ae9d0800"}, - {file = "contourpy-1.3.0-cp39-cp39-win32.whl", hash = "sha256:81cb5ed4952aae6014bc9d0421dec7c5835c9c8c31cdf51910b708f548cf58e5"}, - {file = "contourpy-1.3.0-cp39-cp39-win_amd64.whl", hash = "sha256:14e262f67bd7e6eb6880bc564dcda30b15e351a594657e55b7eec94b6ef72843"}, - {file = "contourpy-1.3.0-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:fe41b41505a5a33aeaed2a613dccaeaa74e0e3ead6dd6fd3a118fb471644fd6c"}, - {file = "contourpy-1.3.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eca7e17a65f72a5133bdbec9ecf22401c62bcf4821361ef7811faee695799779"}, - {file = "contourpy-1.3.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:1ec4dc6bf570f5b22ed0d7efba0dfa9c5b9e0431aeea7581aa217542d9e809a4"}, - {file = "contourpy-1.3.0-pp39-pypy39_pp73-macosx_10_15_x86_64.whl", hash = "sha256:00ccd0dbaad6d804ab259820fa7cb0b8036bda0686ef844d24125d8287178ce0"}, - {file = "contourpy-1.3.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8ca947601224119117f7c19c9cdf6b3ab54c5726ef1d906aa4a69dfb6dd58102"}, - {file = "contourpy-1.3.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:c6ec93afeb848a0845a18989da3beca3eec2c0f852322efe21af1931147d12cb"}, - {file = "contourpy-1.3.0.tar.gz", hash = "sha256:7ffa0db17717a8ffb127efd0c95a4362d996b892c2904db72428d5b52e1938a4"}, -] - -[package.dependencies] -numpy = ">=1.23" - -[package.extras] -bokeh = ["bokeh", "selenium"] -docs = ["furo", "sphinx (>=7.2)", "sphinx-copybutton"] -mypy = ["contourpy[bokeh,docs]", "docutils-stubs", "mypy (==1.11.1)", "types-Pillow"] -test = ["Pillow", "contourpy[test-no-images]", "matplotlib"] -test-no-images = ["pytest", "pytest-cov", "pytest-rerunfailures", "pytest-xdist", "wurlitzer"] - -[package.source] -type = "legacy" -url = "https://pypi.org/simple" -reference = "pypi-public" - [[package]] name = "coverage" version = "7.6.1" @@ -572,26 +483,6 @@ type = "legacy" url = "https://pypi.org/simple" reference = "pypi-public" -[[package]] -name = "cycler" -version = "0.12.1" -description = "Composable style cycles" -optional = false -python-versions = ">=3.8" -files = [ - {file = "cycler-0.12.1-py3-none-any.whl", hash = "sha256:85cef7cff222d8644161529808465972e51340599459b8ac3ccbac5a854e0d30"}, - {file = "cycler-0.12.1.tar.gz", hash = "sha256:88bb128f02ba341da8ef447245a9e138fae777f6a23943da4540077d3601eb1c"}, -] - -[package.extras] -docs = ["ipython", "matplotlib", "numpydoc", "sphinx"] -tests = ["pytest", "pytest-cov", "pytest-xdist"] - -[package.source] -type = "legacy" -url = "https://pypi.org/simple" -reference = "pypi-public" - [[package]] name = "dataclasses-json" version = "0.6.7" @@ -639,13 +530,13 @@ reference = "pypi-public" [[package]] name = "docutils" -version = "0.18.1" +version = "0.20.1" description = "Docutils -- Python Documentation Utilities" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +python-versions = ">=3.7" files = [ - {file = "docutils-0.18.1-py2.py3-none-any.whl", hash = "sha256:23010f129180089fbcd3bc08cfefccb3b890b0050e1ca00c867036e9d161b98c"}, - {file = "docutils-0.18.1.tar.gz", hash = "sha256:679987caf361a7539d76e584cbeddc311e3aee937877c87346f31debc63e9d06"}, + {file = "docutils-0.20.1-py3-none-any.whl", hash = "sha256:96f387a2c5562db4476f09f13bbab2192e764cac08ebbf3a34a95d9b1e4a59d6"}, + {file = "docutils-0.20.1.tar.gz", hash = "sha256:f08a4e276c3a1583a86dce3e34aba3fe04d02bba2dd51ed16106244e8a923e3b"}, ] [package.source] @@ -672,76 +563,6 @@ type = "legacy" url = "https://pypi.org/simple" reference = "pypi-public" -[[package]] -name = "fonttools" -version = "4.53.1" -description = "Tools to manipulate font files" -optional = false -python-versions = ">=3.8" -files = [ - {file = "fonttools-4.53.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:0679a30b59d74b6242909945429dbddb08496935b82f91ea9bf6ad240ec23397"}, - {file = "fonttools-4.53.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:e8bf06b94694251861ba7fdeea15c8ec0967f84c3d4143ae9daf42bbc7717fe3"}, - {file = "fonttools-4.53.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b96cd370a61f4d083c9c0053bf634279b094308d52fdc2dd9a22d8372fdd590d"}, - {file = "fonttools-4.53.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a1c7c5aa18dd3b17995898b4a9b5929d69ef6ae2af5b96d585ff4005033d82f0"}, - {file = "fonttools-4.53.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:e013aae589c1c12505da64a7d8d023e584987e51e62006e1bb30d72f26522c41"}, - {file = "fonttools-4.53.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:9efd176f874cb6402e607e4cc9b4a9cd584d82fc34a4b0c811970b32ba62501f"}, - {file = "fonttools-4.53.1-cp310-cp310-win32.whl", hash = "sha256:c8696544c964500aa9439efb6761947393b70b17ef4e82d73277413f291260a4"}, - {file = "fonttools-4.53.1-cp310-cp310-win_amd64.whl", hash = "sha256:8959a59de5af6d2bec27489e98ef25a397cfa1774b375d5787509c06659b3671"}, - {file = "fonttools-4.53.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:da33440b1413bad53a8674393c5d29ce64d8c1a15ef8a77c642ffd900d07bfe1"}, - {file = "fonttools-4.53.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:5ff7e5e9bad94e3a70c5cd2fa27f20b9bb9385e10cddab567b85ce5d306ea923"}, - {file = "fonttools-4.53.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c6e7170d675d12eac12ad1a981d90f118c06cf680b42a2d74c6c931e54b50719"}, - {file = "fonttools-4.53.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bee32ea8765e859670c4447b0817514ca79054463b6b79784b08a8df3a4d78e3"}, - {file = "fonttools-4.53.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:6e08f572625a1ee682115223eabebc4c6a2035a6917eac6f60350aba297ccadb"}, - {file = "fonttools-4.53.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:b21952c092ffd827504de7e66b62aba26fdb5f9d1e435c52477e6486e9d128b2"}, - {file = "fonttools-4.53.1-cp311-cp311-win32.whl", hash = "sha256:9dfdae43b7996af46ff9da520998a32b105c7f098aeea06b2226b30e74fbba88"}, - {file = "fonttools-4.53.1-cp311-cp311-win_amd64.whl", hash = "sha256:d4d0096cb1ac7a77b3b41cd78c9b6bc4a400550e21dc7a92f2b5ab53ed74eb02"}, - {file = "fonttools-4.53.1-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:d92d3c2a1b39631a6131c2fa25b5406855f97969b068e7e08413325bc0afba58"}, - {file = "fonttools-4.53.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:3b3c8ebafbee8d9002bd8f1195d09ed2bd9ff134ddec37ee8f6a6375e6a4f0e8"}, - {file = "fonttools-4.53.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:32f029c095ad66c425b0ee85553d0dc326d45d7059dbc227330fc29b43e8ba60"}, - {file = "fonttools-4.53.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:10f5e6c3510b79ea27bb1ebfcc67048cde9ec67afa87c7dd7efa5c700491ac7f"}, - {file = "fonttools-4.53.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:f677ce218976496a587ab17140da141557beb91d2a5c1a14212c994093f2eae2"}, - {file = "fonttools-4.53.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:9e6ceba2a01b448e36754983d376064730690401da1dd104ddb543519470a15f"}, - {file = "fonttools-4.53.1-cp312-cp312-win32.whl", hash = "sha256:791b31ebbc05197d7aa096bbc7bd76d591f05905d2fd908bf103af4488e60670"}, - {file = "fonttools-4.53.1-cp312-cp312-win_amd64.whl", hash = "sha256:6ed170b5e17da0264b9f6fae86073be3db15fa1bd74061c8331022bca6d09bab"}, - {file = "fonttools-4.53.1-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:c818c058404eb2bba05e728d38049438afd649e3c409796723dfc17cd3f08749"}, - {file = "fonttools-4.53.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:651390c3b26b0c7d1f4407cad281ee7a5a85a31a110cbac5269de72a51551ba2"}, - {file = "fonttools-4.53.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e54f1bba2f655924c1138bbc7fa91abd61f45c68bd65ab5ed985942712864bbb"}, - {file = "fonttools-4.53.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c9cd19cf4fe0595ebdd1d4915882b9440c3a6d30b008f3cc7587c1da7b95be5f"}, - {file = "fonttools-4.53.1-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:2af40ae9cdcb204fc1d8f26b190aa16534fcd4f0df756268df674a270eab575d"}, - {file = "fonttools-4.53.1-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:35250099b0cfb32d799fb5d6c651220a642fe2e3c7d2560490e6f1d3f9ae9169"}, - {file = "fonttools-4.53.1-cp38-cp38-win32.whl", hash = "sha256:f08df60fbd8d289152079a65da4e66a447efc1d5d5a4d3f299cdd39e3b2e4a7d"}, - {file = "fonttools-4.53.1-cp38-cp38-win_amd64.whl", hash = "sha256:7b6b35e52ddc8fb0db562133894e6ef5b4e54e1283dff606fda3eed938c36fc8"}, - {file = "fonttools-4.53.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:75a157d8d26c06e64ace9df037ee93a4938a4606a38cb7ffaf6635e60e253b7a"}, - {file = "fonttools-4.53.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:4824c198f714ab5559c5be10fd1adf876712aa7989882a4ec887bf1ef3e00e31"}, - {file = "fonttools-4.53.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:becc5d7cb89c7b7afa8321b6bb3dbee0eec2b57855c90b3e9bf5fb816671fa7c"}, - {file = "fonttools-4.53.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:84ec3fb43befb54be490147b4a922b5314e16372a643004f182babee9f9c3407"}, - {file = "fonttools-4.53.1-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:73379d3ffdeecb376640cd8ed03e9d2d0e568c9d1a4e9b16504a834ebadc2dfb"}, - {file = "fonttools-4.53.1-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:02569e9a810f9d11f4ae82c391ebc6fb5730d95a0657d24d754ed7763fb2d122"}, - {file = "fonttools-4.53.1-cp39-cp39-win32.whl", hash = "sha256:aae7bd54187e8bf7fd69f8ab87b2885253d3575163ad4d669a262fe97f0136cb"}, - {file = "fonttools-4.53.1-cp39-cp39-win_amd64.whl", hash = "sha256:e5b708073ea3d684235648786f5f6153a48dc8762cdfe5563c57e80787c29fbb"}, - {file = "fonttools-4.53.1-py3-none-any.whl", hash = "sha256:f1f8758a2ad110bd6432203a344269f445a2907dc24ef6bccfd0ac4e14e0d71d"}, - {file = "fonttools-4.53.1.tar.gz", hash = "sha256:e128778a8e9bc11159ce5447f76766cefbd876f44bd79aff030287254e4752c4"}, -] - -[package.extras] -all = ["brotli (>=1.0.1)", "brotlicffi (>=0.8.0)", "fs (>=2.2.0,<3)", "lxml (>=4.0)", "lz4 (>=1.7.4.2)", "matplotlib", "munkres", "pycairo", "scipy", "skia-pathops (>=0.5.0)", "sympy", "uharfbuzz (>=0.23.0)", "unicodedata2 (>=15.1.0)", "xattr", "zopfli (>=0.1.4)"] -graphite = ["lz4 (>=1.7.4.2)"] -interpolatable = ["munkres", "pycairo", "scipy"] -lxml = ["lxml (>=4.0)"] -pathops = ["skia-pathops (>=0.5.0)"] -plot = ["matplotlib"] -repacker = ["uharfbuzz (>=0.23.0)"] -symfont = ["sympy"] -type1 = ["xattr"] -ufo = ["fs (>=2.2.0,<3)"] -unicode = ["unicodedata2 (>=15.1.0)"] -woff = ["brotli (>=1.0.1)", "brotlicffi (>=0.8.0)", "zopfli (>=0.1.4)"] - -[package.source] -type = "legacy" -url = "https://pypi.org/simple" -reference = "pypi-public" - [[package]] name = "functional-python" version = "0.3.1" @@ -913,33 +734,6 @@ type = "legacy" url = "https://pypi.org/simple" reference = "pypi-public" -[[package]] -name = "importlib-resources" -version = "6.4.5" -description = "Read resources from Python packages" -optional = false -python-versions = ">=3.8" -files = [ - {file = "importlib_resources-6.4.5-py3-none-any.whl", hash = "sha256:ac29d5f956f01d5e4bb63102a5a19957f1b9175e45649977264a1416783bb717"}, - {file = "importlib_resources-6.4.5.tar.gz", hash = "sha256:980862a1d16c9e147a59603677fa2aa5fd82b87f223b6cb870695bcfce830065"}, -] - -[package.dependencies] -zipp = {version = ">=3.1.0", markers = "python_version < \"3.10\""} - -[package.extras] -check = ["pytest-checkdocs (>=2.4)", "pytest-ruff (>=0.2.1)"] -cover = ["pytest-cov"] -doc = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"] -enabler = ["pytest-enabler (>=2.2)"] -test = ["jaraco.test (>=5.4)", "pytest (>=6,!=8.1.*)", "zipp (>=3.17)"] -type = ["pytest-mypy"] - -[package.source] -type = "legacy" -url = "https://pypi.org/simple" -reference = "pypi-public" - [[package]] name = "iniconfig" version = "2.0.0" @@ -1059,20 +853,20 @@ url = "https://pypi.org/simple" reference = "pypi-public" [[package]] -name = "jsonschema-spec" -version = "0.2.4" +name = "jsonschema-path" +version = "0.3.3" description = "JSONSchema Spec with object-oriented paths" optional = false python-versions = ">=3.8.0,<4.0.0" files = [ - {file = "jsonschema_spec-0.2.4-py3-none-any.whl", hash = "sha256:e6dcf7056734ec6854f7888da6c08ce6c421f28aeeddce96bb90de0fb6d711ef"}, - {file = "jsonschema_spec-0.2.4.tar.gz", hash = "sha256:873e396ad1ba6edf9f52d6174c110d4fafb7b5f5894744246a53fe75e5251ec2"}, + {file = "jsonschema_path-0.3.3-py3-none-any.whl", hash = "sha256:203aff257f8038cd3c67be614fe6b2001043408cb1b4e36576bc4921e09d83c4"}, + {file = "jsonschema_path-0.3.3.tar.gz", hash = "sha256:f02e5481a4288ec062f8e68c808569e427d905bedfecb7f2e4c69ef77957c382"}, ] [package.dependencies] pathable = ">=0.4.1,<0.5.0" PyYAML = ">=5.1" -referencing = ">=0.28.0,<0.31.0" +referencing = ">=0.28.0,<0.36.0" requests = ">=2.31.0,<3.0.0" [package.source] @@ -1082,145 +876,17 @@ reference = "pypi-public" [[package]] name = "jsonschema-specifications" -version = "2023.7.1" +version = "2023.12.1" description = "The JSON Schema meta-schemas and vocabularies, exposed as a Registry" optional = false python-versions = ">=3.8" files = [ - {file = "jsonschema_specifications-2023.7.1-py3-none-any.whl", hash = "sha256:05adf340b659828a004220a9613be00fa3f223f2b82002e273dee62fd50524b1"}, - {file = "jsonschema_specifications-2023.7.1.tar.gz", hash = "sha256:c91a50404e88a1f6ba40636778e2ee08f6e24c5613fe4c53ac24578a5a7f72bb"}, + {file = "jsonschema_specifications-2023.12.1-py3-none-any.whl", hash = "sha256:87e4fdf3a94858b8a2ba2778d9ba57d8a9cafca7c7489c46ba0d30a8bc6a9c3c"}, + {file = "jsonschema_specifications-2023.12.1.tar.gz", hash = "sha256:48a76787b3e70f5ed53f1160d2b81f586e4ca6d1548c5de7085d1682674764cc"}, ] [package.dependencies] -referencing = ">=0.28.0" - -[package.source] -type = "legacy" -url = "https://pypi.org/simple" -reference = "pypi-public" - -[[package]] -name = "kiwisolver" -version = "1.4.7" -description = "A fast implementation of the Cassowary constraint solver" -optional = false -python-versions = ">=3.8" -files = [ - {file = "kiwisolver-1.4.7-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:8a9c83f75223d5e48b0bc9cb1bf2776cf01563e00ade8775ffe13b0b6e1af3a6"}, - {file = "kiwisolver-1.4.7-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:58370b1ffbd35407444d57057b57da5d6549d2d854fa30249771775c63b5fe17"}, - {file = "kiwisolver-1.4.7-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:aa0abdf853e09aff551db11fce173e2177d00786c688203f52c87ad7fcd91ef9"}, - {file = "kiwisolver-1.4.7-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:8d53103597a252fb3ab8b5845af04c7a26d5e7ea8122303dd7a021176a87e8b9"}, - {file = "kiwisolver-1.4.7-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:88f17c5ffa8e9462fb79f62746428dd57b46eb931698e42e990ad63103f35e6c"}, - {file = "kiwisolver-1.4.7-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:88a9ca9c710d598fd75ee5de59d5bda2684d9db36a9f50b6125eaea3969c2599"}, - {file = "kiwisolver-1.4.7-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f4d742cb7af1c28303a51b7a27aaee540e71bb8e24f68c736f6f2ffc82f2bf05"}, - {file = "kiwisolver-1.4.7-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e28c7fea2196bf4c2f8d46a0415c77a1c480cc0724722f23d7410ffe9842c407"}, - {file = "kiwisolver-1.4.7-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:e968b84db54f9d42046cf154e02911e39c0435c9801681e3fc9ce8a3c4130278"}, - {file = "kiwisolver-1.4.7-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:0c18ec74c0472de033e1bebb2911c3c310eef5649133dd0bedf2a169a1b269e5"}, - {file = "kiwisolver-1.4.7-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:8f0ea6da6d393d8b2e187e6a5e3fb81f5862010a40c3945e2c6d12ae45cfb2ad"}, - {file = "kiwisolver-1.4.7-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:f106407dda69ae456dd1227966bf445b157ccc80ba0dff3802bb63f30b74e895"}, - {file = "kiwisolver-1.4.7-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:84ec80df401cfee1457063732d90022f93951944b5b58975d34ab56bb150dfb3"}, - {file = "kiwisolver-1.4.7-cp310-cp310-win32.whl", hash = "sha256:71bb308552200fb2c195e35ef05de12f0c878c07fc91c270eb3d6e41698c3bcc"}, - {file = "kiwisolver-1.4.7-cp310-cp310-win_amd64.whl", hash = "sha256:44756f9fd339de0fb6ee4f8c1696cfd19b2422e0d70b4cefc1cc7f1f64045a8c"}, - {file = "kiwisolver-1.4.7-cp310-cp310-win_arm64.whl", hash = "sha256:78a42513018c41c2ffd262eb676442315cbfe3c44eed82385c2ed043bc63210a"}, - {file = "kiwisolver-1.4.7-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:d2b0e12a42fb4e72d509fc994713d099cbb15ebf1103545e8a45f14da2dfca54"}, - {file = "kiwisolver-1.4.7-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:2a8781ac3edc42ea4b90bc23e7d37b665d89423818e26eb6df90698aa2287c95"}, - {file = "kiwisolver-1.4.7-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:46707a10836894b559e04b0fd143e343945c97fd170d69a2d26d640b4e297935"}, - {file = "kiwisolver-1.4.7-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ef97b8df011141c9b0f6caf23b29379f87dd13183c978a30a3c546d2c47314cb"}, - {file = "kiwisolver-1.4.7-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3ab58c12a2cd0fc769089e6d38466c46d7f76aced0a1f54c77652446733d2d02"}, - {file = "kiwisolver-1.4.7-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:803b8e1459341c1bb56d1c5c010406d5edec8a0713a0945851290a7930679b51"}, - {file = "kiwisolver-1.4.7-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f9a9e8a507420fe35992ee9ecb302dab68550dedc0da9e2880dd88071c5fb052"}, - {file = "kiwisolver-1.4.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:18077b53dc3bb490e330669a99920c5e6a496889ae8c63b58fbc57c3d7f33a18"}, - {file = "kiwisolver-1.4.7-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:6af936f79086a89b3680a280c47ea90b4df7047b5bdf3aa5c524bbedddb9e545"}, - {file = "kiwisolver-1.4.7-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:3abc5b19d24af4b77d1598a585b8a719beb8569a71568b66f4ebe1fb0449460b"}, - {file = "kiwisolver-1.4.7-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:933d4de052939d90afbe6e9d5273ae05fb836cc86c15b686edd4b3560cc0ee36"}, - {file = "kiwisolver-1.4.7-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:65e720d2ab2b53f1f72fb5da5fb477455905ce2c88aaa671ff0a447c2c80e8e3"}, - {file = "kiwisolver-1.4.7-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:3bf1ed55088f214ba6427484c59553123fdd9b218a42bbc8c6496d6754b1e523"}, - {file = "kiwisolver-1.4.7-cp311-cp311-win32.whl", hash = "sha256:4c00336b9dd5ad96d0a558fd18a8b6f711b7449acce4c157e7343ba92dd0cf3d"}, - {file = "kiwisolver-1.4.7-cp311-cp311-win_amd64.whl", hash = "sha256:929e294c1ac1e9f615c62a4e4313ca1823ba37326c164ec720a803287c4c499b"}, - {file = "kiwisolver-1.4.7-cp311-cp311-win_arm64.whl", hash = "sha256:e33e8fbd440c917106b237ef1a2f1449dfbb9b6f6e1ce17c94cd6a1e0d438376"}, - {file = "kiwisolver-1.4.7-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:5360cc32706dab3931f738d3079652d20982511f7c0ac5711483e6eab08efff2"}, - {file = "kiwisolver-1.4.7-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:942216596dc64ddb25adb215c3c783215b23626f8d84e8eff8d6d45c3f29f75a"}, - {file = "kiwisolver-1.4.7-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:48b571ecd8bae15702e4f22d3ff6a0f13e54d3d00cd25216d5e7f658242065ee"}, - {file = "kiwisolver-1.4.7-cp312-cp312-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ad42ba922c67c5f219097b28fae965e10045ddf145d2928bfac2eb2e17673640"}, - {file = "kiwisolver-1.4.7-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:612a10bdae23404a72941a0fc8fa2660c6ea1217c4ce0dbcab8a8f6543ea9e7f"}, - {file = "kiwisolver-1.4.7-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9e838bba3a3bac0fe06d849d29772eb1afb9745a59710762e4ba3f4cb8424483"}, - {file = "kiwisolver-1.4.7-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:22f499f6157236c19f4bbbd472fa55b063db77a16cd74d49afe28992dff8c258"}, - {file = "kiwisolver-1.4.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:693902d433cf585133699972b6d7c42a8b9f8f826ebcaf0132ff55200afc599e"}, - {file = "kiwisolver-1.4.7-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:4e77f2126c3e0b0d055f44513ed349038ac180371ed9b52fe96a32aa071a5107"}, - {file = "kiwisolver-1.4.7-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:657a05857bda581c3656bfc3b20e353c232e9193eb167766ad2dc58b56504948"}, - {file = "kiwisolver-1.4.7-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:4bfa75a048c056a411f9705856abfc872558e33c055d80af6a380e3658766038"}, - {file = "kiwisolver-1.4.7-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:34ea1de54beef1c104422d210c47c7d2a4999bdecf42c7b5718fbe59a4cac383"}, - {file = "kiwisolver-1.4.7-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:90da3b5f694b85231cf93586dad5e90e2d71b9428f9aad96952c99055582f520"}, - {file = "kiwisolver-1.4.7-cp312-cp312-win32.whl", hash = "sha256:18e0cca3e008e17fe9b164b55735a325140a5a35faad8de92dd80265cd5eb80b"}, - {file = "kiwisolver-1.4.7-cp312-cp312-win_amd64.whl", hash = "sha256:58cb20602b18f86f83a5c87d3ee1c766a79c0d452f8def86d925e6c60fbf7bfb"}, - {file = "kiwisolver-1.4.7-cp312-cp312-win_arm64.whl", hash = "sha256:f5a8b53bdc0b3961f8b6125e198617c40aeed638b387913bf1ce78afb1b0be2a"}, - {file = "kiwisolver-1.4.7-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:2e6039dcbe79a8e0f044f1c39db1986a1b8071051efba3ee4d74f5b365f5226e"}, - {file = "kiwisolver-1.4.7-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:a1ecf0ac1c518487d9d23b1cd7139a6a65bc460cd101ab01f1be82ecf09794b6"}, - {file = "kiwisolver-1.4.7-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:7ab9ccab2b5bd5702ab0803676a580fffa2aa178c2badc5557a84cc943fcf750"}, - {file = "kiwisolver-1.4.7-cp313-cp313-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f816dd2277f8d63d79f9c8473a79fe54047bc0467754962840782c575522224d"}, - {file = "kiwisolver-1.4.7-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cf8bcc23ceb5a1b624572a1623b9f79d2c3b337c8c455405ef231933a10da379"}, - {file = "kiwisolver-1.4.7-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:dea0bf229319828467d7fca8c7c189780aa9ff679c94539eed7532ebe33ed37c"}, - {file = "kiwisolver-1.4.7-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7c06a4c7cf15ec739ce0e5971b26c93638730090add60e183530d70848ebdd34"}, - {file = "kiwisolver-1.4.7-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:913983ad2deb14e66d83c28b632fd35ba2b825031f2fa4ca29675e665dfecbe1"}, - {file = "kiwisolver-1.4.7-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:5337ec7809bcd0f424c6b705ecf97941c46279cf5ed92311782c7c9c2026f07f"}, - {file = "kiwisolver-1.4.7-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:4c26ed10c4f6fa6ddb329a5120ba3b6db349ca192ae211e882970bfc9d91420b"}, - {file = "kiwisolver-1.4.7-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:c619b101e6de2222c1fcb0531e1b17bbffbe54294bfba43ea0d411d428618c27"}, - {file = "kiwisolver-1.4.7-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:073a36c8273647592ea332e816e75ef8da5c303236ec0167196793eb1e34657a"}, - {file = "kiwisolver-1.4.7-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:3ce6b2b0231bda412463e152fc18335ba32faf4e8c23a754ad50ffa70e4091ee"}, - {file = "kiwisolver-1.4.7-cp313-cp313-win32.whl", hash = "sha256:f4c9aee212bc89d4e13f58be11a56cc8036cabad119259d12ace14b34476fd07"}, - {file = "kiwisolver-1.4.7-cp313-cp313-win_amd64.whl", hash = "sha256:8a3ec5aa8e38fc4c8af308917ce12c536f1c88452ce554027e55b22cbbfbff76"}, - {file = "kiwisolver-1.4.7-cp313-cp313-win_arm64.whl", hash = "sha256:76c8094ac20ec259471ac53e774623eb62e6e1f56cd8690c67ce6ce4fcb05650"}, - {file = "kiwisolver-1.4.7-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:5d5abf8f8ec1f4e22882273c423e16cae834c36856cac348cfbfa68e01c40f3a"}, - {file = "kiwisolver-1.4.7-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:aeb3531b196ef6f11776c21674dba836aeea9d5bd1cf630f869e3d90b16cfade"}, - {file = "kiwisolver-1.4.7-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:b7d755065e4e866a8086c9bdada157133ff466476a2ad7861828e17b6026e22c"}, - {file = "kiwisolver-1.4.7-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:08471d4d86cbaec61f86b217dd938a83d85e03785f51121e791a6e6689a3be95"}, - {file = "kiwisolver-1.4.7-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7bbfcb7165ce3d54a3dfbe731e470f65739c4c1f85bb1018ee912bae139e263b"}, - {file = "kiwisolver-1.4.7-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5d34eb8494bea691a1a450141ebb5385e4b69d38bb8403b5146ad279f4b30fa3"}, - {file = "kiwisolver-1.4.7-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:9242795d174daa40105c1d86aba618e8eab7bf96ba8c3ee614da8302a9f95503"}, - {file = "kiwisolver-1.4.7-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:a0f64a48bb81af7450e641e3fe0b0394d7381e342805479178b3d335d60ca7cf"}, - {file = "kiwisolver-1.4.7-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:8e045731a5416357638d1700927529e2b8ab304811671f665b225f8bf8d8f933"}, - {file = "kiwisolver-1.4.7-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:4322872d5772cae7369f8351da1edf255a604ea7087fe295411397d0cfd9655e"}, - {file = "kiwisolver-1.4.7-cp38-cp38-musllinux_1_2_ppc64le.whl", hash = "sha256:e1631290ee9271dffe3062d2634c3ecac02c83890ada077d225e081aca8aab89"}, - {file = "kiwisolver-1.4.7-cp38-cp38-musllinux_1_2_s390x.whl", hash = "sha256:edcfc407e4eb17e037bca59be0e85a2031a2ac87e4fed26d3e9df88b4165f92d"}, - {file = "kiwisolver-1.4.7-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:4d05d81ecb47d11e7f8932bd8b61b720bf0b41199358f3f5e36d38e28f0532c5"}, - {file = "kiwisolver-1.4.7-cp38-cp38-win32.whl", hash = "sha256:b38ac83d5f04b15e515fd86f312479d950d05ce2368d5413d46c088dda7de90a"}, - {file = "kiwisolver-1.4.7-cp38-cp38-win_amd64.whl", hash = "sha256:d83db7cde68459fc803052a55ace60bea2bae361fc3b7a6d5da07e11954e4b09"}, - {file = "kiwisolver-1.4.7-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:3f9362ecfca44c863569d3d3c033dbe8ba452ff8eed6f6b5806382741a1334bd"}, - {file = "kiwisolver-1.4.7-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:e8df2eb9b2bac43ef8b082e06f750350fbbaf2887534a5be97f6cf07b19d9583"}, - {file = "kiwisolver-1.4.7-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:f32d6edbc638cde7652bd690c3e728b25332acbadd7cad670cc4a02558d9c417"}, - {file = "kiwisolver-1.4.7-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:e2e6c39bd7b9372b0be21456caab138e8e69cc0fc1190a9dfa92bd45a1e6e904"}, - {file = "kiwisolver-1.4.7-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:dda56c24d869b1193fcc763f1284b9126550eaf84b88bbc7256e15028f19188a"}, - {file = "kiwisolver-1.4.7-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:79849239c39b5e1fd906556c474d9b0439ea6792b637511f3fe3a41158d89ca8"}, - {file = "kiwisolver-1.4.7-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5e3bc157fed2a4c02ec468de4ecd12a6e22818d4f09cde2c31ee3226ffbefab2"}, - {file = "kiwisolver-1.4.7-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3da53da805b71e41053dc670f9a820d1157aae77b6b944e08024d17bcd51ef88"}, - {file = "kiwisolver-1.4.7-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:8705f17dfeb43139a692298cb6637ee2e59c0194538153e83e9ee0c75c2eddde"}, - {file = "kiwisolver-1.4.7-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:82a5c2f4b87c26bb1a0ef3d16b5c4753434633b83d365cc0ddf2770c93829e3c"}, - {file = "kiwisolver-1.4.7-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:ce8be0466f4c0d585cdb6c1e2ed07232221df101a4c6f28821d2aa754ca2d9e2"}, - {file = "kiwisolver-1.4.7-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:409afdfe1e2e90e6ee7fc896f3df9a7fec8e793e58bfa0d052c8a82f99c37abb"}, - {file = "kiwisolver-1.4.7-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:5b9c3f4ee0b9a439d2415012bd1b1cc2df59e4d6a9939f4d669241d30b414327"}, - {file = "kiwisolver-1.4.7-cp39-cp39-win32.whl", hash = "sha256:a79ae34384df2b615eefca647a2873842ac3b596418032bef9a7283675962644"}, - {file = "kiwisolver-1.4.7-cp39-cp39-win_amd64.whl", hash = "sha256:cf0438b42121a66a3a667de17e779330fc0f20b0d97d59d2f2121e182b0505e4"}, - {file = "kiwisolver-1.4.7-cp39-cp39-win_arm64.whl", hash = "sha256:764202cc7e70f767dab49e8df52c7455e8de0df5d858fa801a11aa0d882ccf3f"}, - {file = "kiwisolver-1.4.7-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:94252291e3fe68001b1dd747b4c0b3be12582839b95ad4d1b641924d68fd4643"}, - {file = "kiwisolver-1.4.7-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:5b7dfa3b546da08a9f622bb6becdb14b3e24aaa30adba66749d38f3cc7ea9706"}, - {file = "kiwisolver-1.4.7-pp310-pypy310_pp73-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bd3de6481f4ed8b734da5df134cd5a6a64fe32124fe83dde1e5b5f29fe30b1e6"}, - {file = "kiwisolver-1.4.7-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a91b5f9f1205845d488c928e8570dcb62b893372f63b8b6e98b863ebd2368ff2"}, - {file = "kiwisolver-1.4.7-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:40fa14dbd66b8b8f470d5fc79c089a66185619d31645f9b0773b88b19f7223c4"}, - {file = "kiwisolver-1.4.7-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:eb542fe7933aa09d8d8f9d9097ef37532a7df6497819d16efe4359890a2f417a"}, - {file = "kiwisolver-1.4.7-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:bfa1acfa0c54932d5607e19a2c24646fb4c1ae2694437789129cf099789a3b00"}, - {file = "kiwisolver-1.4.7-pp38-pypy38_pp73-macosx_11_0_arm64.whl", hash = "sha256:eee3ea935c3d227d49b4eb85660ff631556841f6e567f0f7bda972df6c2c9935"}, - {file = "kiwisolver-1.4.7-pp38-pypy38_pp73-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:f3160309af4396e0ed04db259c3ccbfdc3621b5559b5453075e5de555e1f3a1b"}, - {file = "kiwisolver-1.4.7-pp38-pypy38_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:a17f6a29cf8935e587cc8a4dbfc8368c55edc645283db0ce9801016f83526c2d"}, - {file = "kiwisolver-1.4.7-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:10849fb2c1ecbfae45a693c070e0320a91b35dd4bcf58172c023b994283a124d"}, - {file = "kiwisolver-1.4.7-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:ac542bf38a8a4be2dc6b15248d36315ccc65f0743f7b1a76688ffb6b5129a5c2"}, - {file = "kiwisolver-1.4.7-pp39-pypy39_pp73-macosx_10_15_x86_64.whl", hash = "sha256:8b01aac285f91ca889c800042c35ad3b239e704b150cfd3382adfc9dcc780e39"}, - {file = "kiwisolver-1.4.7-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:48be928f59a1f5c8207154f935334d374e79f2b5d212826307d072595ad76a2e"}, - {file = "kiwisolver-1.4.7-pp39-pypy39_pp73-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f37cfe618a117e50d8c240555331160d73d0411422b59b5ee217843d7b693608"}, - {file = "kiwisolver-1.4.7-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:599b5c873c63a1f6ed7eead644a8a380cfbdf5db91dcb6f85707aaab213b1674"}, - {file = "kiwisolver-1.4.7-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:801fa7802e5cfabe3ab0c81a34c323a319b097dfb5004be950482d882f3d7225"}, - {file = "kiwisolver-1.4.7-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:0c6c43471bc764fad4bc99c5c2d6d16a676b1abf844ca7c8702bdae92df01ee0"}, - {file = "kiwisolver-1.4.7.tar.gz", hash = "sha256:9893ff81bd7107f7b685d3017cc6583daadb4fc26e4a888350df530e41980a60"}, -] +referencing = ">=0.31.0" [package.source] type = "legacy" @@ -1394,75 +1060,6 @@ type = "legacy" url = "https://pypi.org/simple" reference = "pypi-public" -[[package]] -name = "matplotlib" -version = "3.9.2" -description = "Python plotting package" -optional = false -python-versions = ">=3.9" -files = [ - {file = "matplotlib-3.9.2-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:9d78bbc0cbc891ad55b4f39a48c22182e9bdaea7fc0e5dbd364f49f729ca1bbb"}, - {file = "matplotlib-3.9.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:c375cc72229614632c87355366bdf2570c2dac01ac66b8ad048d2dabadf2d0d4"}, - {file = "matplotlib-3.9.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1d94ff717eb2bd0b58fe66380bd8b14ac35f48a98e7c6765117fe67fb7684e64"}, - {file = "matplotlib-3.9.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ab68d50c06938ef28681073327795c5db99bb4666214d2d5f880ed11aeaded66"}, - {file = "matplotlib-3.9.2-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:65aacf95b62272d568044531e41de26285d54aec8cb859031f511f84bd8b495a"}, - {file = "matplotlib-3.9.2-cp310-cp310-win_amd64.whl", hash = "sha256:3fd595f34aa8a55b7fc8bf9ebea8aa665a84c82d275190a61118d33fbc82ccae"}, - {file = "matplotlib-3.9.2-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:d8dd059447824eec055e829258ab092b56bb0579fc3164fa09c64f3acd478772"}, - {file = "matplotlib-3.9.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:c797dac8bb9c7a3fd3382b16fe8f215b4cf0f22adccea36f1545a6d7be310b41"}, - {file = "matplotlib-3.9.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d719465db13267bcef19ea8954a971db03b9f48b4647e3860e4bc8e6ed86610f"}, - {file = "matplotlib-3.9.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8912ef7c2362f7193b5819d17dae8629b34a95c58603d781329712ada83f9447"}, - {file = "matplotlib-3.9.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:7741f26a58a240f43bee74965c4882b6c93df3e7eb3de160126d8c8f53a6ae6e"}, - {file = "matplotlib-3.9.2-cp311-cp311-win_amd64.whl", hash = "sha256:ae82a14dab96fbfad7965403c643cafe6515e386de723e498cf3eeb1e0b70cc7"}, - {file = "matplotlib-3.9.2-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:ac43031375a65c3196bee99f6001e7fa5bdfb00ddf43379d3c0609bdca042df9"}, - {file = "matplotlib-3.9.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:be0fc24a5e4531ae4d8e858a1a548c1fe33b176bb13eff7f9d0d38ce5112a27d"}, - {file = "matplotlib-3.9.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bf81de2926c2db243c9b2cbc3917619a0fc85796c6ba4e58f541df814bbf83c7"}, - {file = "matplotlib-3.9.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f6ee45bc4245533111ced13f1f2cace1e7f89d1c793390392a80c139d6cf0e6c"}, - {file = "matplotlib-3.9.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:306c8dfc73239f0e72ac50e5a9cf19cc4e8e331dd0c54f5e69ca8758550f1e1e"}, - {file = "matplotlib-3.9.2-cp312-cp312-win_amd64.whl", hash = "sha256:5413401594cfaff0052f9d8b1aafc6d305b4bd7c4331dccd18f561ff7e1d3bd3"}, - {file = "matplotlib-3.9.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:18128cc08f0d3cfff10b76baa2f296fc28c4607368a8402de61bb3f2eb33c7d9"}, - {file = "matplotlib-3.9.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:4876d7d40219e8ae8bb70f9263bcbe5714415acfdf781086601211335e24f8aa"}, - {file = "matplotlib-3.9.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6d9f07a80deab4bb0b82858a9e9ad53d1382fd122be8cde11080f4e7dfedb38b"}, - {file = "matplotlib-3.9.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f7c0410f181a531ec4e93bbc27692f2c71a15c2da16766f5ba9761e7ae518413"}, - {file = "matplotlib-3.9.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:909645cce2dc28b735674ce0931a4ac94e12f5b13f6bb0b5a5e65e7cea2c192b"}, - {file = "matplotlib-3.9.2-cp313-cp313-win_amd64.whl", hash = "sha256:f32c7410c7f246838a77d6d1eff0c0f87f3cb0e7c4247aebea71a6d5a68cab49"}, - {file = "matplotlib-3.9.2-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:37e51dd1c2db16ede9cfd7b5cabdfc818b2c6397c83f8b10e0e797501c963a03"}, - {file = "matplotlib-3.9.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:b82c5045cebcecd8496a4d694d43f9cc84aeeb49fe2133e036b207abe73f4d30"}, - {file = "matplotlib-3.9.2-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f053c40f94bc51bc03832a41b4f153d83f2062d88c72b5e79997072594e97e51"}, - {file = "matplotlib-3.9.2-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dbe196377a8248972f5cede786d4c5508ed5f5ca4a1e09b44bda889958b33f8c"}, - {file = "matplotlib-3.9.2-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:5816b1e1fe8c192cbc013f8f3e3368ac56fbecf02fb41b8f8559303f24c5015e"}, - {file = "matplotlib-3.9.2-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:cef2a73d06601437be399908cf13aee74e86932a5ccc6ccdf173408ebc5f6bb2"}, - {file = "matplotlib-3.9.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:e0830e188029c14e891fadd99702fd90d317df294c3298aad682739c5533721a"}, - {file = "matplotlib-3.9.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:03ba9c1299c920964e8d3857ba27173b4dbb51ca4bab47ffc2c2ba0eb5e2cbc5"}, - {file = "matplotlib-3.9.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1cd93b91ab47a3616b4d3c42b52f8363b88ca021e340804c6ab2536344fad9ca"}, - {file = "matplotlib-3.9.2-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:6d1ce5ed2aefcdce11904fc5bbea7d9c21fff3d5f543841edf3dea84451a09ea"}, - {file = "matplotlib-3.9.2-cp39-cp39-win_amd64.whl", hash = "sha256:b2696efdc08648536efd4e1601b5fd491fd47f4db97a5fbfd175549a7365c1b2"}, - {file = "matplotlib-3.9.2-pp39-pypy39_pp73-macosx_10_15_x86_64.whl", hash = "sha256:d52a3b618cb1cbb769ce2ee1dcdb333c3ab6e823944e9a2d36e37253815f9556"}, - {file = "matplotlib-3.9.2-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:039082812cacd6c6bec8e17a9c1e6baca230d4116d522e81e1f63a74d01d2e21"}, - {file = "matplotlib-3.9.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6758baae2ed64f2331d4fd19be38b7b4eae3ecec210049a26b6a4f3ae1c85dcc"}, - {file = "matplotlib-3.9.2-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:050598c2b29e0b9832cde72bcf97627bf00262adbc4a54e2b856426bb2ef0697"}, - {file = "matplotlib-3.9.2.tar.gz", hash = "sha256:96ab43906269ca64a6366934106fa01534454a69e471b7bf3d79083981aaab92"}, -] - -[package.dependencies] -contourpy = ">=1.0.1" -cycler = ">=0.10" -fonttools = ">=4.22.0" -importlib-resources = {version = ">=3.2.0", markers = "python_version < \"3.10\""} -kiwisolver = ">=1.3.1" -numpy = ">=1.23" -packaging = ">=20.0" -pillow = ">=8" -pyparsing = ">=2.3.1" -python-dateutil = ">=2.7" - -[package.extras] -dev = ["meson-python (>=0.13.1)", "numpy (>=1.25)", "pybind11 (>=2.6)", "setuptools (>=64)", "setuptools_scm (>=7)"] - -[package.source] -type = "legacy" -url = "https://pypi.org/simple" -reference = "pypi-public" - [[package]] name = "more-itertools" version = "10.5.0" @@ -1547,65 +1144,6 @@ type = "legacy" url = "https://pypi.org/simple" reference = "pypi-public" -[[package]] -name = "numpy" -version = "2.0.2" -description = "Fundamental package for array computing in Python" -optional = false -python-versions = ">=3.9" -files = [ - {file = "numpy-2.0.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:51129a29dbe56f9ca83438b706e2e69a39892b5eda6cedcb6b0c9fdc9b0d3ece"}, - {file = "numpy-2.0.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:f15975dfec0cf2239224d80e32c3170b1d168335eaedee69da84fbe9f1f9cd04"}, - {file = "numpy-2.0.2-cp310-cp310-macosx_14_0_arm64.whl", hash = "sha256:8c5713284ce4e282544c68d1c3b2c7161d38c256d2eefc93c1d683cf47683e66"}, - {file = "numpy-2.0.2-cp310-cp310-macosx_14_0_x86_64.whl", hash = "sha256:becfae3ddd30736fe1889a37f1f580e245ba79a5855bff5f2a29cb3ccc22dd7b"}, - {file = "numpy-2.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2da5960c3cf0df7eafefd806d4e612c5e19358de82cb3c343631188991566ccd"}, - {file = "numpy-2.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:496f71341824ed9f3d2fd36cf3ac57ae2e0165c143b55c3a035ee219413f3318"}, - {file = "numpy-2.0.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:a61ec659f68ae254e4d237816e33171497e978140353c0c2038d46e63282d0c8"}, - {file = "numpy-2.0.2-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:d731a1c6116ba289c1e9ee714b08a8ff882944d4ad631fd411106a30f083c326"}, - {file = "numpy-2.0.2-cp310-cp310-win32.whl", hash = "sha256:984d96121c9f9616cd33fbd0618b7f08e0cfc9600a7ee1d6fd9b239186d19d97"}, - {file = "numpy-2.0.2-cp310-cp310-win_amd64.whl", hash = "sha256:c7b0be4ef08607dd04da4092faee0b86607f111d5ae68036f16cc787e250a131"}, - {file = "numpy-2.0.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:49ca4decb342d66018b01932139c0961a8f9ddc7589611158cb3c27cbcf76448"}, - {file = "numpy-2.0.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:11a76c372d1d37437857280aa142086476136a8c0f373b2e648ab2c8f18fb195"}, - {file = "numpy-2.0.2-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:807ec44583fd708a21d4a11d94aedf2f4f3c3719035c76a2bbe1fe8e217bdc57"}, - {file = "numpy-2.0.2-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:8cafab480740e22f8d833acefed5cc87ce276f4ece12fdaa2e8903db2f82897a"}, - {file = "numpy-2.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a15f476a45e6e5a3a79d8a14e62161d27ad897381fecfa4a09ed5322f2085669"}, - {file = "numpy-2.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:13e689d772146140a252c3a28501da66dfecd77490b498b168b501835041f951"}, - {file = "numpy-2.0.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:9ea91dfb7c3d1c56a0e55657c0afb38cf1eeae4544c208dc465c3c9f3a7c09f9"}, - {file = "numpy-2.0.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:c1c9307701fec8f3f7a1e6711f9089c06e6284b3afbbcd259f7791282d660a15"}, - {file = "numpy-2.0.2-cp311-cp311-win32.whl", hash = "sha256:a392a68bd329eafac5817e5aefeb39038c48b671afd242710b451e76090e81f4"}, - {file = "numpy-2.0.2-cp311-cp311-win_amd64.whl", hash = "sha256:286cd40ce2b7d652a6f22efdfc6d1edf879440e53e76a75955bc0c826c7e64dc"}, - {file = "numpy-2.0.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:df55d490dea7934f330006d0f81e8551ba6010a5bf035a249ef61a94f21c500b"}, - {file = "numpy-2.0.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8df823f570d9adf0978347d1f926b2a867d5608f434a7cff7f7908c6570dcf5e"}, - {file = "numpy-2.0.2-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:9a92ae5c14811e390f3767053ff54eaee3bf84576d99a2456391401323f4ec2c"}, - {file = "numpy-2.0.2-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:a842d573724391493a97a62ebbb8e731f8a5dcc5d285dfc99141ca15a3302d0c"}, - {file = "numpy-2.0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c05e238064fc0610c840d1cf6a13bf63d7e391717d247f1bf0318172e759e692"}, - {file = "numpy-2.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0123ffdaa88fa4ab64835dcbde75dcdf89c453c922f18dced6e27c90d1d0ec5a"}, - {file = "numpy-2.0.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:96a55f64139912d61de9137f11bf39a55ec8faec288c75a54f93dfd39f7eb40c"}, - {file = "numpy-2.0.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:ec9852fb39354b5a45a80bdab5ac02dd02b15f44b3804e9f00c556bf24b4bded"}, - {file = "numpy-2.0.2-cp312-cp312-win32.whl", hash = "sha256:671bec6496f83202ed2d3c8fdc486a8fc86942f2e69ff0e986140339a63bcbe5"}, - {file = "numpy-2.0.2-cp312-cp312-win_amd64.whl", hash = "sha256:cfd41e13fdc257aa5778496b8caa5e856dc4896d4ccf01841daee1d96465467a"}, - {file = "numpy-2.0.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9059e10581ce4093f735ed23f3b9d283b9d517ff46009ddd485f1747eb22653c"}, - {file = "numpy-2.0.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:423e89b23490805d2a5a96fe40ec507407b8ee786d66f7328be214f9679df6dd"}, - {file = "numpy-2.0.2-cp39-cp39-macosx_14_0_arm64.whl", hash = "sha256:2b2955fa6f11907cf7a70dab0d0755159bca87755e831e47932367fc8f2f2d0b"}, - {file = "numpy-2.0.2-cp39-cp39-macosx_14_0_x86_64.whl", hash = "sha256:97032a27bd9d8988b9a97a8c4d2c9f2c15a81f61e2f21404d7e8ef00cb5be729"}, - {file = "numpy-2.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1e795a8be3ddbac43274f18588329c72939870a16cae810c2b73461c40718ab1"}, - {file = "numpy-2.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f26b258c385842546006213344c50655ff1555a9338e2e5e02a0756dc3e803dd"}, - {file = "numpy-2.0.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:5fec9451a7789926bcf7c2b8d187292c9f93ea30284802a0ab3f5be8ab36865d"}, - {file = "numpy-2.0.2-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:9189427407d88ff25ecf8f12469d4d39d35bee1db5d39fc5c168c6f088a6956d"}, - {file = "numpy-2.0.2-cp39-cp39-win32.whl", hash = "sha256:905d16e0c60200656500c95b6b8dca5d109e23cb24abc701d41c02d74c6b3afa"}, - {file = "numpy-2.0.2-cp39-cp39-win_amd64.whl", hash = "sha256:a3f4ab0caa7f053f6797fcd4e1e25caee367db3112ef2b6ef82d749530768c73"}, - {file = "numpy-2.0.2-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:7f0a0c6f12e07fa94133c8a67404322845220c06a9e80e85999afe727f7438b8"}, - {file = "numpy-2.0.2-pp39-pypy39_pp73-macosx_14_0_x86_64.whl", hash = "sha256:312950fdd060354350ed123c0e25a71327d3711584beaef30cdaa93320c392d4"}, - {file = "numpy-2.0.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:26df23238872200f63518dd2aa984cfca675d82469535dc7162dc2ee52d9dd5c"}, - {file = "numpy-2.0.2-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:a46288ec55ebbd58947d31d72be2c63cbf839f0a63b49cb755022310792a3385"}, - {file = "numpy-2.0.2.tar.gz", hash = "sha256:883c987dee1880e2a864ab0dc9892292582510604156762362d9326444636e78"}, -] - -[package.source] -type = "legacy" -url = "https://pypi.org/simple" -reference = "pypi-public" - [[package]] name = "openapi-parser" version = "0.2.6" @@ -1653,18 +1191,18 @@ reference = "pypi-public" [[package]] name = "openapi-spec-validator" -version = "0.6.0" +version = "0.7.1" description = "OpenAPI 2.0 (aka Swagger) and OpenAPI 3 spec validator" optional = false python-versions = ">=3.8.0,<4.0.0" files = [ - {file = "openapi_spec_validator-0.6.0-py3-none-any.whl", hash = "sha256:675f1a3c0d0d8eff9116694acde88bcd4613a95bf5240270724d9d78c78f26d6"}, - {file = "openapi_spec_validator-0.6.0.tar.gz", hash = "sha256:68c4c212c88ef14c6b1a591b895bf742c455783c7ebba2507abd7dbc1365a616"}, + {file = "openapi_spec_validator-0.7.1-py3-none-any.whl", hash = "sha256:3c81825043f24ccbcd2f4b149b11e8231abce5ba84f37065e14ec947d8f4e959"}, + {file = "openapi_spec_validator-0.7.1.tar.gz", hash = "sha256:8577b85a8268685da6f8aa30990b83b7960d4d1117e901d451b5d572605e5ec7"}, ] [package.dependencies] jsonschema = ">=4.18.0,<5.0.0" -jsonschema-spec = ">=0.2.3,<0.3.0" +jsonschema-path = ">=0.3.1,<0.4.0" lazy-object-proxy = ">=1.7.1,<2.0.0" openapi-schema-validator = ">=0.6.0,<0.7.0" @@ -1737,108 +1275,6 @@ type = "legacy" url = "https://pypi.org/simple" reference = "pypi-public" -[[package]] -name = "pillow" -version = "10.4.0" -description = "Python Imaging Library (Fork)" -optional = false -python-versions = ">=3.8" -files = [ - {file = "pillow-10.4.0-cp310-cp310-macosx_10_10_x86_64.whl", hash = "sha256:4d9667937cfa347525b319ae34375c37b9ee6b525440f3ef48542fcf66f2731e"}, - {file = "pillow-10.4.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:543f3dc61c18dafb755773efc89aae60d06b6596a63914107f75459cf984164d"}, - {file = "pillow-10.4.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7928ecbf1ece13956b95d9cbcfc77137652b02763ba384d9ab508099a2eca856"}, - {file = "pillow-10.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e4d49b85c4348ea0b31ea63bc75a9f3857869174e2bf17e7aba02945cd218e6f"}, - {file = "pillow-10.4.0-cp310-cp310-manylinux_2_28_aarch64.whl", hash = "sha256:6c762a5b0997f5659a5ef2266abc1d8851ad7749ad9a6a5506eb23d314e4f46b"}, - {file = "pillow-10.4.0-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:a985e028fc183bf12a77a8bbf36318db4238a3ded7fa9df1b9a133f1cb79f8fc"}, - {file = "pillow-10.4.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:812f7342b0eee081eaec84d91423d1b4650bb9828eb53d8511bcef8ce5aecf1e"}, - {file = "pillow-10.4.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:ac1452d2fbe4978c2eec89fb5a23b8387aba707ac72810d9490118817d9c0b46"}, - {file = "pillow-10.4.0-cp310-cp310-win32.whl", hash = "sha256:bcd5e41a859bf2e84fdc42f4edb7d9aba0a13d29a2abadccafad99de3feff984"}, - {file = "pillow-10.4.0-cp310-cp310-win_amd64.whl", hash = "sha256:ecd85a8d3e79cd7158dec1c9e5808e821feea088e2f69a974db5edf84dc53141"}, - {file = "pillow-10.4.0-cp310-cp310-win_arm64.whl", hash = "sha256:ff337c552345e95702c5fde3158acb0625111017d0e5f24bf3acdb9cc16b90d1"}, - {file = "pillow-10.4.0-cp311-cp311-macosx_10_10_x86_64.whl", hash = "sha256:0a9ec697746f268507404647e531e92889890a087e03681a3606d9b920fbee3c"}, - {file = "pillow-10.4.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:dfe91cb65544a1321e631e696759491ae04a2ea11d36715eca01ce07284738be"}, - {file = "pillow-10.4.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5dc6761a6efc781e6a1544206f22c80c3af4c8cf461206d46a1e6006e4429ff3"}, - {file = "pillow-10.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5e84b6cc6a4a3d76c153a6b19270b3526a5a8ed6b09501d3af891daa2a9de7d6"}, - {file = "pillow-10.4.0-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:bbc527b519bd3aa9d7f429d152fea69f9ad37c95f0b02aebddff592688998abe"}, - {file = "pillow-10.4.0-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:76a911dfe51a36041f2e756b00f96ed84677cdeb75d25c767f296c1c1eda1319"}, - {file = "pillow-10.4.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:59291fb29317122398786c2d44427bbd1a6d7ff54017075b22be9d21aa59bd8d"}, - {file = "pillow-10.4.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:416d3a5d0e8cfe4f27f574362435bc9bae57f679a7158e0096ad2beb427b8696"}, - {file = "pillow-10.4.0-cp311-cp311-win32.whl", hash = "sha256:7086cc1d5eebb91ad24ded9f58bec6c688e9f0ed7eb3dbbf1e4800280a896496"}, - {file = "pillow-10.4.0-cp311-cp311-win_amd64.whl", hash = "sha256:cbed61494057c0f83b83eb3a310f0bf774b09513307c434d4366ed64f4128a91"}, - {file = "pillow-10.4.0-cp311-cp311-win_arm64.whl", hash = "sha256:f5f0c3e969c8f12dd2bb7e0b15d5c468b51e5017e01e2e867335c81903046a22"}, - {file = "pillow-10.4.0-cp312-cp312-macosx_10_10_x86_64.whl", hash = "sha256:673655af3eadf4df6b5457033f086e90299fdd7a47983a13827acf7459c15d94"}, - {file = "pillow-10.4.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:866b6942a92f56300012f5fbac71f2d610312ee65e22f1aa2609e491284e5597"}, - {file = "pillow-10.4.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:29dbdc4207642ea6aad70fbde1a9338753d33fb23ed6956e706936706f52dd80"}, - {file = "pillow-10.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bf2342ac639c4cf38799a44950bbc2dfcb685f052b9e262f446482afaf4bffca"}, - {file = "pillow-10.4.0-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:f5b92f4d70791b4a67157321c4e8225d60b119c5cc9aee8ecf153aace4aad4ef"}, - {file = "pillow-10.4.0-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:86dcb5a1eb778d8b25659d5e4341269e8590ad6b4e8b44d9f4b07f8d136c414a"}, - {file = "pillow-10.4.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:780c072c2e11c9b2c7ca37f9a2ee8ba66f44367ac3e5c7832afcfe5104fd6d1b"}, - {file = "pillow-10.4.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:37fb69d905be665f68f28a8bba3c6d3223c8efe1edf14cc4cfa06c241f8c81d9"}, - {file = "pillow-10.4.0-cp312-cp312-win32.whl", hash = "sha256:7dfecdbad5c301d7b5bde160150b4db4c659cee2b69589705b6f8a0c509d9f42"}, - {file = "pillow-10.4.0-cp312-cp312-win_amd64.whl", hash = "sha256:1d846aea995ad352d4bdcc847535bd56e0fd88d36829d2c90be880ef1ee4668a"}, - {file = "pillow-10.4.0-cp312-cp312-win_arm64.whl", hash = "sha256:e553cad5179a66ba15bb18b353a19020e73a7921296a7979c4a2b7f6a5cd57f9"}, - {file = "pillow-10.4.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8bc1a764ed8c957a2e9cacf97c8b2b053b70307cf2996aafd70e91a082e70df3"}, - {file = "pillow-10.4.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:6209bb41dc692ddfee4942517c19ee81b86c864b626dbfca272ec0f7cff5d9fb"}, - {file = "pillow-10.4.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bee197b30783295d2eb680b311af15a20a8b24024a19c3a26431ff83eb8d1f70"}, - {file = "pillow-10.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1ef61f5dd14c300786318482456481463b9d6b91ebe5ef12f405afbba77ed0be"}, - {file = "pillow-10.4.0-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:297e388da6e248c98bc4a02e018966af0c5f92dfacf5a5ca22fa01cb3179bca0"}, - {file = "pillow-10.4.0-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:e4db64794ccdf6cb83a59d73405f63adbe2a1887012e308828596100a0b2f6cc"}, - {file = "pillow-10.4.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:bd2880a07482090a3bcb01f4265f1936a903d70bc740bfcb1fd4e8a2ffe5cf5a"}, - {file = "pillow-10.4.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:4b35b21b819ac1dbd1233317adeecd63495f6babf21b7b2512d244ff6c6ce309"}, - {file = "pillow-10.4.0-cp313-cp313-win32.whl", hash = "sha256:551d3fd6e9dc15e4c1eb6fc4ba2b39c0c7933fa113b220057a34f4bb3268a060"}, - {file = "pillow-10.4.0-cp313-cp313-win_amd64.whl", hash = "sha256:030abdbe43ee02e0de642aee345efa443740aa4d828bfe8e2eb11922ea6a21ea"}, - {file = "pillow-10.4.0-cp313-cp313-win_arm64.whl", hash = "sha256:5b001114dd152cfd6b23befeb28d7aee43553e2402c9f159807bf55f33af8a8d"}, - {file = "pillow-10.4.0-cp38-cp38-macosx_10_10_x86_64.whl", hash = "sha256:8d4d5063501b6dd4024b8ac2f04962d661222d120381272deea52e3fc52d3736"}, - {file = "pillow-10.4.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:7c1ee6f42250df403c5f103cbd2768a28fe1a0ea1f0f03fe151c8741e1469c8b"}, - {file = "pillow-10.4.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b15e02e9bb4c21e39876698abf233c8c579127986f8207200bc8a8f6bb27acf2"}, - {file = "pillow-10.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7a8d4bade9952ea9a77d0c3e49cbd8b2890a399422258a77f357b9cc9be8d680"}, - {file = "pillow-10.4.0-cp38-cp38-manylinux_2_28_aarch64.whl", hash = "sha256:43efea75eb06b95d1631cb784aa40156177bf9dd5b4b03ff38979e048258bc6b"}, - {file = "pillow-10.4.0-cp38-cp38-manylinux_2_28_x86_64.whl", hash = "sha256:950be4d8ba92aca4b2bb0741285a46bfae3ca699ef913ec8416c1b78eadd64cd"}, - {file = "pillow-10.4.0-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:d7480af14364494365e89d6fddc510a13e5a2c3584cb19ef65415ca57252fb84"}, - {file = "pillow-10.4.0-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:73664fe514b34c8f02452ffb73b7a92c6774e39a647087f83d67f010eb9a0cf0"}, - {file = "pillow-10.4.0-cp38-cp38-win32.whl", hash = "sha256:e88d5e6ad0d026fba7bdab8c3f225a69f063f116462c49892b0149e21b6c0a0e"}, - {file = "pillow-10.4.0-cp38-cp38-win_amd64.whl", hash = "sha256:5161eef006d335e46895297f642341111945e2c1c899eb406882a6c61a4357ab"}, - {file = "pillow-10.4.0-cp39-cp39-macosx_10_10_x86_64.whl", hash = "sha256:0ae24a547e8b711ccaaf99c9ae3cd975470e1a30caa80a6aaee9a2f19c05701d"}, - {file = "pillow-10.4.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:298478fe4f77a4408895605f3482b6cc6222c018b2ce565c2b6b9c354ac3229b"}, - {file = "pillow-10.4.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:134ace6dc392116566980ee7436477d844520a26a4b1bd4053f6f47d096997fd"}, - {file = "pillow-10.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:930044bb7679ab003b14023138b50181899da3f25de50e9dbee23b61b4de2126"}, - {file = "pillow-10.4.0-cp39-cp39-manylinux_2_28_aarch64.whl", hash = "sha256:c76e5786951e72ed3686e122d14c5d7012f16c8303a674d18cdcd6d89557fc5b"}, - {file = "pillow-10.4.0-cp39-cp39-manylinux_2_28_x86_64.whl", hash = "sha256:b2724fdb354a868ddf9a880cb84d102da914e99119211ef7ecbdc613b8c96b3c"}, - {file = "pillow-10.4.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:dbc6ae66518ab3c5847659e9988c3b60dc94ffb48ef9168656e0019a93dbf8a1"}, - {file = "pillow-10.4.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:06b2f7898047ae93fad74467ec3d28fe84f7831370e3c258afa533f81ef7f3df"}, - {file = "pillow-10.4.0-cp39-cp39-win32.whl", hash = "sha256:7970285ab628a3779aecc35823296a7869f889b8329c16ad5a71e4901a3dc4ef"}, - {file = "pillow-10.4.0-cp39-cp39-win_amd64.whl", hash = "sha256:961a7293b2457b405967af9c77dcaa43cc1a8cd50d23c532e62d48ab6cdd56f5"}, - {file = "pillow-10.4.0-cp39-cp39-win_arm64.whl", hash = "sha256:32cda9e3d601a52baccb2856b8ea1fc213c90b340c542dcef77140dfa3278a9e"}, - {file = "pillow-10.4.0-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:5b4815f2e65b30f5fbae9dfffa8636d992d49705723fe86a3661806e069352d4"}, - {file = "pillow-10.4.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:8f0aef4ef59694b12cadee839e2ba6afeab89c0f39a3adc02ed51d109117b8da"}, - {file = "pillow-10.4.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9f4727572e2918acaa9077c919cbbeb73bd2b3ebcfe033b72f858fc9fbef0026"}, - {file = "pillow-10.4.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ff25afb18123cea58a591ea0244b92eb1e61a1fd497bf6d6384f09bc3262ec3e"}, - {file = "pillow-10.4.0-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:dc3e2db6ba09ffd7d02ae9141cfa0ae23393ee7687248d46a7507b75d610f4f5"}, - {file = "pillow-10.4.0-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:02a2be69f9c9b8c1e97cf2713e789d4e398c751ecfd9967c18d0ce304efbf885"}, - {file = "pillow-10.4.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:0755ffd4a0c6f267cccbae2e9903d95477ca2f77c4fcf3a3a09570001856c8a5"}, - {file = "pillow-10.4.0-pp39-pypy39_pp73-macosx_10_15_x86_64.whl", hash = "sha256:a02364621fe369e06200d4a16558e056fe2805d3468350df3aef21e00d26214b"}, - {file = "pillow-10.4.0-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:1b5dea9831a90e9d0721ec417a80d4cbd7022093ac38a568db2dd78363b00908"}, - {file = "pillow-10.4.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9b885f89040bb8c4a1573566bbb2f44f5c505ef6e74cec7ab9068c900047f04b"}, - {file = "pillow-10.4.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:87dd88ded2e6d74d31e1e0a99a726a6765cda32d00ba72dc37f0651f306daaa8"}, - {file = "pillow-10.4.0-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:2db98790afc70118bd0255c2eeb465e9767ecf1f3c25f9a1abb8ffc8cfd1fe0a"}, - {file = "pillow-10.4.0-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:f7baece4ce06bade126fb84b8af1c33439a76d8a6fd818970215e0560ca28c27"}, - {file = "pillow-10.4.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:cfdd747216947628af7b259d274771d84db2268ca062dd5faf373639d00113a3"}, - {file = "pillow-10.4.0.tar.gz", hash = "sha256:166c1cd4d24309b30d61f79f4a9114b7b2313d7450912277855ff5dfd7cd4a06"}, -] - -[package.extras] -docs = ["furo", "olefile", "sphinx (>=7.3)", "sphinx-copybutton", "sphinx-inline-tabs", "sphinxext-opengraph"] -fpx = ["olefile"] -mic = ["olefile"] -tests = ["check-manifest", "coverage", "defusedxml", "markdown2", "olefile", "packaging", "pyroma", "pytest", "pytest-cov", "pytest-timeout"] -typing = ["typing-extensions"] -xmp = ["defusedxml"] - -[package.source] -type = "legacy" -url = "https://pypi.org/simple" -reference = "pypi-public" - [[package]] name = "platformdirs" version = "4.3.2" @@ -1913,18 +1349,18 @@ reference = "pypi-public" [[package]] name = "pydantic" -version = "2.8.2" +version = "2.9.1" description = "Data validation using Python type hints" optional = false python-versions = ">=3.8" files = [ - {file = "pydantic-2.8.2-py3-none-any.whl", hash = "sha256:73ee9fddd406dc318b885c7a2eab8a6472b68b8fb5ba8150949fc3db939f23c8"}, - {file = "pydantic-2.8.2.tar.gz", hash = "sha256:6f62c13d067b0755ad1c21a34bdd06c0c12625a22b0fc09c6b149816604f7c2a"}, + {file = "pydantic-2.9.1-py3-none-any.whl", hash = "sha256:7aff4db5fdf3cf573d4b3c30926a510a10e19a0774d38fc4967f78beb6deb612"}, + {file = "pydantic-2.9.1.tar.gz", hash = "sha256:1363c7d975c7036df0db2b4a61f2e062fbc0aa5ab5f2772e0ffc7191a4f4bce2"}, ] [package.dependencies] -annotated-types = ">=0.4.0" -pydantic-core = "2.20.1" +annotated-types = ">=0.6.0" +pydantic-core = "2.23.3" typing-extensions = [ {version = ">=4.12.2", markers = "python_version >= \"3.13\""}, {version = ">=4.6.1", markers = "python_version < \"3.13\""}, @@ -1932,6 +1368,7 @@ typing-extensions = [ [package.extras] email = ["email-validator (>=2.0.0)"] +timezone = ["tzdata"] [package.source] type = "legacy" @@ -1940,100 +1377,100 @@ reference = "pypi-public" [[package]] name = "pydantic-core" -version = "2.20.1" +version = "2.23.3" description = "Core functionality for Pydantic validation and serialization" optional = false python-versions = ">=3.8" files = [ - {file = "pydantic_core-2.20.1-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:3acae97ffd19bf091c72df4d726d552c473f3576409b2a7ca36b2f535ffff4a3"}, - {file = "pydantic_core-2.20.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:41f4c96227a67a013e7de5ff8f20fb496ce573893b7f4f2707d065907bffdbd6"}, - {file = "pydantic_core-2.20.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5f239eb799a2081495ea659d8d4a43a8f42cd1fe9ff2e7e436295c38a10c286a"}, - {file = "pydantic_core-2.20.1-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:53e431da3fc53360db73eedf6f7124d1076e1b4ee4276b36fb25514544ceb4a3"}, - {file = "pydantic_core-2.20.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f1f62b2413c3a0e846c3b838b2ecd6c7a19ec6793b2a522745b0869e37ab5bc1"}, - {file = "pydantic_core-2.20.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5d41e6daee2813ecceea8eda38062d69e280b39df793f5a942fa515b8ed67953"}, - {file = "pydantic_core-2.20.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3d482efec8b7dc6bfaedc0f166b2ce349df0011f5d2f1f25537ced4cfc34fd98"}, - {file = "pydantic_core-2.20.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:e93e1a4b4b33daed65d781a57a522ff153dcf748dee70b40c7258c5861e1768a"}, - {file = "pydantic_core-2.20.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:e7c4ea22b6739b162c9ecaaa41d718dfad48a244909fe7ef4b54c0b530effc5a"}, - {file = "pydantic_core-2.20.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:4f2790949cf385d985a31984907fecb3896999329103df4e4983a4a41e13e840"}, - {file = "pydantic_core-2.20.1-cp310-none-win32.whl", hash = "sha256:5e999ba8dd90e93d57410c5e67ebb67ffcaadcea0ad973240fdfd3a135506250"}, - {file = "pydantic_core-2.20.1-cp310-none-win_amd64.whl", hash = "sha256:512ecfbefef6dac7bc5eaaf46177b2de58cdf7acac8793fe033b24ece0b9566c"}, - {file = "pydantic_core-2.20.1-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:d2a8fa9d6d6f891f3deec72f5cc668e6f66b188ab14bb1ab52422fe8e644f312"}, - {file = "pydantic_core-2.20.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:175873691124f3d0da55aeea1d90660a6ea7a3cfea137c38afa0a5ffabe37b88"}, - {file = "pydantic_core-2.20.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:37eee5b638f0e0dcd18d21f59b679686bbd18917b87db0193ae36f9c23c355fc"}, - {file = "pydantic_core-2.20.1-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:25e9185e2d06c16ee438ed39bf62935ec436474a6ac4f9358524220f1b236e43"}, - {file = "pydantic_core-2.20.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:150906b40ff188a3260cbee25380e7494ee85048584998c1e66df0c7a11c17a6"}, - {file = "pydantic_core-2.20.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8ad4aeb3e9a97286573c03df758fc7627aecdd02f1da04516a86dc159bf70121"}, - {file = "pydantic_core-2.20.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d3f3ed29cd9f978c604708511a1f9c2fdcb6c38b9aae36a51905b8811ee5cbf1"}, - {file = "pydantic_core-2.20.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:b0dae11d8f5ded51699c74d9548dcc5938e0804cc8298ec0aa0da95c21fff57b"}, - {file = "pydantic_core-2.20.1-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:faa6b09ee09433b87992fb5a2859efd1c264ddc37280d2dd5db502126d0e7f27"}, - {file = "pydantic_core-2.20.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:9dc1b507c12eb0481d071f3c1808f0529ad41dc415d0ca11f7ebfc666e66a18b"}, - {file = "pydantic_core-2.20.1-cp311-none-win32.whl", hash = "sha256:fa2fddcb7107e0d1808086ca306dcade7df60a13a6c347a7acf1ec139aa6789a"}, - {file = "pydantic_core-2.20.1-cp311-none-win_amd64.whl", hash = "sha256:40a783fb7ee353c50bd3853e626f15677ea527ae556429453685ae32280c19c2"}, - {file = "pydantic_core-2.20.1-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:595ba5be69b35777474fa07f80fc260ea71255656191adb22a8c53aba4479231"}, - {file = "pydantic_core-2.20.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:a4f55095ad087474999ee28d3398bae183a66be4823f753cd7d67dd0153427c9"}, - {file = "pydantic_core-2.20.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f9aa05d09ecf4c75157197f27cdc9cfaeb7c5f15021c6373932bf3e124af029f"}, - {file = "pydantic_core-2.20.1-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e97fdf088d4b31ff4ba35db26d9cc472ac7ef4a2ff2badeabf8d727b3377fc52"}, - {file = "pydantic_core-2.20.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:bc633a9fe1eb87e250b5c57d389cf28998e4292336926b0b6cdaee353f89a237"}, - {file = "pydantic_core-2.20.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d573faf8eb7e6b1cbbcb4f5b247c60ca8be39fe2c674495df0eb4318303137fe"}, - {file = "pydantic_core-2.20.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:26dc97754b57d2fd00ac2b24dfa341abffc380b823211994c4efac7f13b9e90e"}, - {file = "pydantic_core-2.20.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:33499e85e739a4b60c9dac710c20a08dc73cb3240c9a0e22325e671b27b70d24"}, - {file = "pydantic_core-2.20.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:bebb4d6715c814597f85297c332297c6ce81e29436125ca59d1159b07f423eb1"}, - {file = "pydantic_core-2.20.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:516d9227919612425c8ef1c9b869bbbee249bc91912c8aaffb66116c0b447ebd"}, - {file = "pydantic_core-2.20.1-cp312-none-win32.whl", hash = "sha256:469f29f9093c9d834432034d33f5fe45699e664f12a13bf38c04967ce233d688"}, - {file = "pydantic_core-2.20.1-cp312-none-win_amd64.whl", hash = "sha256:035ede2e16da7281041f0e626459bcae33ed998cca6a0a007a5ebb73414ac72d"}, - {file = "pydantic_core-2.20.1-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:0827505a5c87e8aa285dc31e9ec7f4a17c81a813d45f70b1d9164e03a813a686"}, - {file = "pydantic_core-2.20.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:19c0fa39fa154e7e0b7f82f88ef85faa2a4c23cc65aae2f5aea625e3c13c735a"}, - {file = "pydantic_core-2.20.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4aa223cd1e36b642092c326d694d8bf59b71ddddc94cdb752bbbb1c5c91d833b"}, - {file = "pydantic_core-2.20.1-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c336a6d235522a62fef872c6295a42ecb0c4e1d0f1a3e500fe949415761b8a19"}, - {file = "pydantic_core-2.20.1-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7eb6a0587eded33aeefea9f916899d42b1799b7b14b8f8ff2753c0ac1741edac"}, - {file = "pydantic_core-2.20.1-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:70c8daf4faca8da5a6d655f9af86faf6ec2e1768f4b8b9d0226c02f3d6209703"}, - {file = "pydantic_core-2.20.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e9fa4c9bf273ca41f940bceb86922a7667cd5bf90e95dbb157cbb8441008482c"}, - {file = "pydantic_core-2.20.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:11b71d67b4725e7e2a9f6e9c0ac1239bbc0c48cce3dc59f98635efc57d6dac83"}, - {file = "pydantic_core-2.20.1-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:270755f15174fb983890c49881e93f8f1b80f0b5e3a3cc1394a255706cabd203"}, - {file = "pydantic_core-2.20.1-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:c81131869240e3e568916ef4c307f8b99583efaa60a8112ef27a366eefba8ef0"}, - {file = "pydantic_core-2.20.1-cp313-none-win32.whl", hash = "sha256:b91ced227c41aa29c672814f50dbb05ec93536abf8f43cd14ec9521ea09afe4e"}, - {file = "pydantic_core-2.20.1-cp313-none-win_amd64.whl", hash = "sha256:65db0f2eefcaad1a3950f498aabb4875c8890438bc80b19362cf633b87a8ab20"}, - {file = "pydantic_core-2.20.1-cp38-cp38-macosx_10_12_x86_64.whl", hash = "sha256:4745f4ac52cc6686390c40eaa01d48b18997cb130833154801a442323cc78f91"}, - {file = "pydantic_core-2.20.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:a8ad4c766d3f33ba8fd692f9aa297c9058970530a32c728a2c4bfd2616d3358b"}, - {file = "pydantic_core-2.20.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:41e81317dd6a0127cabce83c0c9c3fbecceae981c8391e6f1dec88a77c8a569a"}, - {file = "pydantic_core-2.20.1-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:04024d270cf63f586ad41fff13fde4311c4fc13ea74676962c876d9577bcc78f"}, - {file = "pydantic_core-2.20.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:eaad4ff2de1c3823fddf82f41121bdf453d922e9a238642b1dedb33c4e4f98ad"}, - {file = "pydantic_core-2.20.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:26ab812fa0c845df815e506be30337e2df27e88399b985d0bb4e3ecfe72df31c"}, - {file = "pydantic_core-2.20.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3c5ebac750d9d5f2706654c638c041635c385596caf68f81342011ddfa1e5598"}, - {file = "pydantic_core-2.20.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2aafc5a503855ea5885559eae883978c9b6d8c8993d67766ee73d82e841300dd"}, - {file = "pydantic_core-2.20.1-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:4868f6bd7c9d98904b748a2653031fc9c2f85b6237009d475b1008bfaeb0a5aa"}, - {file = "pydantic_core-2.20.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:aa2f457b4af386254372dfa78a2eda2563680d982422641a85f271c859df1987"}, - {file = "pydantic_core-2.20.1-cp38-none-win32.whl", hash = "sha256:225b67a1f6d602de0ce7f6c1c3ae89a4aa25d3de9be857999e9124f15dab486a"}, - {file = "pydantic_core-2.20.1-cp38-none-win_amd64.whl", hash = "sha256:6b507132dcfc0dea440cce23ee2182c0ce7aba7054576efc65634f080dbe9434"}, - {file = "pydantic_core-2.20.1-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:b03f7941783b4c4a26051846dea594628b38f6940a2fdc0df00b221aed39314c"}, - {file = "pydantic_core-2.20.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:1eedfeb6089ed3fad42e81a67755846ad4dcc14d73698c120a82e4ccf0f1f9f6"}, - {file = "pydantic_core-2.20.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:635fee4e041ab9c479e31edda27fcf966ea9614fff1317e280d99eb3e5ab6fe2"}, - {file = "pydantic_core-2.20.1-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:77bf3ac639c1ff567ae3b47f8d4cc3dc20f9966a2a6dd2311dcc055d3d04fb8a"}, - {file = "pydantic_core-2.20.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7ed1b0132f24beeec5a78b67d9388656d03e6a7c837394f99257e2d55b461611"}, - {file = "pydantic_core-2.20.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c6514f963b023aeee506678a1cf821fe31159b925c4b76fe2afa94cc70b3222b"}, - {file = "pydantic_core-2.20.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:10d4204d8ca33146e761c79f83cc861df20e7ae9f6487ca290a97702daf56006"}, - {file = "pydantic_core-2.20.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2d036c7187b9422ae5b262badb87a20a49eb6c5238b2004e96d4da1231badef1"}, - {file = "pydantic_core-2.20.1-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:9ebfef07dbe1d93efb94b4700f2d278494e9162565a54f124c404a5656d7ff09"}, - {file = "pydantic_core-2.20.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:6b9d9bb600328a1ce523ab4f454859e9d439150abb0906c5a1983c146580ebab"}, - {file = "pydantic_core-2.20.1-cp39-none-win32.whl", hash = "sha256:784c1214cb6dd1e3b15dd8b91b9a53852aed16671cc3fbe4786f4f1db07089e2"}, - {file = "pydantic_core-2.20.1-cp39-none-win_amd64.whl", hash = "sha256:d2fe69c5434391727efa54b47a1e7986bb0186e72a41b203df8f5b0a19a4f669"}, - {file = "pydantic_core-2.20.1-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:a45f84b09ac9c3d35dfcf6a27fd0634d30d183205230a0ebe8373a0e8cfa0906"}, - {file = "pydantic_core-2.20.1-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:d02a72df14dfdbaf228424573a07af10637bd490f0901cee872c4f434a735b94"}, - {file = "pydantic_core-2.20.1-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d2b27e6af28f07e2f195552b37d7d66b150adbaa39a6d327766ffd695799780f"}, - {file = "pydantic_core-2.20.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:084659fac3c83fd674596612aeff6041a18402f1e1bc19ca39e417d554468482"}, - {file = "pydantic_core-2.20.1-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:242b8feb3c493ab78be289c034a1f659e8826e2233786e36f2893a950a719bb6"}, - {file = "pydantic_core-2.20.1-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:38cf1c40a921d05c5edc61a785c0ddb4bed67827069f535d794ce6bcded919fc"}, - {file = "pydantic_core-2.20.1-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:e0bbdd76ce9aa5d4209d65f2b27fc6e5ef1312ae6c5333c26db3f5ade53a1e99"}, - {file = "pydantic_core-2.20.1-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:254ec27fdb5b1ee60684f91683be95e5133c994cc54e86a0b0963afa25c8f8a6"}, - {file = "pydantic_core-2.20.1-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:407653af5617f0757261ae249d3fba09504d7a71ab36ac057c938572d1bc9331"}, - {file = "pydantic_core-2.20.1-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:c693e916709c2465b02ca0ad7b387c4f8423d1db7b4649c551f27a529181c5ad"}, - {file = "pydantic_core-2.20.1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5b5ff4911aea936a47d9376fd3ab17e970cc543d1b68921886e7f64bd28308d1"}, - {file = "pydantic_core-2.20.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:177f55a886d74f1808763976ac4efd29b7ed15c69f4d838bbd74d9d09cf6fa86"}, - {file = "pydantic_core-2.20.1-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:964faa8a861d2664f0c7ab0c181af0bea66098b1919439815ca8803ef136fc4e"}, - {file = "pydantic_core-2.20.1-pp39-pypy39_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:4dd484681c15e6b9a977c785a345d3e378d72678fd5f1f3c0509608da24f2ac0"}, - {file = "pydantic_core-2.20.1-pp39-pypy39_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:f6d6cff3538391e8486a431569b77921adfcdef14eb18fbf19b7c0a5294d4e6a"}, - {file = "pydantic_core-2.20.1-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:a6d511cc297ff0883bc3708b465ff82d7560193169a8b93260f74ecb0a5e08a7"}, - {file = "pydantic_core-2.20.1.tar.gz", hash = "sha256:26ca695eeee5f9f1aeeb211ffc12f10bcb6f71e2989988fda61dabd65db878d4"}, + {file = "pydantic_core-2.23.3-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:7f10a5d1b9281392f1bf507d16ac720e78285dfd635b05737c3911637601bae6"}, + {file = "pydantic_core-2.23.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:3c09a7885dd33ee8c65266e5aa7fb7e2f23d49d8043f089989726391dd7350c5"}, + {file = "pydantic_core-2.23.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6470b5a1ec4d1c2e9afe928c6cb37eb33381cab99292a708b8cb9aa89e62429b"}, + {file = "pydantic_core-2.23.3-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:9172d2088e27d9a185ea0a6c8cebe227a9139fd90295221d7d495944d2367700"}, + {file = "pydantic_core-2.23.3-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:86fc6c762ca7ac8fbbdff80d61b2c59fb6b7d144aa46e2d54d9e1b7b0e780e01"}, + {file = "pydantic_core-2.23.3-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f0cb80fd5c2df4898693aa841425ea1727b1b6d2167448253077d2a49003e0ed"}, + {file = "pydantic_core-2.23.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:03667cec5daf43ac4995cefa8aaf58f99de036204a37b889c24a80927b629cec"}, + {file = "pydantic_core-2.23.3-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:047531242f8e9c2db733599f1c612925de095e93c9cc0e599e96cf536aaf56ba"}, + {file = "pydantic_core-2.23.3-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:5499798317fff7f25dbef9347f4451b91ac2a4330c6669821c8202fd354c7bee"}, + {file = "pydantic_core-2.23.3-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:bbb5e45eab7624440516ee3722a3044b83fff4c0372efe183fd6ba678ff681fe"}, + {file = "pydantic_core-2.23.3-cp310-none-win32.whl", hash = "sha256:8b5b3ed73abb147704a6e9f556d8c5cb078f8c095be4588e669d315e0d11893b"}, + {file = "pydantic_core-2.23.3-cp310-none-win_amd64.whl", hash = "sha256:2b603cde285322758a0279995b5796d64b63060bfbe214b50a3ca23b5cee3e83"}, + {file = "pydantic_core-2.23.3-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:c889fd87e1f1bbeb877c2ee56b63bb297de4636661cc9bbfcf4b34e5e925bc27"}, + {file = "pydantic_core-2.23.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:ea85bda3189fb27503af4c45273735bcde3dd31c1ab17d11f37b04877859ef45"}, + {file = "pydantic_core-2.23.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a7f7f72f721223f33d3dc98a791666ebc6a91fa023ce63733709f4894a7dc611"}, + {file = "pydantic_core-2.23.3-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:2b2b55b0448e9da68f56b696f313949cda1039e8ec7b5d294285335b53104b61"}, + {file = "pydantic_core-2.23.3-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c24574c7e92e2c56379706b9a3f07c1e0c7f2f87a41b6ee86653100c4ce343e5"}, + {file = "pydantic_core-2.23.3-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f2b05e6ccbee333a8f4b8f4d7c244fdb7a979e90977ad9c51ea31261e2085ce0"}, + {file = "pydantic_core-2.23.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e2c409ce1c219c091e47cb03feb3c4ed8c2b8e004efc940da0166aaee8f9d6c8"}, + {file = "pydantic_core-2.23.3-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d965e8b325f443ed3196db890d85dfebbb09f7384486a77461347f4adb1fa7f8"}, + {file = "pydantic_core-2.23.3-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:f56af3a420fb1ffaf43ece3ea09c2d27c444e7c40dcb7c6e7cf57aae764f2b48"}, + {file = "pydantic_core-2.23.3-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:5b01a078dd4f9a52494370af21aa52964e0a96d4862ac64ff7cea06e0f12d2c5"}, + {file = "pydantic_core-2.23.3-cp311-none-win32.whl", hash = "sha256:560e32f0df04ac69b3dd818f71339983f6d1f70eb99d4d1f8e9705fb6c34a5c1"}, + {file = "pydantic_core-2.23.3-cp311-none-win_amd64.whl", hash = "sha256:c744fa100fdea0d000d8bcddee95213d2de2e95b9c12be083370b2072333a0fa"}, + {file = "pydantic_core-2.23.3-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:e0ec50663feedf64d21bad0809f5857bac1ce91deded203efc4a84b31b2e4305"}, + {file = "pydantic_core-2.23.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:db6e6afcb95edbe6b357786684b71008499836e91f2a4a1e55b840955b341dbb"}, + {file = "pydantic_core-2.23.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:98ccd69edcf49f0875d86942f4418a4e83eb3047f20eb897bffa62a5d419c8fa"}, + {file = "pydantic_core-2.23.3-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a678c1ac5c5ec5685af0133262103defb427114e62eafeda12f1357a12140162"}, + {file = "pydantic_core-2.23.3-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:01491d8b4d8db9f3391d93b0df60701e644ff0894352947f31fff3e52bd5c801"}, + {file = "pydantic_core-2.23.3-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:fcf31facf2796a2d3b7fe338fe8640aa0166e4e55b4cb108dbfd1058049bf4cb"}, + {file = "pydantic_core-2.23.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7200fd561fb3be06827340da066df4311d0b6b8eb0c2116a110be5245dceb326"}, + {file = "pydantic_core-2.23.3-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:dc1636770a809dee2bd44dd74b89cc80eb41172bcad8af75dd0bc182c2666d4c"}, + {file = "pydantic_core-2.23.3-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:67a5def279309f2e23014b608c4150b0c2d323bd7bccd27ff07b001c12c2415c"}, + {file = "pydantic_core-2.23.3-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:748bdf985014c6dd3e1e4cc3db90f1c3ecc7246ff5a3cd4ddab20c768b2f1dab"}, + {file = "pydantic_core-2.23.3-cp312-none-win32.whl", hash = "sha256:255ec6dcb899c115f1e2a64bc9ebc24cc0e3ab097775755244f77360d1f3c06c"}, + {file = "pydantic_core-2.23.3-cp312-none-win_amd64.whl", hash = "sha256:40b8441be16c1e940abebed83cd006ddb9e3737a279e339dbd6d31578b802f7b"}, + {file = "pydantic_core-2.23.3-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:6daaf5b1ba1369a22c8b050b643250e3e5efc6a78366d323294aee54953a4d5f"}, + {file = "pydantic_core-2.23.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:d015e63b985a78a3d4ccffd3bdf22b7c20b3bbd4b8227809b3e8e75bc37f9cb2"}, + {file = "pydantic_core-2.23.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a3fc572d9b5b5cfe13f8e8a6e26271d5d13f80173724b738557a8c7f3a8a3791"}, + {file = "pydantic_core-2.23.3-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f6bd91345b5163ee7448bee201ed7dd601ca24f43f439109b0212e296eb5b423"}, + {file = "pydantic_core-2.23.3-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:fc379c73fd66606628b866f661e8785088afe2adaba78e6bbe80796baf708a63"}, + {file = "pydantic_core-2.23.3-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:fbdce4b47592f9e296e19ac31667daed8753c8367ebb34b9a9bd89dacaa299c9"}, + {file = "pydantic_core-2.23.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fc3cf31edf405a161a0adad83246568647c54404739b614b1ff43dad2b02e6d5"}, + {file = "pydantic_core-2.23.3-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:8e22b477bf90db71c156f89a55bfe4d25177b81fce4aa09294d9e805eec13855"}, + {file = "pydantic_core-2.23.3-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:0a0137ddf462575d9bce863c4c95bac3493ba8e22f8c28ca94634b4a1d3e2bb4"}, + {file = "pydantic_core-2.23.3-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:203171e48946c3164fe7691fc349c79241ff8f28306abd4cad5f4f75ed80bc8d"}, + {file = "pydantic_core-2.23.3-cp313-none-win32.whl", hash = "sha256:76bdab0de4acb3f119c2a4bff740e0c7dc2e6de7692774620f7452ce11ca76c8"}, + {file = "pydantic_core-2.23.3-cp313-none-win_amd64.whl", hash = "sha256:37ba321ac2a46100c578a92e9a6aa33afe9ec99ffa084424291d84e456f490c1"}, + {file = "pydantic_core-2.23.3-cp38-cp38-macosx_10_12_x86_64.whl", hash = "sha256:d063c6b9fed7d992bcbebfc9133f4c24b7a7f215d6b102f3e082b1117cddb72c"}, + {file = "pydantic_core-2.23.3-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:6cb968da9a0746a0cf521b2b5ef25fc5a0bee9b9a1a8214e0a1cfaea5be7e8a4"}, + {file = "pydantic_core-2.23.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:edbefe079a520c5984e30e1f1f29325054b59534729c25b874a16a5048028d16"}, + {file = "pydantic_core-2.23.3-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:cbaaf2ef20d282659093913da9d402108203f7cb5955020bd8d1ae5a2325d1c4"}, + {file = "pydantic_core-2.23.3-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:fb539d7e5dc4aac345846f290cf504d2fd3c1be26ac4e8b5e4c2b688069ff4cf"}, + {file = "pydantic_core-2.23.3-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7e6f33503c5495059148cc486867e1d24ca35df5fc064686e631e314d959ad5b"}, + {file = "pydantic_core-2.23.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:04b07490bc2f6f2717b10c3969e1b830f5720b632f8ae2f3b8b1542394c47a8e"}, + {file = "pydantic_core-2.23.3-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:03795b9e8a5d7fda05f3873efc3f59105e2dcff14231680296b87b80bb327295"}, + {file = "pydantic_core-2.23.3-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:c483dab0f14b8d3f0df0c6c18d70b21b086f74c87ab03c59250dbf6d3c89baba"}, + {file = "pydantic_core-2.23.3-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:8b2682038e255e94baf2c473dca914a7460069171ff5cdd4080be18ab8a7fd6e"}, + {file = "pydantic_core-2.23.3-cp38-none-win32.whl", hash = "sha256:f4a57db8966b3a1d1a350012839c6a0099f0898c56512dfade8a1fe5fb278710"}, + {file = "pydantic_core-2.23.3-cp38-none-win_amd64.whl", hash = "sha256:13dd45ba2561603681a2676ca56006d6dee94493f03d5cadc055d2055615c3ea"}, + {file = "pydantic_core-2.23.3-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:82da2f4703894134a9f000e24965df73cc103e31e8c31906cc1ee89fde72cbd8"}, + {file = "pydantic_core-2.23.3-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:dd9be0a42de08f4b58a3cc73a123f124f65c24698b95a54c1543065baca8cf0e"}, + {file = "pydantic_core-2.23.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:89b731f25c80830c76fdb13705c68fef6a2b6dc494402987c7ea9584fe189f5d"}, + {file = "pydantic_core-2.23.3-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c6de1ec30c4bb94f3a69c9f5f2182baeda5b809f806676675e9ef6b8dc936f28"}, + {file = "pydantic_core-2.23.3-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:bb68b41c3fa64587412b104294b9cbb027509dc2f6958446c502638d481525ef"}, + {file = "pydantic_core-2.23.3-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1c3980f2843de5184656aab58698011b42763ccba11c4a8c35936c8dd6c7068c"}, + {file = "pydantic_core-2.23.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:94f85614f2cba13f62c3c6481716e4adeae48e1eaa7e8bac379b9d177d93947a"}, + {file = "pydantic_core-2.23.3-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:510b7fb0a86dc8f10a8bb43bd2f97beb63cffad1203071dc434dac26453955cd"}, + {file = "pydantic_core-2.23.3-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:1eba2f7ce3e30ee2170410e2171867ea73dbd692433b81a93758ab2de6c64835"}, + {file = "pydantic_core-2.23.3-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:4b259fd8409ab84b4041b7b3f24dcc41e4696f180b775961ca8142b5b21d0e70"}, + {file = "pydantic_core-2.23.3-cp39-none-win32.whl", hash = "sha256:40d9bd259538dba2f40963286009bf7caf18b5112b19d2b55b09c14dde6db6a7"}, + {file = "pydantic_core-2.23.3-cp39-none-win_amd64.whl", hash = "sha256:5a8cd3074a98ee70173a8633ad3c10e00dcb991ecec57263aacb4095c5efb958"}, + {file = "pydantic_core-2.23.3-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:f399e8657c67313476a121a6944311fab377085ca7f490648c9af97fc732732d"}, + {file = "pydantic_core-2.23.3-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:6b5547d098c76e1694ba85f05b595720d7c60d342f24d5aad32c3049131fa5c4"}, + {file = "pydantic_core-2.23.3-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0dda0290a6f608504882d9f7650975b4651ff91c85673341789a476b1159f211"}, + {file = "pydantic_core-2.23.3-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:65b6e5da855e9c55a0c67f4db8a492bf13d8d3316a59999cfbaf98cc6e401961"}, + {file = "pydantic_core-2.23.3-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:09e926397f392059ce0afdcac920df29d9c833256354d0c55f1584b0b70cf07e"}, + {file = "pydantic_core-2.23.3-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:87cfa0ed6b8c5bd6ae8b66de941cece179281239d482f363814d2b986b79cedc"}, + {file = "pydantic_core-2.23.3-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:e61328920154b6a44d98cabcb709f10e8b74276bc709c9a513a8c37a18786cc4"}, + {file = "pydantic_core-2.23.3-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:ce3317d155628301d649fe5e16a99528d5680af4ec7aa70b90b8dacd2d725c9b"}, + {file = "pydantic_core-2.23.3-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:e89513f014c6be0d17b00a9a7c81b1c426f4eb9224b15433f3d98c1a071f8433"}, + {file = "pydantic_core-2.23.3-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:4f62c1c953d7ee375df5eb2e44ad50ce2f5aff931723b398b8bc6f0ac159791a"}, + {file = "pydantic_core-2.23.3-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2718443bc671c7ac331de4eef9b673063b10af32a0bb385019ad61dcf2cc8f6c"}, + {file = "pydantic_core-2.23.3-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a0d90e08b2727c5d01af1b5ef4121d2f0c99fbee692c762f4d9d0409c9da6541"}, + {file = "pydantic_core-2.23.3-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2b676583fc459c64146debea14ba3af54e540b61762dfc0613dc4e98c3f66eeb"}, + {file = "pydantic_core-2.23.3-pp39-pypy39_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:50e4661f3337977740fdbfbae084ae5693e505ca2b3130a6d4eb0f2281dc43b8"}, + {file = "pydantic_core-2.23.3-pp39-pypy39_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:68f4cf373f0de6abfe599a38307f4417c1c867ca381c03df27c873a9069cda25"}, + {file = "pydantic_core-2.23.3-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:59d52cf01854cb26c46958552a21acb10dd78a52aa34c86f284e66b209db8cab"}, + {file = "pydantic_core-2.23.3.tar.gz", hash = "sha256:3cb0f65d8b4121c1b015c60104a685feb929a29d7cf204387c7f2688c7974690"}, ] [package.dependencies] @@ -2185,25 +1622,6 @@ type = "legacy" url = "https://pypi.org/simple" reference = "pypi-public" -[[package]] -name = "pyparsing" -version = "3.1.4" -description = "pyparsing module - Classes and methods to define and execute parsing grammars" -optional = false -python-versions = ">=3.6.8" -files = [ - {file = "pyparsing-3.1.4-py3-none-any.whl", hash = "sha256:a6a7ee4235a3f944aa1fa2249307708f893fe5717dc603503c6c7969c070fb7c"}, - {file = "pyparsing-3.1.4.tar.gz", hash = "sha256:f86ec8d1a83f11977c9a6ea7598e8c27fc5cddfa5b07ea2241edbbde1d7bc032"}, -] - -[package.extras] -diagrams = ["jinja2", "railroad-diagrams"] - -[package.source] -type = "legacy" -url = "https://pypi.org/simple" -reference = "pypi-public" - [[package]] name = "pytest" version = "8.3.3" @@ -2256,13 +1674,13 @@ reference = "pypi-public" [[package]] name = "pytest-cov" -version = "4.1.0" +version = "5.0.0" description = "Pytest plugin for measuring coverage." optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "pytest-cov-4.1.0.tar.gz", hash = "sha256:3904b13dfbfec47f003b8e77fd5b589cd11904a21ddf1ab38a64f204d6a10ef6"}, - {file = "pytest_cov-4.1.0-py3-none-any.whl", hash = "sha256:6ba70b9e97e69fcc3fb45bfeab2d0a138fb65c4d0d6a41ef33983ad114be8c3a"}, + {file = "pytest-cov-5.0.0.tar.gz", hash = "sha256:5837b58e9f6ebd335b0f8060eecce69b662415b16dc503883a02f45dfeb14857"}, + {file = "pytest_cov-5.0.0-py3-none-any.whl", hash = "sha256:4f0764a1219df53214206bf1feea4633c3b558a2925c8b59f144f682861ce652"}, ] [package.dependencies] @@ -2270,7 +1688,7 @@ coverage = {version = ">=5.2.1", extras = ["toml"]} pytest = ">=4.6" [package.extras] -testing = ["fields", "hunter", "process-tests", "pytest-xdist", "six", "virtualenv"] +testing = ["fields", "hunter", "process-tests", "pytest-xdist", "virtualenv"] [package.source] type = "legacy" @@ -2325,13 +1743,13 @@ reference = "pypi-public" [[package]] name = "referencing" -version = "0.30.2" +version = "0.35.1" description = "JSON Referencing + Python" optional = false python-versions = ">=3.8" files = [ - {file = "referencing-0.30.2-py3-none-any.whl", hash = "sha256:449b6669b6121a9e96a7f9e410b245d471e8d48964c67113ce9afe50c8dd7bdf"}, - {file = "referencing-0.30.2.tar.gz", hash = "sha256:794ad8003c65938edcdbc027f1933215e0d0ccc0291e3ce20a4d87432b59efc0"}, + {file = "referencing-0.35.1-py3-none-any.whl", hash = "sha256:eda6d3234d62814d1c64e305c1331c9a3a6132da475ab6382eaa997b21ee75de"}, + {file = "referencing-0.35.1.tar.gz", hash = "sha256:25b42124a6c8b632a425174f24087783efb348a6f1e0008e63cd4466fedf703c"}, ] [package.dependencies] @@ -2687,28 +2105,29 @@ reference = "pypi-public" [[package]] name = "ruff" -version = "0.3.7" +version = "0.6.4" description = "An extremely fast Python linter and code formatter, written in Rust." optional = false python-versions = ">=3.7" files = [ - {file = "ruff-0.3.7-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:0e8377cccb2f07abd25e84fc5b2cbe48eeb0fea9f1719cad7caedb061d70e5ce"}, - {file = "ruff-0.3.7-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:15a4d1cc1e64e556fa0d67bfd388fed416b7f3b26d5d1c3e7d192c897e39ba4b"}, - {file = "ruff-0.3.7-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d28bdf3d7dc71dd46929fafeec98ba89b7c3550c3f0978e36389b5631b793663"}, - {file = "ruff-0.3.7-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:379b67d4f49774ba679593b232dcd90d9e10f04d96e3c8ce4a28037ae473f7bb"}, - {file = "ruff-0.3.7-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c060aea8ad5ef21cdfbbe05475ab5104ce7827b639a78dd55383a6e9895b7c51"}, - {file = "ruff-0.3.7-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:ebf8f615dde968272d70502c083ebf963b6781aacd3079081e03b32adfe4d58a"}, - {file = "ruff-0.3.7-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d48098bd8f5c38897b03604f5428901b65e3c97d40b3952e38637b5404b739a2"}, - {file = "ruff-0.3.7-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:da8a4fda219bf9024692b1bc68c9cff4b80507879ada8769dc7e985755d662ea"}, - {file = "ruff-0.3.7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c44e0149f1d8b48c4d5c33d88c677a4aa22fd09b1683d6a7ff55b816b5d074f"}, - {file = "ruff-0.3.7-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:3050ec0af72b709a62ecc2aca941b9cd479a7bf2b36cc4562f0033d688e44fa1"}, - {file = "ruff-0.3.7-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:a29cc38e4c1ab00da18a3f6777f8b50099d73326981bb7d182e54a9a21bb4ff7"}, - {file = "ruff-0.3.7-py3-none-musllinux_1_2_i686.whl", hash = "sha256:5b15cc59c19edca917f51b1956637db47e200b0fc5e6e1878233d3a938384b0b"}, - {file = "ruff-0.3.7-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:e491045781b1e38b72c91247cf4634f040f8d0cb3e6d3d64d38dcf43616650b4"}, - {file = "ruff-0.3.7-py3-none-win32.whl", hash = "sha256:bc931de87593d64fad3a22e201e55ad76271f1d5bfc44e1a1887edd0903c7d9f"}, - {file = "ruff-0.3.7-py3-none-win_amd64.whl", hash = "sha256:5ef0e501e1e39f35e03c2acb1d1238c595b8bb36cf7a170e7c1df1b73da00e74"}, - {file = "ruff-0.3.7-py3-none-win_arm64.whl", hash = "sha256:789e144f6dc7019d1f92a812891c645274ed08af6037d11fc65fcbc183b7d59f"}, - {file = "ruff-0.3.7.tar.gz", hash = "sha256:d5c1aebee5162c2226784800ae031f660c350e7a3402c4d1f8ea4e97e232e3ba"}, + {file = "ruff-0.6.4-py3-none-linux_armv6l.whl", hash = "sha256:c4b153fc152af51855458e79e835fb6b933032921756cec9af7d0ba2aa01a258"}, + {file = "ruff-0.6.4-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:bedff9e4f004dad5f7f76a9d39c4ca98af526c9b1695068198b3bda8c085ef60"}, + {file = "ruff-0.6.4-py3-none-macosx_11_0_arm64.whl", hash = "sha256:d02a4127a86de23002e694d7ff19f905c51e338c72d8e09b56bfb60e1681724f"}, + {file = "ruff-0.6.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7862f42fc1a4aca1ea3ffe8a11f67819d183a5693b228f0bb3a531f5e40336fc"}, + {file = "ruff-0.6.4-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:eebe4ff1967c838a1a9618a5a59a3b0a00406f8d7eefee97c70411fefc353617"}, + {file = "ruff-0.6.4-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:932063a03bac394866683e15710c25b8690ccdca1cf192b9a98260332ca93408"}, + {file = "ruff-0.6.4-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:50e30b437cebef547bd5c3edf9ce81343e5dd7c737cb36ccb4fe83573f3d392e"}, + {file = "ruff-0.6.4-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c44536df7b93a587de690e124b89bd47306fddd59398a0fb12afd6133c7b3818"}, + {file = "ruff-0.6.4-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0ea086601b22dc5e7693a78f3fcfc460cceabfdf3bdc36dc898792aba48fbad6"}, + {file = "ruff-0.6.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0b52387d3289ccd227b62102c24714ed75fbba0b16ecc69a923a37e3b5e0aaaa"}, + {file = "ruff-0.6.4-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:0308610470fcc82969082fc83c76c0d362f562e2f0cdab0586516f03a4e06ec6"}, + {file = "ruff-0.6.4-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:803b96dea21795a6c9d5bfa9e96127cc9c31a1987802ca68f35e5c95aed3fc0d"}, + {file = "ruff-0.6.4-py3-none-musllinux_1_2_i686.whl", hash = "sha256:66dbfea86b663baab8fcae56c59f190caba9398df1488164e2df53e216248baa"}, + {file = "ruff-0.6.4-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:34d5efad480193c046c86608dbba2bccdc1c5fd11950fb271f8086e0c763a5d1"}, + {file = "ruff-0.6.4-py3-none-win32.whl", hash = "sha256:f0f8968feea5ce3777c0d8365653d5e91c40c31a81d95824ba61d871a11b8523"}, + {file = "ruff-0.6.4-py3-none-win_amd64.whl", hash = "sha256:549daccee5227282289390b0222d0fbee0275d1db6d514550d65420053021a58"}, + {file = "ruff-0.6.4-py3-none-win_arm64.whl", hash = "sha256:ac4b75e898ed189b3708c9ab3fc70b79a433219e1e87193b4f2b77251d058d14"}, + {file = "ruff-0.6.4.tar.gz", hash = "sha256:ac3b5bfbee99973f80aa1b7cbd1c9cbce200883bdd067300c22a6cc1c7fba212"}, ] [package.source] @@ -2766,27 +2185,27 @@ reference = "pypi-public" [[package]] name = "sphinx" -version = "7.3.7" +version = "7.4.7" description = "Python documentation generator" optional = false python-versions = ">=3.9" files = [ - {file = "sphinx-7.3.7-py3-none-any.whl", hash = "sha256:413f75440be4cacf328f580b4274ada4565fb2187d696a84970c23f77b64d8c3"}, - {file = "sphinx-7.3.7.tar.gz", hash = "sha256:a4a7db75ed37531c05002d56ed6948d4c42f473a36f46e1382b0bd76ca9627bc"}, + {file = "sphinx-7.4.7-py3-none-any.whl", hash = "sha256:c2419e2135d11f1951cd994d6eb18a1835bd8fdd8429f9ca375dc1f3281bd239"}, + {file = "sphinx-7.4.7.tar.gz", hash = "sha256:242f92a7ea7e6c5b406fdc2615413890ba9f699114a9c09192d7dfead2ee9cfe"}, ] [package.dependencies] alabaster = ">=0.7.14,<0.8.0" -babel = ">=2.9" -colorama = {version = ">=0.4.5", markers = "sys_platform == \"win32\""} -docutils = ">=0.18.1,<0.22" +babel = ">=2.13" +colorama = {version = ">=0.4.6", markers = "sys_platform == \"win32\""} +docutils = ">=0.20,<0.22" imagesize = ">=1.3" -importlib-metadata = {version = ">=4.8", markers = "python_version < \"3.10\""} -Jinja2 = ">=3.0" -packaging = ">=21.0" -Pygments = ">=2.14" -requests = ">=2.25.0" -snowballstemmer = ">=2.0" +importlib-metadata = {version = ">=6.0", markers = "python_version < \"3.10\""} +Jinja2 = ">=3.1" +packaging = ">=23.0" +Pygments = ">=2.17" +requests = ">=2.30.0" +snowballstemmer = ">=2.2" sphinxcontrib-applehelp = "*" sphinxcontrib-devhelp = "*" sphinxcontrib-htmlhelp = ">=2.0.0" @@ -2797,8 +2216,8 @@ tomli = {version = ">=2", markers = "python_version < \"3.11\""} [package.extras] docs = ["sphinxcontrib-websupport"] -lint = ["flake8 (>=3.5.0)", "importlib_metadata", "mypy (==1.9.0)", "pytest (>=6.0)", "ruff (==0.3.7)", "sphinx-lint", "tomli", "types-docutils", "types-requests"] -test = ["cython (>=3.0)", "defusedxml (>=0.7.1)", "pytest (>=6.0)", "setuptools (>=67.0)"] +lint = ["flake8 (>=6.0)", "importlib-metadata (>=6.0)", "mypy (==1.10.1)", "pytest (>=6.0)", "ruff (==0.5.2)", "sphinx-lint (>=0.9)", "tomli (>=2)", "types-docutils (==0.21.0.20240711)", "types-requests (>=2.30.0)"] +test = ["cython (>=3.0)", "defusedxml (>=0.7.1)", "pytest (>=8.0)", "setuptools (>=70.0)", "typing_extensions (>=4.9)"] [package.source] type = "legacy" @@ -2883,18 +2302,18 @@ reference = "pypi-public" [[package]] name = "sphinx-rtd-theme" -version = "1.3.0" +version = "2.0.0" description = "Read the Docs theme for Sphinx" optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7" +python-versions = ">=3.6" files = [ - {file = "sphinx_rtd_theme-1.3.0-py2.py3-none-any.whl", hash = "sha256:46ddef89cc2416a81ecfbeaceab1881948c014b1b6e4450b815311a89fb977b0"}, - {file = "sphinx_rtd_theme-1.3.0.tar.gz", hash = "sha256:590b030c7abb9cf038ec053b95e5380b5c70d61591eb0b552063fbe7c41f0931"}, + {file = "sphinx_rtd_theme-2.0.0-py2.py3-none-any.whl", hash = "sha256:ec93d0856dc280cf3aee9a4c9807c60e027c7f7b461b77aeffed682e68f0e586"}, + {file = "sphinx_rtd_theme-2.0.0.tar.gz", hash = "sha256:bd5d7b80622406762073a04ef8fadc5f9151261563d47027de09910ce03afe6b"}, ] [package.dependencies] -docutils = "<0.19" -sphinx = ">=1.6,<8" +docutils = "<0.21" +sphinx = ">=5,<8" sphinxcontrib-jquery = ">=4,<5" [package.extras] @@ -3073,17 +2492,16 @@ reference = "pypi-public" [[package]] name = "sphinxext-opengraph" -version = "0.8.2" +version = "0.9.1" description = "Sphinx Extension to enable OGP support" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "sphinxext-opengraph-0.8.2.tar.gz", hash = "sha256:45a693b6704052c426576f0a1f630649c55b4188bc49eb63e9587e24a923db39"}, - {file = "sphinxext_opengraph-0.8.2-py3-none-any.whl", hash = "sha256:6a05bdfe5176d9dd0a1d58a504f17118362ab976631213cd36fb44c4c40544c9"}, + {file = "sphinxext-opengraph-0.9.1.tar.gz", hash = "sha256:dd2868a1e7c9497977fbbf44cc0844a42af39ca65fe1bb0272518af225d06fc5"}, + {file = "sphinxext_opengraph-0.9.1-py3-none-any.whl", hash = "sha256:b3b230cc6a5b5189139df937f0d9c7b23c7c204493b22646273687969dcb760e"}, ] [package.dependencies] -matplotlib = "*" sphinx = ">=4.0" [package.source] @@ -3387,4 +2805,4 @@ reference = "pypi-public" [metadata] lock-version = "2.0" python-versions = ">=3.9,<4.0" -content-hash = "bb491699bbd6bf0b25c68b61c7f3f456d7b365a7e792de30680cb55e71c3eea1" +content-hash = "c8ddd71f87534c29d81ec0b70b2600a97058d72d61fb395d3f7062c91a970b92" diff --git a/pyproject.toml b/pyproject.toml index 6c54d6509..3309323d1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "kittycad" -version = "0.6.23" +version = "0.6.24" description = "A client library for accessing KittyCAD" authors = [] @@ -17,36 +17,36 @@ url = "https://pypi.org/simple/" [tool.poetry.dependencies] attrs = ">=20.1.0,<24.0.0" -httpx = ">=0.15.4,<0.28.0" +httpx = "^0.27.2" python = ">=3.9,<4.0" python-dateutil = "^2.8.0" websockets = "^11.0.3" pymongo = "^4.6.0" -pydantic = ">=2.5.2,<2.8.3" +pydantic = "^2.9.1" pydantic-extra-types = "^2.1.0" [tool.poetry.dev-dependencies] autoclasstoc = "^1.6.0" -black = "^24.2.0" +black = "^24.8.0" isort = "^5.12.0" jinja2 = "^3.1.3" jsonpatch = "^1.33" mypy = "^1.5.0" openapi-parser = "^0.2.6" -openapi-spec-validator = "^0.6.0" +openapi-spec-validator = "^0.7.1" prance = "^23.6.21" pyenchant = "^3.2.2" pytest = "^8.0.2" pytest-asyncio = "^0.23.8" -pytest-cov = "^4.1.0" -ruff = "^0.3.0" +pytest-cov = "^5.0.0" +ruff = "^0.6.4" Sphinx = "^7.1.2" sphinx-autoapi = "^3.2.1" sphinx-autodoc-typehints = "^1.24.0" sphinxcontrib-spelling = "^8.0.0" sphinx-copybutton = "^0.5.2" -sphinxext-opengraph = "^0.8.2" -sphinx-rtd-theme = "^1.0.0" +sphinxext-opengraph = "^0.9.1" +sphinx-rtd-theme = "^2.0.0" toml = "^0.10.2" types-python-dateutil = "^2.8.19" types-toml = "^0.10.8" @@ -55,30 +55,6 @@ types-toml = "^0.10.8" requires = ["poetry>=1.0"] build-backend = "poetry.masonry.api" -[tool.black] -line-length = 88 -target_version = ['py36', 'py37', 'py38'] -exclude = ''' -( - /( - | \.git - | \.venv - | \.mypy_cache - | kittycad/__pycache__ - | docs/html - )/ -) -''' -include = ''' -( - /( - | generate/generate.py - | kittycad - | docs/*.py - )/ -) -''' - [tool.isort] line_length = 88 profile = "black"