diff --git a/apivideo/__init__.py b/apivideo/__init__.py index 5cc8670..5a996cb 100644 --- a/apivideo/__init__.py +++ b/apivideo/__init__.py @@ -9,7 +9,7 @@ """ -__version__ = "0.0.14" +__version__ = "0.0.15" # import ApiVideoClient from apivideo.auth_api_client import AuthenticatedApiClient diff --git a/apivideo/api_client.py b/apivideo/api_client.py index d4fb7f6..f27df86 100644 --- a/apivideo/api_client.py +++ b/apivideo/api_client.py @@ -75,7 +75,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = '"api.video client (python; v:0.0.14; )"' + self.user_agent = '"api.video client (python; v:0.0.15; )"' def __enter__(self): return self diff --git a/apivideo/configuration.py b/apivideo/configuration.py index 60b09fc..2475554 100644 --- a/apivideo/configuration.py +++ b/apivideo/configuration.py @@ -391,7 +391,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 1\n"\ - "SDK Package Version: 0.0.14".\ + "SDK Package Version: 0.0.15".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/apivideo/model/video_creation_payload.py b/apivideo/model/video_creation_payload.py index 19b3f10..7733c6a 100644 --- a/apivideo/model/video_creation_payload.py +++ b/apivideo/model/video_creation_payload.py @@ -85,7 +85,6 @@ def openapi_types(): 'player_id': (str,), # noqa: E501 'tags': ([str],), # noqa: E501 'metadata': ([Metadata],), # noqa: E501 - 'published_at': (datetime,), # noqa: E501 } @cached_property @@ -103,7 +102,6 @@ def discriminator(): 'player_id': 'playerId', # noqa: E501 'tags': 'tags', # noqa: E501 'metadata': 'metadata', # noqa: E501 - 'published_at': 'publishedAt', # noqa: E501 } _composed_schemas = {} @@ -163,7 +161,6 @@ def __init__(self, title, *args, **kwargs): # noqa: E501 player_id (str): The unique identification number for your video player.. [optional] # noqa: E501 tags ([str]): A list of tags you want to use to describe your video.. [optional] # noqa: E501 metadata ([Metadata]): A list of key value pairs that you use to provide metadata for your video. These pairs can be made dynamic, allowing you to segment your audience. You can also just use the pairs as another way to tag and categorize your videos.. [optional] # noqa: E501 - published_at (datetime): The API uses ISO-8601 format for time, and includes 3 places for milliseconds.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/docs/VideoCreationPayload.md b/docs/VideoCreationPayload.md index f596273..89d019a 100644 --- a/docs/VideoCreationPayload.md +++ b/docs/VideoCreationPayload.md @@ -12,7 +12,6 @@ Name | Type | Description | Notes **player_id** | **str** | The unique identification number for your video player. | [optional] **tags** | **[str]** | A list of tags you want to use to describe your video. | [optional] **metadata** | [**[Metadata]**](Metadata.md) | A list of key value pairs that you use to provide metadata for your video. These pairs can be made dynamic, allowing you to segment your audience. You can also just use the pairs as another way to tag and categorize your videos. | [optional] -**published_at** | **datetime** | The API uses ISO-8601 format for time, and includes 3 places for milliseconds. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/VideosApi.md b/docs/VideosApi.md index ffe31b0..51017a1 100644 --- a/docs/VideosApi.md +++ b/docs/VideosApi.md @@ -501,7 +501,6 @@ with apivideo.AuthenticatedApiClient(__API_KEY__) as api_client: value="Green", ), ], - published_at=dateutil_parser('2020-07-14T23:36:18.598Z'), ) # VideoCreationPayload | video to create # example passing only required values which don't have defaults set diff --git a/setup.py b/setup.py index b4f265b..c49de78 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "api.video" -VERSION = "0.0.14" +VERSION = "0.0.15" # To install the library, run the following # # python setup.py install diff --git a/test/test_videos_api.py b/test/test_videos_api.py index 8f14dec..b152e3d 100644 --- a/test/test_videos_api.py +++ b/test/test_videos_api.py @@ -229,7 +229,6 @@ def test_create(self): value="Green", ), ], - published_at=dateutil_parser('2020-07-14T23:36:18.598Z'), ), } url = '/videos'.format(**kwargs)