Skip to content

Commit

Permalink
Merge pull request #15 from apivideo/remove-unused-player-theme-options
Browse files Browse the repository at this point in the history
Remove unused player theme options
  • Loading branch information
bot-api-video authored Aug 19, 2021
2 parents 5a66de7 + b5700d7 commit 6a941e0
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 46 deletions.
2 changes: 1 addition & 1 deletion apivideo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"""


__version__ = "0.0.13"
__version__ = "0.0.14"

# import ApiVideoClient
from apivideo.auth_api_client import AuthenticatedApiClient
Expand Down
2 changes: 1 addition & 1 deletion apivideo/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.13; )"'
self.user_agent = '"api.video client (python; v:0.0.14; )"'

def __enter__(self):
return self
Expand Down
2 changes: 1 addition & 1 deletion apivideo/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.13".\
"SDK Package Version: 0.0.14".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
15 changes: 0 additions & 15 deletions apivideo/model/player_theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,6 @@ def openapi_types():
'force_loop': (bool,), # noqa: E501
'created_at': (datetime,), # noqa: E501
'updated_at': (datetime,), # noqa: E501
'shape_margin': (int,), # noqa: E501
'shape_radius': (int,), # noqa: E501
'shape_aspect': (str,), # noqa: E501
'shape_background_top': (str,), # noqa: E501
'shape_background_bottom': (str,), # noqa: E501
'link_active': (str,), # noqa: E501
'assets': (PlayerThemeAssets,), # noqa: E501
}
Expand Down Expand Up @@ -125,11 +120,6 @@ def discriminator():
'force_loop': 'forceLoop', # noqa: E501
'created_at': 'createdAt', # noqa: E501
'updated_at': 'updatedAt', # noqa: E501
'shape_margin': 'shapeMargin', # noqa: E501
'shape_radius': 'shapeRadius', # noqa: E501
'shape_aspect': 'shapeAspect', # noqa: E501
'shape_background_top': 'shapeBackgroundTop', # noqa: E501
'shape_background_bottom': 'shapeBackgroundBottom', # noqa: E501
'link_active': 'linkActive', # noqa: E501
'assets': 'assets', # noqa: E501
}
Expand Down Expand Up @@ -199,11 +189,6 @@ def __init__(self, player_id, *args, **kwargs): # noqa: E501
force_loop (bool): enable/disable looping. Default: false. [optional] # noqa: E501
created_at (datetime): When the player was created, presented in ISO-8601 format.. [optional] # noqa: E501
updated_at (datetime): When the player was last updated, presented in ISO-8601 format.. [optional] # noqa: E501
shape_margin (int): Deprecated. [optional] # noqa: E501
shape_radius (int): Deprecated. [optional] # noqa: E501
shape_aspect (str): Deprecated. [optional] # noqa: E501
shape_background_top (str): Deprecated. [optional] # noqa: E501
shape_background_bottom (str): Deprecated. [optional] # noqa: E501
link_active (str): Deprecated. [optional] # noqa: E501
assets (PlayerThemeAssets): [optional] # noqa: E501
"""
Expand Down
5 changes: 0 additions & 5 deletions docs/PlayerTheme.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ Name | Type | Description | Notes
**force_loop** | **bool** | enable/disable looping. Default: false | [optional]
**created_at** | **datetime** | When the player was created, presented in ISO-8601 format. | [optional]
**updated_at** | **datetime** | When the player was last updated, presented in ISO-8601 format. | [optional]
**shape_margin** | **int** | Deprecated | [optional]
**shape_radius** | **int** | Deprecated | [optional]
**shape_aspect** | **str** | Deprecated | [optional]
**shape_background_top** | **str** | Deprecated | [optional]
**shape_background_bottom** | **str** | Deprecated | [optional]
**link_active** | **str** | Deprecated | [optional]
**assets** | [**PlayerThemeAssets**](PlayerThemeAssets.md) | | [optional]

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from setuptools import setup, find_packages # noqa: H301

