runwayml 2.1.6__tar.gz → 2.1.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- runwayml-2.1.8/.release-please-manifest.json +3 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/CHANGELOG.md +16 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/LICENSE +1 -1
- {runwayml-2.1.6 → runwayml-2.1.8}/PKG-INFO +1 -1
- {runwayml-2.1.6 → runwayml-2.1.8}/pyproject.toml +1 -1
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/_models.py +5 -1
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/_version.py +1 -1
- runwayml-2.1.6/.release-please-manifest.json +0 -3
- {runwayml-2.1.6 → runwayml-2.1.8}/.gitignore +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/CONTRIBUTING.md +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/README.md +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/SECURITY.md +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/api.md +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/bin/check-release-environment +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/bin/publish-pypi +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/examples/.keep +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/mypy.ini +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/noxfile.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/release-please-config.json +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/requirements-dev.lock +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/requirements.lock +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/__init__.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/_base_client.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/_client.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/_compat.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/_constants.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/_exceptions.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/_files.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/_qs.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/_resource.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/_response.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/_streaming.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/_types.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/_utils/__init__.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/_utils/_logs.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/_utils/_proxy.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/_utils/_reflection.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/_utils/_streams.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/_utils/_sync.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/_utils/_transform.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/_utils/_typing.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/_utils/_utils.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/lib/.keep +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/py.typed +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/resources/__init__.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/resources/image_to_video.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/resources/tasks.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/types/__init__.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/types/image_to_video_create_params.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/types/image_to_video_create_response.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/src/runwayml/types/task_retrieve_response.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/tests/__init__.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/tests/api_resources/__init__.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/tests/api_resources/test_image_to_video.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/tests/api_resources/test_tasks.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/tests/conftest.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/tests/sample_file.txt +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/tests/test_client.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/tests/test_deepcopy.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/tests/test_extract_files.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/tests/test_files.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/tests/test_models.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/tests/test_qs.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/tests/test_required_args.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/tests/test_response.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/tests/test_streaming.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/tests/test_transform.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/tests/test_utils/test_proxy.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/tests/test_utils/test_typing.py +0 -0
- {runwayml-2.1.6 → runwayml-2.1.8}/tests/utils.py +0 -0
@@ -1,5 +1,21 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 2.1.8 (2025-01-08)
|
4
|
+
|
5
|
+
Full Changelog: [v2.1.7...v2.1.8](https://github.com/runwayml/sdk-python/compare/v2.1.7...v2.1.8)
|
6
|
+
|
7
|
+
### Chores
|
8
|
+
|
9
|
+
* add missing isclass check ([#64](https://github.com/runwayml/sdk-python/issues/64)) ([a90a201](https://github.com/runwayml/sdk-python/commit/a90a201eaecb4a70714a02d270281c1f4815876d))
|
10
|
+
|
11
|
+
## 2.1.7 (2025-01-02)
|
12
|
+
|
13
|
+
Full Changelog: [v2.1.6...v2.1.7](https://github.com/runwayml/sdk-python/compare/v2.1.6...v2.1.7)
|
14
|
+
|
15
|
+
### Chores
|
16
|
+
|
17
|
+
* **internal:** codegen related update ([#61](https://github.com/runwayml/sdk-python/issues/61)) ([6248aa2](https://github.com/runwayml/sdk-python/commit/6248aa2e561cecddc440e8cdfe0773ce0353e25b))
|
18
|
+
|
3
19
|
## 2.1.6 (2024-12-18)
|
4
20
|
|
5
21
|
Full Changelog: [v2.1.5...v2.1.6](https://github.com/runwayml/sdk-python/compare/v2.1.5...v2.1.6)
|
@@ -186,7 +186,7 @@
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
187
187
|
identification within third-party archives.
|
188
188
|
|
189
|
-
Copyright
|
189
|
+
Copyright 2025 RunwayML
|
190
190
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
192
192
|
you may not use this file except in compliance with the License.
|
@@ -488,7 +488,11 @@ def construct_type(*, value: object, type_: object) -> object:
|
|
488
488
|
_, items_type = get_args(type_) # Dict[_, items_type]
|
489
489
|
return {key: construct_type(value=item, type_=items_type) for key, item in value.items()}
|
490
490
|
|
491
|
-
if
|
491
|
+
if (
|
492
|
+
not is_literal_type(type_)
|
493
|
+
and inspect.isclass(origin)
|
494
|
+
and (issubclass(origin, BaseModel) or issubclass(origin, GenericModel))
|
495
|
+
):
|
492
496
|
if is_list(value):
|
493
497
|
return [cast(Any, type_).construct(**entry) if is_mapping(entry) else entry for entry in value]
|
494
498
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|