runwayml 3.6.4__tar.gz → 3.6.5__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-3.6.5/.release-please-manifest.json +3 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/CHANGELOG.md +13 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/PKG-INFO +4 -3
- {runwayml-3.6.4 → runwayml-3.6.5}/README.md +2 -1
- {runwayml-3.6.4 → runwayml-3.6.5}/pyproject.toml +2 -2
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/_base_client.py +9 -2
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/_version.py +1 -1
- {runwayml-3.6.4 → runwayml-3.6.5}/tests/test_client.py +2 -2
- runwayml-3.6.4/.release-please-manifest.json +0 -3
- {runwayml-3.6.4 → runwayml-3.6.5}/.gitignore +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/CONTRIBUTING.md +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/LICENSE +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/SECURITY.md +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/api.md +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/bin/check-release-environment +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/bin/publish-pypi +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/examples/.keep +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/examples/generate_image.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/mypy.ini +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/noxfile.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/release-please-config.json +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/requirements-dev.lock +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/requirements.lock +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/__init__.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/_client.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/_compat.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/_constants.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/_exceptions.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/_files.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/_models.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/_qs.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/_resource.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/_response.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/_streaming.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/_types.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/_utils/__init__.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/_utils/_logs.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/_utils/_proxy.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/_utils/_reflection.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/_utils/_resources_proxy.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/_utils/_streams.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/_utils/_sync.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/_utils/_transform.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/_utils/_typing.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/_utils/_utils.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/lib/.keep +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/lib/polling.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/py.typed +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/resources/__init__.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/resources/image_to_video.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/resources/organization.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/resources/tasks.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/resources/text_to_image.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/resources/video_upscale.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/types/__init__.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/types/image_to_video_create_params.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/types/image_to_video_create_response.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/types/organization_retrieve_response.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/types/task_retrieve_response.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/types/text_to_image_create_params.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/types/text_to_image_create_response.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/types/video_upscale_create_params.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/src/runwayml/types/video_upscale_create_response.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/tests/__init__.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/tests/api_resources/__init__.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/tests/api_resources/test_image_to_video.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/tests/api_resources/test_organization.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/tests/api_resources/test_tasks.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/tests/api_resources/test_text_to_image.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/tests/api_resources/test_video_upscale.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/tests/conftest.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/tests/sample_file.txt +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/tests/test_deepcopy.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/tests/test_extract_files.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/tests/test_files.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/tests/test_models.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/tests/test_qs.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/tests/test_required_args.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/tests/test_response.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/tests/test_streaming.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/tests/test_transform.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/tests/test_utils/test_proxy.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/tests/test_utils/test_typing.py +0 -0
- {runwayml-3.6.4 → runwayml-3.6.5}/tests/utils.py +0 -0
@@ -1,5 +1,18 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 3.6.5 (2025-07-12)
|
4
|
+
|
5
|
+
Full Changelog: [v3.6.4...v3.6.5](https://github.com/runwayml/sdk-python/compare/v3.6.4...v3.6.5)
|
6
|
+
|
7
|
+
### Bug Fixes
|
8
|
+
|
9
|
+
* **client:** don't send Content-Type header on GET requests ([6567867](https://github.com/runwayml/sdk-python/commit/656786737e8ee74a40c731b6d2659b1c1b34ce20))
|
10
|
+
|
11
|
+
|
12
|
+
### Chores
|
13
|
+
|
14
|
+
* **readme:** fix version rendering on pypi ([f38de2a](https://github.com/runwayml/sdk-python/commit/f38de2a823870a12ce893324e4889a5aec5a3392))
|
15
|
+
|
3
16
|
## 3.6.4 (2025-07-10)
|
4
17
|
|
5
18
|
Full Changelog: [v3.6.3...v3.6.4](https://github.com/runwayml/sdk-python/compare/v3.6.3...v3.6.4)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: runwayml
|
3
|
-
Version: 3.6.
|
3
|
+
Version: 3.6.5
|
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
|
@@ -30,12 +30,13 @@ Requires-Dist: sniffio
|
|
30
30
|
Requires-Dist: typing-extensions<5,>=4.10
|
31
31
|
Provides-Extra: aiohttp
|
32
32
|
Requires-Dist: aiohttp; extra == 'aiohttp'
|
33
|
-
Requires-Dist: httpx-aiohttp>=0.1.
|
33
|
+
Requires-Dist: httpx-aiohttp>=0.1.8; extra == 'aiohttp'
|
34
34
|
Description-Content-Type: text/markdown
|
35
35
|
|
36
36
|
# RunwayML Python API library
|
37
37
|
|
38
|
-
|
38
|
+
<!-- prettier-ignore -->
|
39
|
+
[)](https://pypi.org/project/runwayml/)
|
39
40
|
|
40
41
|
The RunwayML Python library provides convenient access to the RunwayML REST API from any Python 3.8+
|
41
42
|
application. The library includes type definitions for all request params and response fields,
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# RunwayML Python API library
|
2
2
|
|
3
|
-
|
3
|
+
<!-- prettier-ignore -->
|
4
|
+
[)](https://pypi.org/project/runwayml/)
|
4
5
|
|
5
6
|
The RunwayML Python library provides convenient access to the RunwayML REST API from any Python 3.8+
|
6
7
|
application. The library includes type definitions for all request params and response fields,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "runwayml"
|
3
|
-
version = "3.6.
|
3
|
+
version = "3.6.5"
|
4
4
|
description = "The official Python library for the runwayml API"
|
5
5
|
dynamic = ["readme"]
|
6
6
|
license = "Apache-2.0"
|
@@ -39,7 +39,7 @@ Homepage = "https://github.com/runwayml/sdk-python"
|
|
39
39
|
Repository = "https://github.com/runwayml/sdk-python"
|
40
40
|
|
41
41
|
[project.optional-dependencies]
|
42
|
-
aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.
|
42
|
+
aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.8"]
|
43
43
|
|
44
44
|
[tool.rye]
|
45
45
|
managed = true
|
@@ -529,6 +529,15 @@ class BaseClient(Generic[_HttpxClientT, _DefaultStreamT]):
|
|
529
529
|
# work around https://github.com/encode/httpx/discussions/2880
|
530
530
|
kwargs["extensions"] = {"sni_hostname": prepared_url.host.replace("_", "-")}
|
531
531
|
|
532
|
+
is_body_allowed = options.method.lower() != "get"
|
533
|
+
|
534
|
+
if is_body_allowed:
|
535
|
+
kwargs["json"] = json_data if is_given(json_data) else None
|
536
|
+
kwargs["files"] = files
|
537
|
+
else:
|
538
|
+
headers.pop("Content-Type", None)
|
539
|
+
kwargs.pop("data", None)
|
540
|
+
|
532
541
|
# TODO: report this error to httpx
|
533
542
|
return self._client.build_request( # pyright: ignore[reportUnknownMemberType]
|
534
543
|
headers=headers,
|
@@ -540,8 +549,6 @@ class BaseClient(Generic[_HttpxClientT, _DefaultStreamT]):
|
|
540
549
|
# so that passing a `TypedDict` doesn't cause an error.
|
541
550
|
# https://github.com/microsoft/pyright/issues/3526#event-6715453066
|
542
551
|
params=self.qs.stringify(cast(Mapping[str, Any], params)) if params else None,
|
543
|
-
json=json_data if is_given(json_data) else None,
|
544
|
-
files=files,
|
545
552
|
**kwargs,
|
546
553
|
)
|
547
554
|
|
@@ -464,7 +464,7 @@ class TestRunwayML:
|
|
464
464
|
def test_multipart_repeating_array(self, client: RunwayML) -> None:
|
465
465
|
request = client._build_request(
|
466
466
|
FinalRequestOptions.construct(
|
467
|
-
method="
|
467
|
+
method="post",
|
468
468
|
url="/foo",
|
469
469
|
headers={"Content-Type": "multipart/form-data; boundary=6b7ba517decee4a450543ea6ae821c82"},
|
470
470
|
json_data={"array": ["foo", "bar"]},
|
@@ -1281,7 +1281,7 @@ class TestAsyncRunwayML:
|
|
1281
1281
|
def test_multipart_repeating_array(self, async_client: AsyncRunwayML) -> None:
|
1282
1282
|
request = async_client._build_request(
|
1283
1283
|
FinalRequestOptions.construct(
|
1284
|
-
method="
|
1284
|
+
method="post",
|
1285
1285
|
url="/foo",
|
1286
1286
|
headers={"Content-Type": "multipart/form-data; boundary=6b7ba517decee4a450543ea6ae821c82"},
|
1287
1287
|
json_data={"array": ["foo", "bar"]},
|
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
|
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
|