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
98 changes: 8 additions & 90 deletions ibutsu_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

A system to store and query test results

The version of the OpenAPI document: 2.8.0
The version of the OpenAPI document: 2.8.1
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down Expand Up @@ -76,89 +76,13 @@
"WidgetTypeList",
]

if __import__("typing").TYPE_CHECKING:
# import apis into sdk package
from ibutsu_client.api.admin_project_management_api import (
AdminProjectManagementApi as AdminProjectManagementApi,
)
from ibutsu_client.api.admin_user_management_api import (
AdminUserManagementApi as AdminUserManagementApi,
)
from ibutsu_client.api.artifact_api import ArtifactApi as ArtifactApi
from ibutsu_client.api.dashboard_api import DashboardApi as DashboardApi
from ibutsu_client.api.group_api import GroupApi as GroupApi
from ibutsu_client.api.health_api import HealthApi as HealthApi
from ibutsu_client.api.import_api import ImportApi as ImportApi
from ibutsu_client.api.login_api import LoginApi as LoginApi
from ibutsu_client.api.project_api import ProjectApi as ProjectApi
from ibutsu_client.api.result_api import ResultApi as ResultApi
from ibutsu_client.api.run_api import RunApi as RunApi
from ibutsu_client.api.task_api import TaskApi as TaskApi
from ibutsu_client.api.user_api import UserApi as UserApi
from ibutsu_client.api.widget_api import WidgetApi as WidgetApi
from ibutsu_client.api.widget_config_api import WidgetConfigApi as WidgetConfigApi

# import ApiClient
from ibutsu_client.api_response import ApiResponse as ApiResponse
from ibutsu_client.api_client import ApiClient as ApiClient
from ibutsu_client.configuration import Configuration as Configuration
from ibutsu_client.exceptions import OpenApiException as OpenApiException
from ibutsu_client.exceptions import ApiTypeError as ApiTypeError
from ibutsu_client.exceptions import ApiValueError as ApiValueError
from ibutsu_client.exceptions import ApiKeyError as ApiKeyError
from ibutsu_client.exceptions import ApiAttributeError as ApiAttributeError
from ibutsu_client.exceptions import ApiException as ApiException

# import models into sdk package
from ibutsu_client.models.account_recovery import AccountRecovery as AccountRecovery
from ibutsu_client.models.account_registration import (
AccountRegistration as AccountRegistration,
)
from ibutsu_client.models.account_reset import AccountReset as AccountReset
from ibutsu_client.models.artifact import Artifact as Artifact
from ibutsu_client.models.artifact_list import ArtifactList as ArtifactList
from ibutsu_client.models.create_token import CreateToken as CreateToken
from ibutsu_client.models.credentials import Credentials as Credentials
from ibutsu_client.models.dashboard import Dashboard as Dashboard
from ibutsu_client.models.dashboard_list import DashboardList as DashboardList
from ibutsu_client.models.group import Group as Group
from ibutsu_client.models.group_list import GroupList as GroupList
from ibutsu_client.models.health import Health as Health
from ibutsu_client.models.health_info import HealthInfo as HealthInfo
from ibutsu_client.models.login_config import LoginConfig as LoginConfig
from ibutsu_client.models.login_error import LoginError as LoginError
from ibutsu_client.models.login_support import LoginSupport as LoginSupport
from ibutsu_client.models.login_token import LoginToken as LoginToken
from ibutsu_client.models.model_import import ModelImport as ModelImport
from ibutsu_client.models.pagination import Pagination as Pagination
from ibutsu_client.models.project import Project as Project
from ibutsu_client.models.project_list import ProjectList as ProjectList
from ibutsu_client.models.result import Result as Result
from ibutsu_client.models.result_list import ResultList as ResultList
from ibutsu_client.models.run import Run as Run
from ibutsu_client.models.run_list import RunList as RunList
from ibutsu_client.models.token import Token as Token
from ibutsu_client.models.token_list import TokenList as TokenList
from ibutsu_client.models.update_run import UpdateRun as UpdateRun
from ibutsu_client.models.user import User as User
from ibutsu_client.models.user_list import UserList as UserList
from ibutsu_client.models.widget_config import WidgetConfig as WidgetConfig
from ibutsu_client.models.widget_config_list import WidgetConfigList as WidgetConfigList
from ibutsu_client.models.widget_param import WidgetParam as WidgetParam
from ibutsu_client.models.widget_type import WidgetType as WidgetType
from ibutsu_client.models.widget_type_list import WidgetTypeList as WidgetTypeList

