runwayml 2.1.2__tar.gz → 2.1.4__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.4/.release-please-manifest.json +3 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/CHANGELOG.md +21 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/PKG-INFO +5 -4
- {runwayml-2.1.2 → runwayml-2.1.4}/README.md +4 -3
- {runwayml-2.1.2 → runwayml-2.1.4}/pyproject.toml +1 -1
- {runwayml-2.1.2 → runwayml-2.1.4}/requirements-dev.lock +2 -2
- {runwayml-2.1.2 → runwayml-2.1.4}/requirements.lock +2 -2
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/__init__.py +2 -1
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/_types.py +2 -4
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/_version.py +1 -1
- runwayml-2.1.2/.release-please-manifest.json +0 -3
- {runwayml-2.1.2 → runwayml-2.1.4}/.gitignore +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/CONTRIBUTING.md +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/LICENSE +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/SECURITY.md +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/api.md +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/bin/check-release-environment +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/bin/publish-pypi +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/examples/.keep +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/mypy.ini +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/noxfile.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/release-please-config.json +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/_base_client.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/_client.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/_compat.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/_constants.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/_exceptions.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/_files.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/_models.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/_qs.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/_resource.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/_response.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/_streaming.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/_utils/__init__.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/_utils/_logs.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/_utils/_proxy.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/_utils/_reflection.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/_utils/_streams.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/_utils/_sync.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/_utils/_transform.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/_utils/_typing.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/_utils/_utils.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/lib/.keep +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/py.typed +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/resources/__init__.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/resources/image_to_video.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/resources/tasks.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/types/__init__.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/types/image_to_video_create_params.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/types/image_to_video_create_response.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/src/runwayml/types/task_retrieve_response.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/tests/__init__.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/tests/api_resources/__init__.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/tests/api_resources/test_image_to_video.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/tests/api_resources/test_tasks.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/tests/conftest.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/tests/sample_file.txt +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/tests/test_client.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/tests/test_deepcopy.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/tests/test_extract_files.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/tests/test_files.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/tests/test_models.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/tests/test_qs.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/tests/test_required_args.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/tests/test_response.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/tests/test_streaming.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/tests/test_transform.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/tests/test_utils/test_proxy.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/tests/test_utils/test_typing.py +0 -0
- {runwayml-2.1.2 → runwayml-2.1.4}/tests/utils.py +0 -0
@@ -1,5 +1,26 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 2.1.4 (2024-12-10)
|
4
|
+
|
5
|
+
Full Changelog: [v2.1.3...v2.1.4](https://github.com/runwayml/sdk-python/compare/v2.1.3...v2.1.4)
|
6
|
+
|
7
|
+
### Chores
|
8
|
+
|
9
|
+
* **internal:** bump pydantic dependency ([#40](https://github.com/runwayml/sdk-python/issues/40)) ([ae3a845](https://github.com/runwayml/sdk-python/commit/ae3a8457855179ccc6e784e2e2cf39613fedddcd))
|
10
|
+
|
11
|
+
|
12
|
+
### Documentation
|
13
|
+
|
14
|
+
* **readme:** fix http client proxies example ([#42](https://github.com/runwayml/sdk-python/issues/42)) ([d1389f7](https://github.com/runwayml/sdk-python/commit/d1389f73504fc60d07be4742ea12c7f9d5841034))
|
15
|
+
|
16
|
+
## 2.1.3 (2024-12-04)
|
17
|
+
|
18
|
+
Full Changelog: [v2.1.2...v2.1.3](https://github.com/runwayml/sdk-python/compare/v2.1.2...v2.1.3)
|
19
|
+
|
20
|
+
### Chores
|
21
|
+
|
22
|
+
* make the `Omit` type public ([#35](https://github.com/runwayml/sdk-python/issues/35)) ([a333528](https://github.com/runwayml/sdk-python/commit/a3335281c52a8f6e6a85f98623c48e228245fa04))
|
23
|
+
|
3
24
|
## 2.1.2 (2024-12-03)
|
4
25
|
|
5
26
|
Full Changelog: [v2.1.1...v2.1.2](https://github.com/runwayml/sdk-python/compare/v2.1.1...v2.1.2)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: runwayml
|
3
|
-
Version: 2.1.
|
3
|
+
Version: 2.1.4
|
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
|
@@ -321,18 +321,19 @@ can also get all the extra fields on the Pydantic model as a dict with
|
|
321
321
|
|
322
322
|
You can directly override the [httpx client](https://www.python-httpx.org/api/#client) to customize it for your use case, including:
|
323
323
|
|
324
|
-
- Support for proxies
|
325
|
-
- Custom transports
|
324
|
+
- Support for [proxies](https://www.python-httpx.org/advanced/proxies/)
|
325
|
+
- Custom [transports](https://www.python-httpx.org/advanced/transports/)
|
326
326
|
- Additional [advanced](https://www.python-httpx.org/advanced/clients/) functionality
|
327
327
|
|
328
328
|
```python
|
329
|
+
import httpx
|
329
330
|
from runwayml import RunwayML, DefaultHttpxClient
|
330
331
|
|
331
332
|
client = RunwayML(
|
332
333
|
# Or use the `RUNWAYML_BASE_URL` env var
|
333
334
|
base_url="http://my.test.server.example.com:8083",
|
334
335
|
http_client=DefaultHttpxClient(
|
335
|
-
|
336
|
+
proxy="http://my.test.proxy.example.com",
|
336
337
|
transport=httpx.HTTPTransport(local_address="0.0.0.0"),
|
337
338
|
),
|
338
339
|
)
|
@@ -290,18 +290,19 @@ can also get all the extra fields on the Pydantic model as a dict with
|
|
290
290
|
|
291
291
|
You can directly override the [httpx client](https://www.python-httpx.org/api/#client) to customize it for your use case, including:
|
292
292
|
|
293
|
-
- Support for proxies
|
294
|
-
- Custom transports
|
293
|
+
- Support for [proxies](https://www.python-httpx.org/advanced/proxies/)
|
294
|
+
- Custom [transports](https://www.python-httpx.org/advanced/transports/)
|
295
295
|
- Additional [advanced](https://www.python-httpx.org/advanced/clients/) functionality
|
296
296
|
|
297
297
|
```python
|
298
|
+
import httpx
|
298
299
|
from runwayml import RunwayML, DefaultHttpxClient
|
299
300
|
|
300
301
|
client = RunwayML(
|
301
302
|
# Or use the `RUNWAYML_BASE_URL` env var
|
302
303
|
base_url="http://my.test.server.example.com:8083",
|
303
304
|
http_client=DefaultHttpxClient(
|
304
|
-
|
305
|
+
proxy="http://my.test.proxy.example.com",
|
305
306
|
transport=httpx.HTTPTransport(local_address="0.0.0.0"),
|
306
307
|
),
|
307
308
|
)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
2
|
|
3
3
|
from . import types
|
4
|
-
from ._types import NOT_GIVEN, NoneType, NotGiven, Transport, ProxiesTypes
|
4
|
+
from ._types import NOT_GIVEN, Omit, NoneType, NotGiven, Transport, ProxiesTypes
|
5
5
|
from ._utils import file_from_path
|
6
6
|
from ._client import (
|
7
7
|
Client,
|
@@ -46,6 +46,7 @@ __all__ = [
|
|
46
46
|
"ProxiesTypes",
|
47
47
|
"NotGiven",
|
48
48
|
"NOT_GIVEN",
|
49
|
+
"Omit",
|
49
50
|
"RunwayMLError",
|
50
51
|
"APIError",
|
51
52
|
"APIStatusError",
|
@@ -192,10 +192,8 @@ ResponseT = TypeVar(
|
|
192
192
|
StrBytesIntFloat = Union[str, bytes, int, float]
|
193
193
|
|
194
194
|
# Note: copied from Pydantic
|
195
|
-
# https://github.com/pydantic/pydantic/blob/
|
196
|
-
IncEx: TypeAlias = Union[
|
197
|
-
Set[int], Set[str], Mapping[int, Union["IncEx", Literal[True]]], Mapping[str, Union["IncEx", Literal[True]]]
|
198
|
-
]
|
195
|
+
# https://github.com/pydantic/pydantic/blob/6f31f8f68ef011f84357330186f603ff295312fd/pydantic/main.py#L79
|
196
|
+
IncEx: TypeAlias = Union[Set[int], Set[str], Mapping[int, Union["IncEx", bool]], Mapping[str, Union["IncEx", bool]]]
|
199
197
|
|
200
198
|
PostParser = Callable[[Any], Any]
|
201
199
|
|
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
|