runwayml 2.3.1__tar.gz → 2.3.2__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.
Files changed (70) hide show
  1. runwayml-2.3.2/.release-please-manifest.json +3 -0
  2. {runwayml-2.3.1 → runwayml-2.3.2}/CHANGELOG.md +8 -0
  3. {runwayml-2.3.1 → runwayml-2.3.2}/PKG-INFO +1 -1
  4. {runwayml-2.3.1 → runwayml-2.3.2}/pyproject.toml +1 -1
  5. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/_base_client.py +7 -1
  6. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/_version.py +1 -1
  7. runwayml-2.3.1/.release-please-manifest.json +0 -3
  8. {runwayml-2.3.1 → runwayml-2.3.2}/.gitignore +0 -0
  9. {runwayml-2.3.1 → runwayml-2.3.2}/CONTRIBUTING.md +0 -0
  10. {runwayml-2.3.1 → runwayml-2.3.2}/LICENSE +0 -0
  11. {runwayml-2.3.1 → runwayml-2.3.2}/README.md +0 -0
  12. {runwayml-2.3.1 → runwayml-2.3.2}/SECURITY.md +0 -0
  13. {runwayml-2.3.1 → runwayml-2.3.2}/api.md +0 -0
  14. {runwayml-2.3.1 → runwayml-2.3.2}/bin/check-release-environment +0 -0
  15. {runwayml-2.3.1 → runwayml-2.3.2}/bin/publish-pypi +0 -0
  16. {runwayml-2.3.1 → runwayml-2.3.2}/examples/.keep +0 -0
  17. {runwayml-2.3.1 → runwayml-2.3.2}/mypy.ini +0 -0
  18. {runwayml-2.3.1 → runwayml-2.3.2}/noxfile.py +0 -0
  19. {runwayml-2.3.1 → runwayml-2.3.2}/release-please-config.json +0 -0
  20. {runwayml-2.3.1 → runwayml-2.3.2}/requirements-dev.lock +0 -0
  21. {runwayml-2.3.1 → runwayml-2.3.2}/requirements.lock +0 -0
  22. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/__init__.py +0 -0
  23. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/_client.py +0 -0
  24. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/_compat.py +0 -0
  25. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/_constants.py +0 -0
  26. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/_exceptions.py +0 -0
  27. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/_files.py +0 -0
  28. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/_models.py +0 -0
  29. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/_qs.py +0 -0
  30. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/_resource.py +0 -0
  31. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/_response.py +0 -0
  32. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/_streaming.py +0 -0
  33. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/_types.py +0 -0
  34. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/_utils/__init__.py +0 -0
  35. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/_utils/_logs.py +0 -0
  36. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/_utils/_proxy.py +0 -0
  37. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/_utils/_reflection.py +0 -0
  38. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/_utils/_streams.py +0 -0
  39. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/_utils/_sync.py +0 -0
  40. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/_utils/_transform.py +0 -0
  41. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/_utils/_typing.py +0 -0
  42. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/_utils/_utils.py +0 -0
  43. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/lib/.keep +0 -0
  44. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/py.typed +0 -0
  45. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/resources/__init__.py +0 -0
  46. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/resources/image_to_video.py +0 -0
  47. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/resources/tasks.py +0 -0
  48. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/types/__init__.py +0 -0
  49. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/types/image_to_video_create_params.py +0 -0
  50. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/types/image_to_video_create_response.py +0 -0
  51. {runwayml-2.3.1 → runwayml-2.3.2}/src/runwayml/types/task_retrieve_response.py +0 -0
  52. {runwayml-2.3.1 → runwayml-2.3.2}/tests/__init__.py +0 -0
  53. {runwayml-2.3.1 → runwayml-2.3.2}/tests/api_resources/__init__.py +0 -0
  54. {runwayml-2.3.1 → runwayml-2.3.2}/tests/api_resources/test_image_to_video.py +0 -0
  55. {runwayml-2.3.1 → runwayml-2.3.2}/tests/api_resources/test_tasks.py +0 -0
  56. {runwayml-2.3.1 → runwayml-2.3.2}/tests/conftest.py +0 -0
  57. {runwayml-2.3.1 → runwayml-2.3.2}/tests/sample_file.txt +0 -0
  58. {runwayml-2.3.1 → runwayml-2.3.2}/tests/test_client.py +0 -0
  59. {runwayml-2.3.1 → runwayml-2.3.2}/tests/test_deepcopy.py +0 -0
  60. {runwayml-2.3.1 → runwayml-2.3.2}/tests/test_extract_files.py +0 -0
  61. {runwayml-2.3.1 → runwayml-2.3.2}/tests/test_files.py +0 -0
  62. {runwayml-2.3.1 → runwayml-2.3.2}/tests/test_models.py +0 -0
  63. {runwayml-2.3.1 → runwayml-2.3.2}/tests/test_qs.py +0 -0
  64. {runwayml-2.3.1 → runwayml-2.3.2}/tests/test_required_args.py +0 -0
  65. {runwayml-2.3.1 → runwayml-2.3.2}/tests/test_response.py +0 -0
  66. {runwayml-2.3.1 → runwayml-2.3.2}/tests/test_streaming.py +0 -0
  67. {runwayml-2.3.1 → runwayml-2.3.2}/tests/test_transform.py +0 -0
  68. {runwayml-2.3.1 → runwayml-2.3.2}/tests/test_utils/test_proxy.py +0 -0
  69. {runwayml-2.3.1 → runwayml-2.3.2}/tests/test_utils/test_typing.py +0 -0
  70. {runwayml-2.3.1 → runwayml-2.3.2}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "2.3.2"