else:
from lazy_imports import LazyModule, as_package, load

load(
LazyModule(
*as_package(__file__),
("__version__", __version__),
("__all__", __all__),
"""# import apis into sdk package
from ibutsu_client.api.admin_project_management_api import AdminProjectManagementApi as AdminProjectManagementApi
from ibutsu_client.api.admin_user_management_api import AdminUserManagementApi as AdminUserManagementApi
# import apis into sdk package
from ibutsu_client.api.admin_project_management_api import (
AdminProjectManagementApi as AdminProjectManagementApi,
)
from ibutsu_client.api.admin_user_management_api import (
AdminUserManagementApi as AdminUserManagementApi,
)
from ibutsu_client.api.artifact_api import ArtifactApi as ArtifactApi
from ibutsu_client.api.dashboard_api import DashboardApi as DashboardApi
from ibutsu_client.api.group_api import GroupApi as GroupApi
Expand Down Expand Up @@ -220,9 +144,3 @@
from ibutsu_client.models.widget_param import WidgetParam as WidgetParam
from ibutsu_client.models.widget_type import WidgetType as WidgetType
from ibutsu_client.models.widget_type_list import WidgetTypeList as WidgetTypeList

""",
name=__name__,
doc=__doc__,
)
)
32 changes: 1 addition & 31 deletions ibutsu_client/api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,30 +1,6 @@
# flake8: noqa

if __import__("typing").TYPE_CHECKING:
# import apis into api package
from ibutsu_client.api.admin_project_management_api import AdminProjectManagementApi
from ibutsu_client.api.admin_user_management_api import AdminUserManagementApi
from ibutsu_client.api.artifact_api import ArtifactApi
from ibutsu_client.api.dashboard_api import DashboardApi
from ibutsu_client.api.group_api import GroupApi
from ibutsu_client.api.health_api import HealthApi
from ibutsu_client.api.import_api import ImportApi
from ibutsu_client.api.login_api import LoginApi
from ibutsu_client.api.project_api import ProjectApi
from ibutsu_client.api.result_api import ResultApi
from ibutsu_client.api.run_api import RunApi
from ibutsu_client.api.task_api import TaskApi
from ibutsu_client.api.user_api import UserApi
from ibutsu_client.api.widget_api import WidgetApi
from ibutsu_client.api.widget_config_api import WidgetConfigApi

else:
from lazy_imports import LazyModule, as_package, load

load(
LazyModule(
*as_package(__file__),
"""# import apis into api package
# import apis into api package
from ibutsu_client.api.admin_project_management_api import AdminProjectManagementApi
from ibutsu_client.api.admin_user_management_api import AdminUserManagementApi
from ibutsu_client.api.artifact_api import ArtifactApi
Expand All @@ -40,9 +16,3 @@
from ibutsu_client.api.user_api import UserApi
from ibutsu_client.api.widget_api import WidgetApi
from ibutsu_client.api.widget_config_api import WidgetConfigApi

""",
name=__name__,
doc=__doc__,
)
)
2 changes: 1 addition & 1 deletion ibutsu_client/api/admin_project_management_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

A system to store and query test results

The version of the OpenAPI document: 2.8.0
The version of the OpenAPI document: 2.8.1
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ibutsu_client/api/admin_user_management_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

A system to store and query test results

