Add post processing to files generated by Python generators (#1072)

* add post process file to python generators

* update python samples with yapf

* revert sample change
This commit is contained in:
William Cheng
2018-09-22 11:50:17 +08:00
committed by GitHub
parent 14de289fc1
commit 8fb3b707a1
5 changed files with 71 additions and 5 deletions

View File

@@ -1 +1 @@
3.2.2-SNAPSHOT
3.3.0-SNAPSHOT

View File

@@ -6,7 +6,7 @@ Name | Type | Description | Notes
**map_map_of_string** | **dict(str, dict(str, str))** | | [optional]
**map_of_enum_string** | **dict(str, str)** | | [optional]
**direct_map** | **dict(str, bool)** | | [optional]
**indirect_map** | [**StringBooleanMap**](StringBooleanMap.md) | | [optional]
**indirect_map** | **dict(str, bool)** | | [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)

View File

@@ -34,7 +34,7 @@ class MapTest(object):
'map_map_of_string': 'dict(str, dict(str, str))',
'map_of_enum_string': 'dict(str, str)',
'direct_map': 'dict(str, bool)',
'indirect_map': 'StringBooleanMap'
'indirect_map': 'dict(str, bool)'
}
attribute_map = {
@@ -138,7 +138,7 @@ class MapTest(object):
:return: The indirect_map of this MapTest. # noqa: E501
:rtype: StringBooleanMap
:rtype: dict(str, bool)
"""
return self._indirect_map
@@ -148,7 +148,7 @@ class MapTest(object):
:param indirect_map: The indirect_map of this MapTest. # noqa: E501
:type: StringBooleanMap
:type: dict(str, bool)
"""
self._indirect_map = indirect_map