Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

{{>partial_header}}

import warnings
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

{{>partial_header}}


Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# coding: utf-8

{{>partial_header}}


{{#async}}
import base64
{{/async}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

{{>partial_header}}

from typing import Any, Optional
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# coding: utf-8

{{>partial_header}}


from setuptools import setup, find_packages # noqa: H301

# To install the library, run the following
Expand Down Expand Up @@ -57,4 +54,4 @@ setup(
{{appDescription}}
""", # noqa: E501
package_data={"{{{packageName}}}": ["py.typed"]},
)
)
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
Echo Server API

Expand All @@ -12,6 +10,7 @@
Do not edit the class manually.
""" # noqa: E501


import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
Echo Server API

Expand All @@ -12,6 +10,7 @@
Do not edit the class manually.
""" # noqa: E501


import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
Echo Server API

Expand All @@ -12,6 +10,7 @@
Do not edit the class manually.
""" # noqa: E501


import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
Echo Server API

Expand All @@ -12,6 +10,7 @@
Do not edit the class manually.
""" # noqa: E501


import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
Echo Server API

Expand All @@ -12,6 +10,7 @@
Do not edit the class manually.
""" # noqa: E501


import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
Echo Server API

Expand All @@ -12,6 +10,7 @@
Do not edit the class manually.
""" # noqa: E501


import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
Echo Server API

Expand All @@ -13,6 +11,7 @@
""" # noqa: E501



import datetime
from dateutil.parser import parse
from enum import Enum
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
Echo Server API

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
Echo Server API

Expand All @@ -12,6 +10,7 @@
Do not edit the class manually.
""" # noqa: E501


from typing import Any, Optional
from typing_extensions import Self

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
Echo Server API

Expand Down Expand Up @@ -48,4 +46,4 @@
Echo Server API
""", # noqa: E501
package_data={"openapi_client": ["py.typed"]},
)
)
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
Echo Server API

Expand All @@ -12,6 +10,7 @@
Do not edit the class manually.
""" # noqa: E501


import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
Echo Server API

Expand All @@ -12,6 +10,7 @@
Do not edit the class manually.
""" # noqa: E501


import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
Echo Server API

Expand All @@ -12,6 +10,7 @@
Do not edit the class manually.
""" # noqa: E501


import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
Echo Server API

Expand All @@ -12,6 +10,7 @@
Do not edit the class manually.
""" # noqa: E501


import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
Echo Server API

Expand All @@ -12,6 +10,7 @@
Do not edit the class manually.
""" # noqa: E501


import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
Echo Server API

Expand All @@ -12,6 +10,7 @@
Do not edit the class manually.
""" # noqa: E501


import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
Expand Down
3 changes: 1 addition & 2 deletions samples/client/echo_api/python/openapi_client/api_client.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
Echo Server API

Expand All @@ -13,6 +11,7 @@
""" # noqa: E501



import datetime
from dateutil.parser import parse
from enum import Enum
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
Echo Server API

Expand Down
3 changes: 1 addition & 2 deletions samples/client/echo_api/python/openapi_client/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
Echo Server API

Expand All @@ -12,6 +10,7 @@
Do not edit the class manually.
""" # noqa: E501


from typing import Any, Optional
from typing_extensions import Self

Expand Down
4 changes: 1 addition & 3 deletions samples/client/echo_api/python/setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
Echo Server API

Expand Down Expand Up @@ -48,4 +46,4 @@
Echo Server API
""", # noqa: E501
package_data={"openapi_client": ["py.typed"]},
)
)
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
OpenAPI Petstore
Expand All @@ -11,6 +9,7 @@
Do not edit the class manually.
""" # noqa: E501


import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
OpenAPI Petstore
Expand All @@ -11,6 +9,7 @@
Do not edit the class manually.
""" # noqa: E501


import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
OpenAPI Petstore
Expand All @@ -11,6 +9,7 @@
Do not edit the class manually.
""" # noqa: E501


import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
OpenAPI Petstore
Expand All @@ -11,6 +9,7 @@
Do not edit the class manually.
""" # noqa: E501


import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
OpenAPI Petstore
Expand All @@ -11,6 +9,7 @@
Do not edit the class manually.
""" # noqa: E501


import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
OpenAPI Petstore
Expand All @@ -11,6 +9,7 @@
Do not edit the class manually.
""" # noqa: E501


import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
Expand Down
Loading
Loading