Skip to content

Commit 21cc2aa

Browse files
Merge pull request #95 from apivideo/fix-python-context-error
fix(python) Fix context related error
2 parents b9adf10 + 1c76785 commit 21cc2aa

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Changelog
22
All changes to this project will be documented in this file.
33

4+
## [1.3.2] - 2024-07-01
5+
- Fix python "context" error
6+
47
## [1.3.1] - 2024-02-19
58
- Update VideoStatusIngest enum
69

apivideo/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"""
1010

1111

12-
__version__ = "1.3.1"
12+
__version__ = "1.3.2"
1313

1414
# import ApiVideoClient
1515
from apivideo.auth_api_client import AuthenticatedApiClient

apivideo/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7575
self.default_headers[header_name] = header_value
7676
self.cookie = cookie
7777

78-
self.default_headers['AV-Origin-Client'] = "python:1.3.1"
78+
self.default_headers['AV-Origin-Client'] = "python:1.3.2"
7979

8080
def __enter__(self):
8181
return self

apivideo/configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def __init__(self, host=None,
8484
api_key=None, api_key_prefix=None,
8585
access_token=None,
8686
username=None, password=None,
87-
discard_unknown_keys=False,
87+
discard_unknown_keys=True,
8888
disabled_client_side_validations="",
8989
server_index=None, server_variables=None,
9090
server_operation_index=None, server_operation_variables=None,
@@ -391,7 +391,7 @@ def to_debug_report(self):
391391
"OS: {env}\n"\
392392
"Python Version: {pyversion}\n"\
393393
"Version of the API: 1\n"\
394-
"SDK Package Version: 1.3.1".\
394+
"SDK Package Version: 1.3.2".\
395395
format(env=sys.platform, pyversion=sys.version)
396396

397397
def get_host_settings(self):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from setuptools import setup, find_packages # noqa: H301
1111

1212
NAME = "api.video"
13-
VERSION = "1.3.1"
13+
VERSION = "1.3.2"
1414
# To install the library, run the following
1515
#
1616
# python setup.py install

0 commit comments

Comments
 (0)