NAME = "api.video"
VERSION = "0.0.13"
VERSION = "0.0.14"
# To install the library, run the following
#
# python setup.py install
Expand Down
4 changes: 0 additions & 4 deletions test/payloads/player_themes/create/responses/201.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
"playerId" : "pl45d5vFFGrfdsdsd156dGhh",
"createdAt" : "2020-01-13T10:09:17+00:00",
"updatedAt" : "2020-01-13T10:09:17+00:00",
"shapeRadius" : 3,
"shapeAspect" : "flat",
"shapeBackgroundTop" : "rgba(50, 50, 50, .7)",
"shapeBackgroundBottom" : "rgba(50, 50, 50, .8)",
"text" : "rgba(255, 255, 255, .95)",
"link" : "rgba(255, 0, 0, .95)",
"linkHover" : "rgba(255, 255, 255, .75)",
Expand Down
4 changes: 0 additions & 4 deletions test/payloads/player_themes/get/responses/200.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
"playerId" : "pl45d5vFFGrfdsdsd156dGhh",
"createdAt" : "2020-01-13T10:09:17+00:00",
"updatedAt" : "2020-01-13T11:12:14+00:00",
"shapeRadius" : 3,
"shapeAspect" : "flat",
"shapeBackgroundTop" : "rgba(50, 50, 50, .7)",
"shapeBackgroundBottom" : "rgba(50, 50, 50, .8)",
"text" : "rgba(255, 255, 255, .95)",
"link" : "rgba(255, 0, 0, .95)",
"linkHover" : "rgba(255, 255, 255, .75)",
Expand Down
10 changes: 0 additions & 10 deletions test/payloads/player_themes/list/responses/200.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
"playerId" : "pl4fgtjy4tjyKDK545DRdfg",
"createdAt" : "2020-01-13T10:09:17+00:00",
"updatedAt" : "2020-01-13T10:09:17+00:00",
"shapeMargin" : 10,
"shapeRadius" : 3,
"shapeAspect" : "flat",
"shapeBackgroundTop" : "rgba(50, 50, 50, .7)",
"shapeBackgroundBottom" : "rgba(50, 50, 50, .8)",
"text" : "rgba(255, 255, 255, .95)",
"link" : "rgba(255, 0, 0, .95)",
"linkHover" : "rgba(255, 255, 255, .75)",
Expand All @@ -27,11 +22,6 @@
"playerId" : "pl54fgtjy4tjyKDK45DRdfg",
"createdAt" : "2020-01-13T10:09:17+00:00",
"updatedAt" : "2020-01-13T10:09:17+00:00",
"shapeMargin" : 10,
"shapeRadius" : 3,
"shapeAspect" : "flat",
"shapeBackgroundTop" : "rgba(50, 50, 50, .7)",
"shapeBackgroundBottom" : "rgba(50, 50, 50, .8)",
"text" : "rgba(255, 255, 255, .95)",
"link" : "rgba(255, 0, 0, .95)",
"linkHover" : "rgba(255, 255, 255, .75)",
Expand Down
4 changes: 0 additions & 4 deletions test/payloads/player_themes/update/responses/200.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
"playerId" : "pl45d5vFFGrfdsdsd156dGhh",
"createdAt" : "2020-01-13T10:09:17+00:00",
"updatedAt" : "2020-01-13T11:12:14+00:00",
"shapeRadius" : 3,
"shapeAspect" : "flat",
"shapeBackgroundTop" : "rgba(50, 50, 50, .7)",
"shapeBackgroundBottom" : "rgba(50, 50, 50, .8)",
"text" : "rgba(255, 255, 255, .95)",
"link" : "rgba(255, 0, 0, .95)",
"linkHover" : "rgba(255, 255, 255, .75)",
Expand Down

0 comments on commit 6a941e0

Please sign in to comment.