The version of the OpenAPI document: 2.8.0
The version of the OpenAPI document: 2.8.1
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ibutsu_client/api/artifact_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

A system to store and query test results

The version of the OpenAPI document: 2.8.0
The version of the OpenAPI document: 2.8.1
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ibutsu_client/api/dashboard_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

A system to store and query test results

The version of the OpenAPI document: 2.8.0
The version of the OpenAPI document: 2.8.1
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ibutsu_client/api/group_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

A system to store and query test results

The version of the OpenAPI document: 2.8.0
The version of the OpenAPI document: 2.8.1
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ibutsu_client/api/health_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

A system to store and query test results

The version of the OpenAPI document: 2.8.0
The version of the OpenAPI document: 2.8.1
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ibutsu_client/api/import_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

A system to store and query test results

The version of the OpenAPI document: 2.8.0
The version of the OpenAPI document: 2.8.1
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ibutsu_client/api/login_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

A system to store and query test results

The version of the OpenAPI document: 2.8.0
The version of the OpenAPI document: 2.8.1
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ibutsu_client/api/project_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

A system to store and query test results

The version of the OpenAPI document: 2.8.0
The version of the OpenAPI document: 2.8.1
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ibutsu_client/api/result_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

A system to store and query test results

The version of the OpenAPI document: 2.8.0
The version of the OpenAPI document: 2.8.1
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ibutsu_client/api/run_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

A system to store and query test results

The version of the OpenAPI document: 2.8.0
The version of the OpenAPI document: 2.8.1
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ibutsu_client/api/task_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

A system to store and query test results

The version of the OpenAPI document: 2.8.0
The version of the OpenAPI document: 2.8.1
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ibutsu_client/api/user_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

A system to store and query test results

The version of the OpenAPI document: 2.8.0
The version of the OpenAPI document: 2.8.1
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ibutsu_client/api/widget_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

A system to store and query test results

The version of the OpenAPI document: 2.8.0
The version of the OpenAPI document: 2.8.1
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ibutsu_client/api/widget_config_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

A system to store and query test results

The version of the OpenAPI document: 2.8.0
The version of the OpenAPI document: 2.8.1
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
10 changes: 5 additions & 5 deletions ibutsu_client/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

A system to store and query test results

The version of the OpenAPI document: 2.8.0
The version of the OpenAPI document: 2.8.1
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down Expand Up @@ -425,13 +425,13 @@ def __deserialize(self, data, klass):

if klass in self.PRIMITIVE_TYPES:
return self.__deserialize_primitive(data, klass)
elif klass == object:
elif klass is object:
return self.__deserialize_object(data)
elif klass == datetime.date:
elif klass is datetime.date:
return self.__deserialize_date(data)
Comment thread
mshriver marked this conversation as resolved.
elif klass == datetime.datetime:
elif klass is datetime.datetime:
return self.__deserialize_datetime(data)
Comment thread
mshriver marked this conversation as resolved.
elif klass == decimal.Decimal:
elif klass is decimal.Decimal:
return decimal.Decimal(data)
elif issubclass(klass, Enum):
return self.__deserialize_enum(data, klass)
Expand Down
4 changes: 2 additions & 2 deletions ibutsu_client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

A system to store and query test results

The version of the OpenAPI document: 2.8.0
The version of the OpenAPI document: 2.8.1
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down Expand Up @@ -505,7 +505,7 @@ def to_debug_report(self) -> str:
"Python SDK Debug Report:\n"
f"OS: {sys.platform}\n"
f"Python Version: {sys.version}\n"
"Version of the API: 2.8.0\n"
"Version of the API: 2.8.1\n"
"SDK Package Version: 3.1.0"
)

Expand Down
2 changes: 1 addition & 1 deletion ibutsu_client/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

A system to store and query test results

The version of the OpenAPI document: 2.8.0
The version of the OpenAPI document: 2.8.1
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Loading
Loading