Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python: Add back unused imports #1640

Merged
merged 2 commits into from
Jan 15, 2025
Merged
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
63 changes: 52 additions & 11 deletions python/svix/api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
# ruff: noqa: F401

import typing as t
from dataclasses import dataclass, field

from .application import (
ApplicationAsync,
Application,
ApplicationIn,
ApplicationOut,
ApplicationPatch,
ApplicationListOptions,
)
from .application import ApplicationAsync, Application, ApplicationListOptions
from .authentication import AuthenticationAsync, Authentication
from .endpoint import EndpointAsync, Endpoint, EndpointListOptions
from .event_type import EventTypeAsync, EventType, EventTypeListOptions
Expand All @@ -25,8 +20,22 @@
)
from .statistics import StatisticsAsync, Statistics


from svix.internal.openapi_client.models.aggregate_event_types_out import (
AggregateEventTypesOut,
)
from svix.internal.openapi_client.models.app_usage_stats_in import AppUsageStatsIn
from svix.internal.openapi_client.models.app_usage_stats_out import AppUsageStatsOut
from svix.internal.openapi_client.client import AuthenticatedClient
from svix.internal.openapi_client.models.app_portal_access_in import AppPortalAccessIn
from svix.internal.openapi_client.models.app_portal_access_out import AppPortalAccessOut
from svix.internal.openapi_client.models.application_in import ApplicationIn
from svix.internal.openapi_client.models.application_out import ApplicationOut
from svix.internal.openapi_client.models.application_patch import ApplicationPatch
from svix.internal.openapi_client.models.background_task_out import BackgroundTaskOut
from svix.internal.openapi_client.models.background_task_status import (
BackgroundTaskStatus,
)
from svix.internal.openapi_client.models.background_task_type import BackgroundTaskType
from svix.internal.openapi_client.models.dashboard_access_out import DashboardAccessOut
from svix.internal.openapi_client.models.endpoint_headers_in import EndpointHeadersIn
from svix.internal.openapi_client.models.endpoint_headers_out import EndpointHeadersOut
Expand All @@ -43,14 +52,36 @@
from svix.internal.openapi_client.models.endpoint_secret_rotate_in import (
EndpointSecretRotateIn,
)
from svix.internal.openapi_client.models.operational_webhook_endpoint_in import (
OperationalWebhookEndpointIn,
)
from svix.internal.openapi_client.models.operational_webhook_endpoint_out import (
OperationalWebhookEndpointOut,
)
from svix.internal.openapi_client.models.operational_webhook_endpoint_secret_in import (
OperationalWebhookEndpointSecretIn,
)
from svix.internal.openapi_client.models.operational_webhook_endpoint_secret_out import (
OperationalWebhookEndpointSecretOut,
)
from svix.internal.openapi_client.models.operational_webhook_endpoint_update import (
OperationalWebhookEndpointUpdate,
)
from svix.internal.openapi_client.models.endpoint_stats import EndpointStats
from svix.internal.openapi_client.models.endpoint_transformation_in import (
EndpointTransformationIn,
)
from svix.internal.openapi_client.models.endpoint_transformation_out import (
EndpointTransformationOut,
)
from svix.internal.openapi_client.models.endpoint_update import EndpointUpdate
from svix.internal.openapi_client.models.event_example_in import EventExampleIn
from svix.internal.openapi_client.models.event_type_import_open_api_in import (
EventTypeImportOpenApiIn,
)
from svix.internal.openapi_client.models.event_type_import_open_api_out import (
EventTypeImportOpenApiOut,
)


from svix.internal.openapi_client.models.event_type_in import EventTypeIn
from svix.internal.openapi_client.models.event_type_out import EventTypeOut
from svix.internal.openapi_client.models.event_type_patch import EventTypePatch
Expand All @@ -62,12 +93,18 @@
from svix.internal.openapi_client.models.list_response_application_out import (
ListResponseApplicationOut,
)
from svix.internal.openapi_client.models.list_response_background_task_out import (
ListResponseBackgroundTaskOut,
)
from svix.internal.openapi_client.models.list_response_endpoint_message_out import (
ListResponseEndpointMessageOut,
)
from svix.internal.openapi_client.models.list_response_endpoint_out import (
ListResponseEndpointOut,
)
from svix.internal.openapi_client.models.list_response_operational_webhook_endpoint_out import (
ListResponseOperationalWebhookEndpointOut,
)
from svix.internal.openapi_client.models.list_response_event_type_out import (
ListResponseEventTypeOut,
)
Expand All @@ -92,7 +129,11 @@
from svix.internal.openapi_client.models.message_out import MessageOut
from svix.internal.openapi_client.models.message_out_payload import MessageOutPayload
from svix.internal.openapi_client.models.message_status import MessageStatus
from svix.internal.openapi_client.models.ordering import Ordering
from svix.internal.openapi_client.models.recover_in import RecoverIn
from svix.internal.openapi_client.models.recover_out import RecoverOut
from svix.internal.openapi_client.models.replay_in import ReplayIn
from svix.internal.openapi_client.models.replay_out import ReplayOut
from svix.internal.openapi_client.models.status_code_class import StatusCodeClass

DEFAULT_SERVER_URL = "https://api.svix.com"
Expand Down