3
+ }
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.3.2 (2025-02-26)
4
+
5
+ Full Changelog: [v2.3.1...v2.3.2](https://github.com/runwayml/sdk-python/compare/v2.3.1...v2.3.2)
6
+
7
+ ### Chores
8
+
9
+ * **internal:** properly set __pydantic_private__ ([#104](https://github.com/runwayml/sdk-python/issues/104)) ([2d7a59f](https://github.com/runwayml/sdk-python/commit/2d7a59f3fe37823974688fea161d7b663e227475))
10
+
3
11
  ## 2.3.1 (2025-02-22)
4
12
 
5
13
  Full Changelog: [v2.3.0...v2.3.1](https://github.com/runwayml/sdk-python/compare/v2.3.0...v2.3.1)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: runwayml
3
- Version: 2.3.1
3
+ Version: 2.3.2
4
4
  Summary: The official Python library for the runwayml API
5
5
  Project-URL: Homepage, https://github.com/runwayml/sdk-python
6
6
  Project-URL: Repository, https://github.com/runwayml/sdk-python
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "runwayml"
3
- version = "2.3.1"
3
+ version = "2.3.2"
4
4
  description = "The official Python library for the runwayml API"
5
5
  dynamic = ["readme"]
6
6
  license = "Apache-2.0"
@@ -63,7 +63,7 @@ from ._types import (
63
63
  ModelBuilderProtocol,
64
64
  )
65
65
  from ._utils import is_dict, is_list, asyncify, is_given, lru_cache, is_mapping
66
- from ._compat import model_copy, model_dump
66
+ from ._compat import PYDANTIC_V2, model_copy, model_dump
67
67
  from ._models import GenericModel, FinalRequestOptions, validate_type, construct_type
68
68
  from ._response import (
69
69
  APIResponse,
@@ -207,6 +207,9 @@ class BaseSyncPage(BasePage[_T], Generic[_T]):
207
207
  model: Type[_T],
208
208
  options: FinalRequestOptions,
209
209
  ) -> None:
210
+ if PYDANTIC_V2 and getattr(self, "__pydantic_private__", None) is None:
211
+ self.__pydantic_private__ = {}
212
+
210
213
  self._model = model
211
214
  self._client = client
212
215
  self._options = options
@@ -292,6 +295,9 @@ class BaseAsyncPage(BasePage[_T], Generic[_T]):
292
295
  client: AsyncAPIClient,
293
296
  options: FinalRequestOptions,
294
297
  ) -> None:
298
+ if PYDANTIC_V2 and getattr(self, "__pydantic_private__", None) is None:
299
+ self.__pydantic_private__ = {}
300
+
295
301
  self._model = model
296
302
  self._client = client
297
303
  self._options = options
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "runwayml"
4
- __version__ = "2.3.1" # x-release-please-version
4
+ __version__ = "2.3.2" # x-release-please-version
@@ -1,3 +0,0 @@
1
- {
2
- ".": "2.3.1"
3
- }
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