From 4ccd3fcefb6be0fed0c0f22814b54dadcf59baf9 Mon Sep 17 00:00:00 2001 From: fullcircle23 Date: Wed, 27 May 2020 17:27:10 +0800 Subject: [PATCH] [python][client] Fix delimiter collision (#5981) update samples --- .../petstore/python-asyncio/docs/Animal.md | 2 +- .../petstore/python-asyncio/docs/Category.md | 2 +- .../petstore/python-asyncio/docs/FakeApi.md | 16 ++++++++-------- .../python-asyncio/docs/TypeHolderDefault.md | 2 +- .../python-asyncio/petstore_api/models/animal.py | 2 +- .../petstore_api/models/category.py | 2 +- .../petstore_api/models/type_holder_default.py | 2 +- .../petstore/python-tornado/docs/Animal.md | 2 +- .../petstore/python-tornado/docs/Category.md | 2 +- .../petstore/python-tornado/docs/FakeApi.md | 16 ++++++++-------- .../python-tornado/docs/TypeHolderDefault.md | 2 +- .../python-tornado/petstore_api/models/animal.py | 2 +- .../petstore_api/models/category.py | 2 +- .../petstore_api/models/type_holder_default.py | 2 +- samples/client/petstore/python/docs/Animal.md | 2 +- samples/client/petstore/python/docs/Category.md | 2 +- samples/client/petstore/python/docs/FakeApi.md | 16 ++++++++-------- .../petstore/python/docs/TypeHolderDefault.md | 2 +- .../python/petstore_api/models/animal.py | 2 +- .../python/petstore_api/models/category.py | 2 +- .../petstore_api/models/type_holder_default.py | 2 +- 21 files changed, 42 insertions(+), 42 deletions(-) diff --git a/samples/client/petstore/python-asyncio/docs/Animal.md b/samples/client/petstore/python-asyncio/docs/Animal.md index 7ed4ba541fa3..d9a9be5bfe66 100644 --- a/samples/client/petstore/python-asyncio/docs/Animal.md +++ b/samples/client/petstore/python-asyncio/docs/Animal.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **class_name** | **str** | | -**color** | **str** | | [optional] [default to 'red'] +**color** | **str** | | [optional] [default to "red"] [[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/samples/client/petstore/python-asyncio/docs/Category.md b/samples/client/petstore/python-asyncio/docs/Category.md index 7e5c1e316499..e6f8efaf2f54 100644 --- a/samples/client/petstore/python-asyncio/docs/Category.md +++ b/samples/client/petstore/python-asyncio/docs/Category.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **int** | | [optional] -**name** | **str** | | [default to 'default-name'] +**name** | **str** | | [default to "default-name"] [[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/samples/client/petstore/python-asyncio/docs/FakeApi.md b/samples/client/petstore/python-asyncio/docs/FakeApi.md index 68a36b5f7525..07d13239ed98 100644 --- a/samples/client/petstore/python-asyncio/docs/FakeApi.md +++ b/samples/client/petstore/python-asyncio/docs/FakeApi.md @@ -633,13 +633,13 @@ with petstore_api.ApiClient() as api_client: # Create an instance of the API class api_instance = petstore_api.FakeApi(api_client) enum_header_string_array = ['enum_header_string_array_example'] # list[str] | Header parameter enum test (string array) (optional) -enum_header_string = '-efg' # str | Header parameter enum test (string) (optional) (default to '-efg') +enum_header_string = "-efg" # str | Header parameter enum test (string) (optional) (default to "-efg") enum_query_string_array = ['enum_query_string_array_example'] # list[str] | Query parameter enum test (string array) (optional) -enum_query_string = '-efg' # str | Query parameter enum test (string) (optional) (default to '-efg') +enum_query_string = "-efg" # str | Query parameter enum test (string) (optional) (default to "-efg") enum_query_integer = 56 # int | Query parameter enum test (double) (optional) enum_query_double = 3.4 # float | Query parameter enum test (double) (optional) -enum_form_string_array = '$' # list[str] | Form parameter enum test (string array) (optional) (default to '$') -enum_form_string = '-efg' # str | Form parameter enum test (string) (optional) (default to '-efg') +enum_form_string_array = "$" # list[str] | Form parameter enum test (string array) (optional) (default to "$") +enum_form_string = "-efg" # str | Form parameter enum test (string) (optional) (default to "-efg") try: # To test enum parameters @@ -653,13 +653,13 @@ enum_form_string = '-efg' # str | Form parameter enum test (string) (optional) ( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **enum_header_string_array** | [**list[str]**](str.md)| Header parameter enum test (string array) | [optional] - **enum_header_string** | **str**| Header parameter enum test (string) | [optional] [default to '-efg'] + **enum_header_string** | **str**| Header parameter enum test (string) | [optional] [default to "-efg"] **enum_query_string_array** | [**list[str]**](str.md)| Query parameter enum test (string array) | [optional] - **enum_query_string** | **str**| Query parameter enum test (string) | [optional] [default to '-efg'] + **enum_query_string** | **str**| Query parameter enum test (string) | [optional] [default to "-efg"] **enum_query_integer** | **int**| Query parameter enum test (double) | [optional] **enum_query_double** | **float**| Query parameter enum test (double) | [optional] - **enum_form_string_array** | [**list[str]**](str.md)| Form parameter enum test (string array) | [optional] [default to '$'] - **enum_form_string** | **str**| Form parameter enum test (string) | [optional] [default to '-efg'] + **enum_form_string_array** | [**list[str]**](str.md)| Form parameter enum test (string array) | [optional] [default to "$"] + **enum_form_string** | **str**| Form parameter enum test (string) | [optional] [default to "-efg"] ### Return type diff --git a/samples/client/petstore/python-asyncio/docs/TypeHolderDefault.md b/samples/client/petstore/python-asyncio/docs/TypeHolderDefault.md index 861da021826a..7a8b80eb8f8a 100644 --- a/samples/client/petstore/python-asyncio/docs/TypeHolderDefault.md +++ b/samples/client/petstore/python-asyncio/docs/TypeHolderDefault.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**string_item** | **str** | | [default to 'what'] +**string_item** | **str** | | [default to "what"] **number_item** | **float** | | **integer_item** | **int** | | **bool_item** | **bool** | | [default to True] diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/animal.py b/samples/client/petstore/python-asyncio/petstore_api/models/animal.py index b338e0eb18e9..859c7b2e5e3f 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/animal.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/animal.py @@ -48,7 +48,7 @@ class Animal(object): 'BigCat': 'BigCat' } - def __init__(self, class_name=None, color='red', local_vars_configuration=None): # noqa: E501 + def __init__(self, class_name=None, color="red", local_vars_configuration=None): # noqa: E501 """Animal - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/category.py b/samples/client/petstore/python-asyncio/petstore_api/models/category.py index b47c148953ea..95e1b8312d3f 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/category.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/category.py @@ -42,7 +42,7 @@ class Category(object): 'name': 'name' } - def __init__(self, id=None, name='default-name', local_vars_configuration=None): # noqa: E501 + def __init__(self, id=None, name="default-name", local_vars_configuration=None): # noqa: E501 """Category - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/type_holder_default.py b/samples/client/petstore/python-asyncio/petstore_api/models/type_holder_default.py index 8163ea77aa73..dc94e639eac2 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/type_holder_default.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/type_holder_default.py @@ -48,7 +48,7 @@ class TypeHolderDefault(object): 'array_item': 'array_item' } - def __init__(self, string_item='what', number_item=None, integer_item=None, bool_item=True, array_item=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, string_item="what", number_item=None, integer_item=None, bool_item=True, array_item=None, local_vars_configuration=None): # noqa: E501 """TypeHolderDefault - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() diff --git a/samples/client/petstore/python-tornado/docs/Animal.md b/samples/client/petstore/python-tornado/docs/Animal.md index 7ed4ba541fa3..d9a9be5bfe66 100644 --- a/samples/client/petstore/python-tornado/docs/Animal.md +++ b/samples/client/petstore/python-tornado/docs/Animal.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **class_name** | **str** | | -**color** | **str** | | [optional] [default to 'red'] +**color** | **str** | | [optional] [default to "red"] [[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/samples/client/petstore/python-tornado/docs/Category.md b/samples/client/petstore/python-tornado/docs/Category.md index 7e5c1e316499..e6f8efaf2f54 100644 --- a/samples/client/petstore/python-tornado/docs/Category.md +++ b/samples/client/petstore/python-tornado/docs/Category.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **int** | | [optional] -**name** | **str** | | [default to 'default-name'] +**name** | **str** | | [default to "default-name"] [[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/samples/client/petstore/python-tornado/docs/FakeApi.md b/samples/client/petstore/python-tornado/docs/FakeApi.md index 68a36b5f7525..07d13239ed98 100644 --- a/samples/client/petstore/python-tornado/docs/FakeApi.md +++ b/samples/client/petstore/python-tornado/docs/FakeApi.md @@ -633,13 +633,13 @@ with petstore_api.ApiClient() as api_client: # Create an instance of the API class api_instance = petstore_api.FakeApi(api_client) enum_header_string_array = ['enum_header_string_array_example'] # list[str] | Header parameter enum test (string array) (optional) -enum_header_string = '-efg' # str | Header parameter enum test (string) (optional) (default to '-efg') +enum_header_string = "-efg" # str | Header parameter enum test (string) (optional) (default to "-efg") enum_query_string_array = ['enum_query_string_array_example'] # list[str] | Query parameter enum test (string array) (optional) -enum_query_string = '-efg' # str | Query parameter enum test (string) (optional) (default to '-efg') +enum_query_string = "-efg" # str | Query parameter enum test (string) (optional) (default to "-efg") enum_query_integer = 56 # int | Query parameter enum test (double) (optional) enum_query_double = 3.4 # float | Query parameter enum test (double) (optional) -enum_form_string_array = '$' # list[str] | Form parameter enum test (string array) (optional) (default to '$') -enum_form_string = '-efg' # str | Form parameter enum test (string) (optional) (default to '-efg') +enum_form_string_array = "$" # list[str] | Form parameter enum test (string array) (optional) (default to "$") +enum_form_string = "-efg" # str | Form parameter enum test (string) (optional) (default to "-efg") try: # To test enum parameters @@ -653,13 +653,13 @@ enum_form_string = '-efg' # str | Form parameter enum test (string) (optional) ( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **enum_header_string_array** | [**list[str]**](str.md)| Header parameter enum test (string array) | [optional] - **enum_header_string** | **str**| Header parameter enum test (string) | [optional] [default to '-efg'] + **enum_header_string** | **str**| Header parameter enum test (string) | [optional] [default to "-efg"] **enum_query_string_array** | [**list[str]**](str.md)| Query parameter enum test (string array) | [optional] - **enum_query_string** | **str**| Query parameter enum test (string) | [optional] [default to '-efg'] + **enum_query_string** | **str**| Query parameter enum test (string) | [optional] [default to "-efg"] **enum_query_integer** | **int**| Query parameter enum test (double) | [optional] **enum_query_double** | **float**| Query parameter enum test (double) | [optional] - **enum_form_string_array** | [**list[str]**](str.md)| Form parameter enum test (string array) | [optional] [default to '$'] - **enum_form_string** | **str**| Form parameter enum test (string) | [optional] [default to '-efg'] + **enum_form_string_array** | [**list[str]**](str.md)| Form parameter enum test (string array) | [optional] [default to "$"] + **enum_form_string** | **str**| Form parameter enum test (string) | [optional] [default to "-efg"] ### Return type diff --git a/samples/client/petstore/python-tornado/docs/TypeHolderDefault.md b/samples/client/petstore/python-tornado/docs/TypeHolderDefault.md index 861da021826a..7a8b80eb8f8a 100644 --- a/samples/client/petstore/python-tornado/docs/TypeHolderDefault.md +++ b/samples/client/petstore/python-tornado/docs/TypeHolderDefault.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**string_item** | **str** | | [default to 'what'] +**string_item** | **str** | | [default to "what"] **number_item** | **float** | | **integer_item** | **int** | | **bool_item** | **bool** | | [default to True] diff --git a/samples/client/petstore/python-tornado/petstore_api/models/animal.py b/samples/client/petstore/python-tornado/petstore_api/models/animal.py index b338e0eb18e9..859c7b2e5e3f 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/animal.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/animal.py @@ -48,7 +48,7 @@ class Animal(object): 'BigCat': 'BigCat' } - def __init__(self, class_name=None, color='red', local_vars_configuration=None): # noqa: E501 + def __init__(self, class_name=None, color="red", local_vars_configuration=None): # noqa: E501 """Animal - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() diff --git a/samples/client/petstore/python-tornado/petstore_api/models/category.py b/samples/client/petstore/python-tornado/petstore_api/models/category.py index b47c148953ea..95e1b8312d3f 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/category.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/category.py @@ -42,7 +42,7 @@ class Category(object): 'name': 'name' } - def __init__(self, id=None, name='default-name', local_vars_configuration=None): # noqa: E501 + def __init__(self, id=None, name="default-name", local_vars_configuration=None): # noqa: E501 """Category - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() diff --git a/samples/client/petstore/python-tornado/petstore_api/models/type_holder_default.py b/samples/client/petstore/python-tornado/petstore_api/models/type_holder_default.py index 8163ea77aa73..dc94e639eac2 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/type_holder_default.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/type_holder_default.py @@ -48,7 +48,7 @@ class TypeHolderDefault(object): 'array_item': 'array_item' } - def __init__(self, string_item='what', number_item=None, integer_item=None, bool_item=True, array_item=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, string_item="what", number_item=None, integer_item=None, bool_item=True, array_item=None, local_vars_configuration=None): # noqa: E501 """TypeHolderDefault - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() diff --git a/samples/client/petstore/python/docs/Animal.md b/samples/client/petstore/python/docs/Animal.md index 7ed4ba541fa3..d9a9be5bfe66 100644 --- a/samples/client/petstore/python/docs/Animal.md +++ b/samples/client/petstore/python/docs/Animal.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **class_name** | **str** | | -**color** | **str** | | [optional] [default to 'red'] +**color** | **str** | | [optional] [default to "red"] [[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/samples/client/petstore/python/docs/Category.md b/samples/client/petstore/python/docs/Category.md index 7e5c1e316499..e6f8efaf2f54 100644 --- a/samples/client/petstore/python/docs/Category.md +++ b/samples/client/petstore/python/docs/Category.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **int** | | [optional] -**name** | **str** | | [default to 'default-name'] +**name** | **str** | | [default to "default-name"] [[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/samples/client/petstore/python/docs/FakeApi.md b/samples/client/petstore/python/docs/FakeApi.md index 68a36b5f7525..07d13239ed98 100644 --- a/samples/client/petstore/python/docs/FakeApi.md +++ b/samples/client/petstore/python/docs/FakeApi.md @@ -633,13 +633,13 @@ with petstore_api.ApiClient() as api_client: # Create an instance of the API class api_instance = petstore_api.FakeApi(api_client) enum_header_string_array = ['enum_header_string_array_example'] # list[str] | Header parameter enum test (string array) (optional) -enum_header_string = '-efg' # str | Header parameter enum test (string) (optional) (default to '-efg') +enum_header_string = "-efg" # str | Header parameter enum test (string) (optional) (default to "-efg") enum_query_string_array = ['enum_query_string_array_example'] # list[str] | Query parameter enum test (string array) (optional) -enum_query_string = '-efg' # str | Query parameter enum test (string) (optional) (default to '-efg') +enum_query_string = "-efg" # str | Query parameter enum test (string) (optional) (default to "-efg") enum_query_integer = 56 # int | Query parameter enum test (double) (optional) enum_query_double = 3.4 # float | Query parameter enum test (double) (optional) -enum_form_string_array = '$' # list[str] | Form parameter enum test (string array) (optional) (default to '$') -enum_form_string = '-efg' # str | Form parameter enum test (string) (optional) (default to '-efg') +enum_form_string_array = "$" # list[str] | Form parameter enum test (string array) (optional) (default to "$") +enum_form_string = "-efg" # str | Form parameter enum test (string) (optional) (default to "-efg") try: # To test enum parameters @@ -653,13 +653,13 @@ enum_form_string = '-efg' # str | Form parameter enum test (string) (optional) ( Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **enum_header_string_array** | [**list[str]**](str.md)| Header parameter enum test (string array) | [optional] - **enum_header_string** | **str**| Header parameter enum test (string) | [optional] [default to '-efg'] + **enum_header_string** | **str**| Header parameter enum test (string) | [optional] [default to "-efg"] **enum_query_string_array** | [**list[str]**](str.md)| Query parameter enum test (string array) | [optional] - **enum_query_string** | **str**| Query parameter enum test (string) | [optional] [default to '-efg'] + **enum_query_string** | **str**| Query parameter enum test (string) | [optional] [default to "-efg"] **enum_query_integer** | **int**| Query parameter enum test (double) | [optional] **enum_query_double** | **float**| Query parameter enum test (double) | [optional] - **enum_form_string_array** | [**list[str]**](str.md)| Form parameter enum test (string array) | [optional] [default to '$'] - **enum_form_string** | **str**| Form parameter enum test (string) | [optional] [default to '-efg'] + **enum_form_string_array** | [**list[str]**](str.md)| Form parameter enum test (string array) | [optional] [default to "$"] + **enum_form_string** | **str**| Form parameter enum test (string) | [optional] [default to "-efg"] ### Return type diff --git a/samples/client/petstore/python/docs/TypeHolderDefault.md b/samples/client/petstore/python/docs/TypeHolderDefault.md index 861da021826a..7a8b80eb8f8a 100644 --- a/samples/client/petstore/python/docs/TypeHolderDefault.md +++ b/samples/client/petstore/python/docs/TypeHolderDefault.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**string_item** | **str** | | [default to 'what'] +**string_item** | **str** | | [default to "what"] **number_item** | **float** | | **integer_item** | **int** | | **bool_item** | **bool** | | [default to True] diff --git a/samples/client/petstore/python/petstore_api/models/animal.py b/samples/client/petstore/python/petstore_api/models/animal.py index b338e0eb18e9..859c7b2e5e3f 100644 --- a/samples/client/petstore/python/petstore_api/models/animal.py +++ b/samples/client/petstore/python/petstore_api/models/animal.py @@ -48,7 +48,7 @@ class Animal(object): 'BigCat': 'BigCat' } - def __init__(self, class_name=None, color='red', local_vars_configuration=None): # noqa: E501 + def __init__(self, class_name=None, color="red", local_vars_configuration=None): # noqa: E501 """Animal - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() diff --git a/samples/client/petstore/python/petstore_api/models/category.py b/samples/client/petstore/python/petstore_api/models/category.py index b47c148953ea..95e1b8312d3f 100644 --- a/samples/client/petstore/python/petstore_api/models/category.py +++ b/samples/client/petstore/python/petstore_api/models/category.py @@ -42,7 +42,7 @@ class Category(object): 'name': 'name' } - def __init__(self, id=None, name='default-name', local_vars_configuration=None): # noqa: E501 + def __init__(self, id=None, name="default-name", local_vars_configuration=None): # noqa: E501 """Category - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() diff --git a/samples/client/petstore/python/petstore_api/models/type_holder_default.py b/samples/client/petstore/python/petstore_api/models/type_holder_default.py index 8163ea77aa73..dc94e639eac2 100644 --- a/samples/client/petstore/python/petstore_api/models/type_holder_default.py +++ b/samples/client/petstore/python/petstore_api/models/type_holder_default.py @@ -48,7 +48,7 @@ class TypeHolderDefault(object): 'array_item': 'array_item' } - def __init__(self, string_item='what', number_item=None, integer_item=None, bool_item=True, array_item=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, string_item="what", number_item=None, integer_item=None, bool_item=True, array_item=None, local_vars_configuration=None): # noqa: E501 """TypeHolderDefault - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration()