Skip to content

Commit 7eeab03

Browse files
authored
remove coding: utf-8 as thats the default already (#22934)
1 parent 59042aa commit 7eeab03

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+63
-155
lines changed

modules/openapi-generator/src/main/resources/python/api.mustache

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# coding: utf-8
2-
31
{{>partial_header}}
42

53
import warnings

modules/openapi-generator/src/main/resources/python/api_client.mustache

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# coding: utf-8
2-
31
{{>partial_header}}
42

53

modules/openapi-generator/src/main/resources/python/configuration.mustache

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
# coding: utf-8
2-
31
{{>partial_header}}
42

5-
63
{{#async}}
74
import base64
85
{{/async}}

modules/openapi-generator/src/main/resources/python/exceptions.mustache

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# coding: utf-8
2-
31
{{>partial_header}}
42

53
from typing import Any, Optional

modules/openapi-generator/src/main/resources/python/setup.mustache

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
# coding: utf-8
2-
31
{{>partial_header}}
42

5-
63
from setuptools import setup, find_packages # noqa: H301
74

85
# To install the library, run the following
@@ -57,4 +54,4 @@ setup(
5754
{{appDescription}}
5855
""", # noqa: E501
5956
package_data={"{{{packageName}}}": ["py.typed"]},
60-
)
57+
)

samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/auth_api.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# coding: utf-8
2-
31
"""
42
Echo Server API
53
@@ -12,6 +10,7 @@
1210
Do not edit the class manually.
1311
""" # noqa: E501
1412

13+
1514
import warnings
1615
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
1716
from typing import Any, Dict, List, Optional, Tuple, Union

samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/body_api.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# coding: utf-8
2-
31
"""
42
Echo Server API
53
@@ -12,6 +10,7 @@
1210
Do not edit the class manually.
1311
""" # noqa: E501
1412

13+
1514
import warnings
1615
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
1716
from typing import Any, Dict, List, Optional, Tuple, Union

samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/form_api.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# coding: utf-8
2-
31
"""
42
Echo Server API
53
@@ -12,6 +10,7 @@
1210
Do not edit the class manually.
1311
""" # noqa: E501
1412

13+
1514
import warnings
1615
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
1716
from typing import Any, Dict, List, Optional, Tuple, Union

samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/header_api.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# coding: utf-8
2-
31
"""
42
Echo Server API
53
@@ -12,6 +10,7 @@
1210
Do not edit the class manually.
1311
""" # noqa: E501
1412

13+
1514
import warnings
1615
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
1716
from typing import Any, Dict, List, Optional, Tuple, Union

samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/path_api.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# coding: utf-8
2-
31
"""
42
Echo Server API
53
@@ -12,6 +10,7 @@
1210
Do not edit the class manually.
1311
""" # noqa: E501
1412

13+
1514
import warnings
1615
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
1716
from typing import Any, Dict, List, Optional, Tuple, Union

0 commit comments

Comments
 (0)