Skip to content

Commit

Permalink
fix get_connections
Browse files Browse the repository at this point in the history
  • Loading branch information
zachliu committed Feb 22, 2021
1 parent 8007258 commit 852b4b1
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ fulfilling the request.
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project based on [the specs](https://github.com/zachliu/airflow-openapi-specs):

- API version: 1.0.0
- Package version: 0.3.9
- Package version: 0.3.11
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://github.com/zachliu](https://github.com/zachliu)

Expand Down
2 changes: 1 addition & 1 deletion airflow_python_sdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"""


__version__ = "0.3.9"
__version__ = "0.3.11"

# import ApiClient
from airflow_python_sdk.api_client import ApiClient
Expand Down
2 changes: 1 addition & 1 deletion airflow_python_sdk/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,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 = 'OpenAPI-Generator/0.3.9/python'
self.user_agent = 'OpenAPI-Generator/0.3.11/python'

def __enter__(self):
return self
Expand Down
2 changes: 1 addition & 1 deletion airflow_python_sdk/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 1.0.0\n"\
"SDK Package Version: 0.3.9".\
"SDK Package Version: 0.3.11".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
3 changes: 3 additions & 0 deletions airflow_python_sdk/model/connection_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def openapi_types():
lazy_import()
return {
'connections': ([ConnectionCollectionItem],), # noqa: E501
'total_entries': (int,), # noqa: E501
}

@cached_property
Expand All @@ -90,6 +91,7 @@ def discriminator():

attribute_map = {
'connections': 'connections', # noqa: E501
'total_entries': 'total_entries', # noqa: E501
}

_composed_schemas = {}
Expand Down Expand Up @@ -139,6 +141,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
connections ([ConnectionCollectionItem]): [optional] # noqa: E501
total_entries (int): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
1 change: 1 addition & 0 deletions docs/ConnectionCollection.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Connections
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**connections** | [**[ConnectionCollectionItem]**](ConnectionCollectionItem.md) | | [optional]
**total_entries** | **int** | | [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)

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

NAME = "airflow-python-sdk"
VERSION = "0.3.9"
VERSION = "0.3.11"
# To install the library, run the following
#
# python setup.py install
Expand Down

0 comments on commit 852b4b1

Please sign in to comment.