runwayml 2.1.2__py3-none-any.whl → 2.1.4__py3-none-any.whl

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/__init__.py CHANGED
@@ -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",
runwayml/_types.py CHANGED
@@ -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/32ea570bf96e84234d2992e1ddf40ab8a565925a/pydantic/main.py#L49
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
 
runwayml/_version.py CHANGED
@@ -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.1.2" # x-release-please-version
4
+ __version__ = "2.1.4" # x-release-please-version
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: runwayml
3
- Version: 2.1.2
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
- proxies="http://my.test.proxy.example.com",
336
+ proxy="http://my.test.proxy.example.com",
336
337
  transport=httpx.HTTPTransport(local_address="0.0.0.0"),
337
338
  ),
338
339
  )
@@ -1,4 +1,4 @@
1
- runwayml/__init__.py,sha256=LsywCoz3efgd9DJAXxam_dZp4-0CuDCfyY658Isqy8k,2458
1
+ runwayml/__init__.py,sha256=iXnJfH73wbj9IxfCHpwfWBxgOa9C4FRrrbBZM5f3biw,2476
2
2
  runwayml/_base_client.py,sha256=Ehfq1oaghucmu9n_MpuoOlH-qZGbetwzgNOmVG81cns,68038
3
3
  runwayml/_client.py,sha256=mJfU5Cq2rBWL1fwMlbjFd9w5oWZ8kb5Ps5B37y53PQw,16428
4
4
  runwayml/_compat.py,sha256=VWemUKbj6DDkQ-O4baSpHVLJafotzeXmCQGJugfVTIw,6580
@@ -10,8 +10,8 @@ runwayml/_qs.py,sha256=AOkSz4rHtK4YI3ZU_kzea-zpwBUgEY8WniGmTPyEimc,4846
10
10
  runwayml/_resource.py,sha256=BF-j3xY5eRTKmuTxg8eDhLtLP4MLB1phDh_B6BKipKA,1112
11
11
  runwayml/_response.py,sha256=7EGNYCVRHiVys7y6gAx5HWIwUxWvmjhd05ur53OeFkQ,28621
12
12
  runwayml/_streaming.py,sha256=NSVuAgknVQWU1cgZEjQn01IdZKKynb5rOeYp5Lo-OEQ,10108
13
- runwayml/_types.py,sha256=Mr22kL-koHslGlVH9m-m0B9AMh9Ke2iktDDu_rTGdy4,6169
14
- runwayml/_version.py,sha256=GJibG97s1FqCe5fzBXGDbNqNKQ_S0pQcsUJBLx_lEfc,160
13
+ runwayml/_types.py,sha256=oHct1QQY_lI8bepCgfWDZm2N5VNi0e6o1iLeiTh4Y_0,6145
14
+ runwayml/_version.py,sha256=-qAYhUa3nk_jUtnr7GPcYJL7nEcxpitZUU_gnT9JX-0,160
15
15
  runwayml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  runwayml/_utils/__init__.py,sha256=k266EatJr88V8Zseb7xUimTlCeno9SynRfLwadHP1b4,2016
17
17
  runwayml/_utils/_logs.py,sha256=ZfS5W59hdqEBVV86lNrk28PhvUxtHOzs9JqiLhSu0pI,780
@@ -30,7 +30,7 @@ runwayml/types/__init__.py,sha256=R3cLEXzpcEpEOuxaFBo3R72ewH1LtjpkZ0aYOIt1CAo,40
30
30
  runwayml/types/image_to_video_create_params.py,sha256=98DsjOHnmHEi8mVjZOQEDL3P1hJUT8uktp0mDA5WJ5Y,1869
31
31
  runwayml/types/image_to_video_create_response.py,sha256=l5GszzUSItV-ZYHCB8hH_GSVibUZEkzfRLrAhXkd8O4,346
32
32
  runwayml/types/task_retrieve_response.py,sha256=v8y2bLxsW6srzScW-B3Akv72q_PI_NQmduGrGRQMHds,2139
33
- runwayml-2.1.2.dist-info/METADATA,sha256=RIrySw-FlbAccCGeaLaBsLjj2YXzaj1SQ_yMYmhCHL0,13303
34
- runwayml-2.1.2.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
35
- runwayml-2.1.2.dist-info/licenses/LICENSE,sha256=p4nykVRdA5nXTd8-slKCIfrlJZMB3wn8QBVasNQ_G_Q,11338
36
- runwayml-2.1.2.dist-info/RECORD,,
33
+ runwayml-2.1.4.dist-info/METADATA,sha256=wSIQq9TgR6y4xDm-YW3FpxHXNHyGf8XpDD7U2sZX_6w,13417
34
+ runwayml-2.1.4.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
35
+ runwayml-2.1.4.dist-info/licenses/LICENSE,sha256=p4nykVRdA5nXTd8-slKCIfrlJZMB3wn8QBVasNQ_G_Q,11338
36
+ runwayml-2.1.4.dist-info/RECORD,,