[Python] Add __all__ variable in the package __init__.py file for Python APIs (#21185)

* Add __all__ to the package __init__.py file for Python APIs

* Remove empty line before closing bracket

* Add missing samples
This commit is contained in:
Juanpe Araque
2025-05-07 09:59:49 +02:00
committed by GitHub
parent 3048fb02e1
commit f2813716fb
9 changed files with 647 additions and 0 deletions

View File

@@ -17,6 +17,37 @@
__version__ = "1.0.0"
# Define package exports
__all__ = [
"AuthApi",
"BodyApi",
"FormApi",
"HeaderApi",
"PathApi",
"QueryApi",
"ApiResponse",
"ApiClient",
"Configuration",
"OpenApiException",
"ApiTypeError",
"ApiValueError",
"ApiKeyError",
"ApiAttributeError",
"ApiException",
"Bird",
"Category",
"DataQuery",
"DefaultValue",
"NumberPropertiesOnly",
"Pet",
"Query",
"StringEnumRef",
"Tag",
"TestFormObjectMultipartRequestMarker",
"TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter",
"TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter",
]
# import apis into sdk package
from openapi_client.api.auth_api import AuthApi
from openapi_client.api.body_api import BodyApi