Skip to content

Commit

Permalink
Fix callback setters not supporting awaitable callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
mj23000 committed Nov 22, 2024
1 parent 35c5d99 commit 3160e11
Show file tree
Hide file tree
Showing 7 changed files with 107 additions and 47 deletions.
2 changes: 1 addition & 1 deletion docs/mozart-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5520,7 +5520,7 @@ info:
- [Beosound Level](https://www.bang-olufsen.com/en/dk/speakers/beosound-level)\n\
- [Beosound Theatre](https://www.bang-olufsen.com/en/dk/soundbars/beosound-theatre)\n\
\n\nThis API documentation has been generated for version 4.1.1.116 of the\
\ Mozart platform and API generation version 4.1.1.116.2.\n\n## Python API\n\
\ Mozart platform and API generation version 4.1.1.116.3.\n\n## Python API\n\
\nThe Python package has been generated using the [OpenAPI Generator](https:/openapi-generator.tech/)\
\ version 7.10.0. On top of the generated API, a helper file, mozart_client.py,\
\ has been made that makes the API more pythonic. We recommend using this.\n\
Expand Down
2 changes: 1 addition & 1 deletion python_client/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: mozart_api
Version: 4.1.1.116.2
Version: 4.1.1.116.3
Summary: Mozart platform API
Home-page: https://pypi.org/project/mozart-api/
License: MIT
Expand Down
2 changes: 1 addition & 1 deletion python_client/mozart_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Do not edit the class manually.
""" # noqa: E501

__version__ = "4.1.1.116.2"
__version__ = "4.1.1.116.3"

# import manually created api client
from mozart_api.mozart_client import (
Expand Down
2 changes: 1 addition & 1 deletion python_client/mozart_api/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def __init__(
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = "OpenAPI-Generator/4.1.1.116.2/python"
self.user_agent = "OpenAPI-Generator/4.1.1.116.3/python"
self.client_side_validation = configuration.client_side_validation

async def __aenter__(self):
Expand Down
2 changes: 1 addition & 1 deletion python_client/mozart_api/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def to_debug_report(self):
"OS: {env}\n"
"Python Version: {pyversion}\n"
"Version of the API: 0.2.0\n"
"SDK Package Version: 4.1.1.116.2".format(
"SDK Package Version: 4.1.1.116.3".format(
env=sys.platform, pyversion=sys.version
)
)
Expand Down
Loading

0 comments on commit 3160e11

Please sign in to comment.