Skip to content

Commit

Permalink
feat: use __all__ to export symbols (#14)
Browse files Browse the repository at this point in the history
Co-authored-by: Nathanael DEMACON <[email protected]>
  • Loading branch information
scaleway-bot and quantumsheep authored Jan 16, 2023
1 parent 331fa02 commit ee552ea
Show file tree
Hide file tree
Showing 46 changed files with 3,418 additions and 2,138 deletions.
15 changes: 11 additions & 4 deletions scaleway-async/scaleway_async/account/v2/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# This file was automatically generated. DO NOT EDIT.
# If you have any remark or suggestion do not hesitate to open an issue.
from .types import ListProjectsRequestOrderBy as ListProjectsRequestOrderBy # noqa
from .types import ListProjectsResponse as ListProjectsResponse # noqa
from .types import Project as Project # noqa
from .api import AccountV2API as AccountV2API # noqa
from .types import ListProjectsRequestOrderBy
from .types import ListProjectsResponse
from .types import Project
from .api import AccountV2API

__all__ = [
"ListProjectsRequestOrderBy",
"ListProjectsResponse",
"Project",
"AccountV2API",
]
45 changes: 31 additions & 14 deletions scaleway-async/scaleway_async/applesilicon/v1alpha1/__init__.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,33 @@
# This file was automatically generated. DO NOT EDIT.
# If you have any remark or suggestion do not hesitate to open an issue.
from .types import ListServersRequestOrderBy as ListServersRequestOrderBy # noqa
from .types import ServerStatus as ServerStatus # noqa
from .types import ServerTypeStock as ServerTypeStock # noqa
from .types import ListOSResponse as ListOSResponse # noqa
from .types import ListServerTypesResponse as ListServerTypesResponse # noqa
from .types import ListServersResponse as ListServersResponse # noqa
from .types import OS as OS # noqa
from .types import Server as Server # noqa
from .types import ServerType as ServerType # noqa
from .types import ServerTypeCPU as ServerTypeCPU # noqa
from .types import ServerTypeDisk as ServerTypeDisk # noqa
from .types import ServerTypeMemory as ServerTypeMemory # noqa
from .content import SERVER_TRANSIENT_STATUSES as SERVER_TRANSIENT_STATUSES # noqa
from .api import ApplesiliconV1Alpha1API as ApplesiliconV1Alpha1API # noqa
from .types import ListServersRequestOrderBy
from .types import ServerStatus
from .types import ServerTypeStock
from .types import ListOSResponse
from .types import ListServerTypesResponse
from .types import ListServersResponse
from .types import OS
from .types import Server
from .types import ServerType
from .types import ServerTypeCPU
from .types import ServerTypeDisk
from .types import ServerTypeMemory
from .content import SERVER_TRANSIENT_STATUSES
from .api import ApplesiliconV1Alpha1API

__all__ = [
"ListServersRequestOrderBy",
"ServerStatus",
"ServerTypeStock",
"ListOSResponse",
"ListServerTypesResponse",
"ListServersResponse",
"OS",
"Server",
"ServerType",
"ServerTypeCPU",
"ServerTypeDisk",
"ServerTypeMemory",
"SERVER_TRANSIENT_STATUSES",
"ApplesiliconV1Alpha1API",
]
162 changes: 101 additions & 61 deletions scaleway-async/scaleway_async/baremetal/v1/__init__.py
Original file line number Diff line number Diff line change
@@ -1,63 +1,103 @@
# This file was automatically generated. DO NOT EDIT.
# If you have any remark or suggestion do not hesitate to open an issue.
from .types import IPReverseStatus as IPReverseStatus # noqa
from .types import IPVersion as IPVersion # noqa
from .types import (
ListServerEventsRequestOrderBy as ListServerEventsRequestOrderBy,
) # noqa
from .types import (
ListServerPrivateNetworksRequestOrderBy as ListServerPrivateNetworksRequestOrderBy,
) # noqa
from .types import ListServersRequestOrderBy as ListServersRequestOrderBy # noqa
from .types import ListSettingsRequestOrderBy as ListSettingsRequestOrderBy # noqa
from .types import OfferStock as OfferStock # noqa
from .types import OfferSubscriptionPeriod as OfferSubscriptionPeriod # noqa
from .types import ServerBootType as ServerBootType # noqa
from .types import ServerInstallStatus as ServerInstallStatus # noqa
from .types import ServerOptionOptionStatus as ServerOptionOptionStatus # noqa
from .types import ServerPingStatus as ServerPingStatus # noqa
from .types import ServerPrivateNetworkStatus as ServerPrivateNetworkStatus # noqa
from .types import ServerStatus as ServerStatus # noqa
from .types import SettingType as SettingType # noqa
from .types import BMCAccess as BMCAccess # noqa
from .types import CPU as CPU # noqa
from .types import CreateServerRequestInstall as CreateServerRequestInstall # noqa
from .types import Disk as Disk # noqa
from .types import GetServerMetricsResponse as GetServerMetricsResponse # noqa
from .types import IP as IP # noqa
from .types import ListOSResponse as ListOSResponse # noqa
from .types import ListOffersResponse as ListOffersResponse # noqa
from .types import ListOptionsResponse as ListOptionsResponse # noqa
from .types import ListServerEventsResponse as ListServerEventsResponse # noqa
from .types import (
ListServerPrivateNetworksResponse as ListServerPrivateNetworksResponse,
) # noqa
from .types import ListServersResponse as ListServersResponse # noqa
from .types import ListSettingsResponse as ListSettingsResponse # noqa
from .types import Memory as Memory # noqa
from .types import OS as OS # noqa
from .types import OSOSField as OSOSField # noqa
from .types import Offer as Offer # noqa
from .types import OfferOptionOffer as OfferOptionOffer # noqa
from .types import Option as Option # noqa
from .types import PersistentMemory as PersistentMemory # noqa
from .types import RaidController as RaidController # noqa
from .types import Server as Server # noqa
from .types import ServerEvent as ServerEvent # noqa
from .types import ServerInstall as ServerInstall # noqa
from .types import ServerOption as ServerOption # noqa
from .types import ServerPrivateNetwork as ServerPrivateNetwork # noqa
from .types import ServerRescueServer as ServerRescueServer # noqa
from .types import (
SetServerPrivateNetworksResponse as SetServerPrivateNetworksResponse,
) # noqa
from .types import Setting as Setting # noqa
from .content import (
SERVER_INSTALL_TRANSIENT_STATUSES as SERVER_INSTALL_TRANSIENT_STATUSES,
) # noqa
from .content import (
SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES as SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES,
) # noqa
from .content import SERVER_TRANSIENT_STATUSES as SERVER_TRANSIENT_STATUSES # noqa
from .api import BaremetalV1API as BaremetalV1API # noqa
from .api import BaremetalPrivateNetworkV1API as BaremetalPrivateNetworkV1API # noqa
from .types import IPReverseStatus
from .types import IPVersion
from .types import ListServerEventsRequestOrderBy
from .types import ListServerPrivateNetworksRequestOrderBy
from .types import ListServersRequestOrderBy
from .types import ListSettingsRequestOrderBy
from .types import OfferStock
from .types import OfferSubscriptionPeriod
from .types import ServerBootType
from .types import ServerInstallStatus
from .types import ServerOptionOptionStatus
from .types import ServerPingStatus
from .types import ServerPrivateNetworkStatus
from .types import ServerStatus
from .types import SettingType
from .types import BMCAccess
from .types import CPU
from .types import CreateServerRequestInstall
from .types import Disk
from .types import GetServerMetricsResponse
from .types import IP
from .types import ListOSResponse
from .types import ListOffersResponse
from .types import ListOptionsResponse
from .types import ListServerEventsResponse
from .types import ListServerPrivateNetworksResponse
from .types import ListServersResponse
from .types import ListSettingsResponse
from .types import Memory
from .types import OS
from .types import OSOSField
from .types import Offer
from .types import OfferOptionOffer
from .types import Option
from .types import PersistentMemory
from .types import RaidController
from .types import Server
from .types import ServerEvent
from .types import ServerInstall
from .types import ServerOption
from .types import ServerPrivateNetwork
from .types import ServerRescueServer
from .types import SetServerPrivateNetworksResponse
from .types import Setting
from .content import SERVER_INSTALL_TRANSIENT_STATUSES
from .content import SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES
from .content import SERVER_TRANSIENT_STATUSES
from .api import BaremetalV1API
from .api import BaremetalPrivateNetworkV1API

__all__ = [
"IPReverseStatus",
"IPVersion",
"ListServerEventsRequestOrderBy",
"ListServerPrivateNetworksRequestOrderBy",
"ListServersRequestOrderBy",
"ListSettingsRequestOrderBy",
"OfferStock",
"OfferSubscriptionPeriod",
"ServerBootType",
"ServerInstallStatus",
"ServerOptionOptionStatus",
"ServerPingStatus",
"ServerPrivateNetworkStatus",
"ServerStatus",
"SettingType",
"BMCAccess",
"CPU",
"CreateServerRequestInstall",
"Disk",
"GetServerMetricsResponse",
"IP",
"ListOSResponse",
"ListOffersResponse",
"ListOptionsResponse",
"ListServerEventsResponse",
"ListServerPrivateNetworksResponse",
"ListServersResponse",
"ListSettingsResponse",
"Memory",
"OS",
"OSOSField",
"Offer",
"OfferOptionOffer",
"Option",
"PersistentMemory",
"RaidController",
"Server",
"ServerEvent",
"ServerInstall",
"ServerOption",
"ServerPrivateNetwork",
"ServerRescueServer",
"SetServerPrivateNetworksResponse",
"Setting",
"SERVER_INSTALL_TRANSIENT_STATUSES",
"SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES",
"SERVER_TRANSIENT_STATUSES",
"BaremetalV1API",
"BaremetalPrivateNetworkV1API",
]
115 changes: 75 additions & 40 deletions scaleway-async/scaleway_async/container/v1beta1/__init__.py
Original file line number Diff line number Diff line change
@@ -1,42 +1,77 @@
# This file was automatically generated. DO NOT EDIT.
# If you have any remark or suggestion do not hesitate to open an issue.
from .types import ContainerHttpOption as ContainerHttpOption # noqa
from .types import ContainerPrivacy as ContainerPrivacy # noqa
from .types import ContainerProtocol as ContainerProtocol # noqa
from .types import ContainerStatus as ContainerStatus # noqa
from .types import CronStatus as CronStatus # noqa
from .types import DomainStatus as DomainStatus # noqa
from .types import ListContainersRequestOrderBy as ListContainersRequestOrderBy # noqa
from .types import ListCronsRequestOrderBy as ListCronsRequestOrderBy # noqa
from .types import ListDomainsRequestOrderBy as ListDomainsRequestOrderBy # noqa
from .types import ListLogsRequestOrderBy as ListLogsRequestOrderBy # noqa
from .types import ListNamespacesRequestOrderBy as ListNamespacesRequestOrderBy # noqa
from .types import ListTokensRequestOrderBy as ListTokensRequestOrderBy # noqa
from .types import LogStream as LogStream # noqa
from .types import NamespaceStatus as NamespaceStatus # noqa
from .types import NullValue as NullValue # noqa
from .types import TokenStatus as TokenStatus # noqa
from .types import Container as Container # noqa
from .types import Cron as Cron # noqa
from .types import Domain as Domain # noqa
from .types import ListContainersResponse as ListContainersResponse # noqa
from .types import ListCronsResponse as ListCronsResponse # noqa
from .types import ListDomainsResponse as ListDomainsResponse # noqa
from .types import ListLogsResponse as ListLogsResponse # noqa
from .types import ListNamespacesResponse as ListNamespacesResponse # noqa
from .types import ListTokensResponse as ListTokensResponse # noqa
from .types import Log as Log # noqa
from .types import Namespace as Namespace # noqa
from .types import Secret as Secret # noqa
from .types import SecretHashedValue as SecretHashedValue # noqa
from .types import Token as Token # noqa
from .content import (
CONTAINER_TRANSIENT_STATUSES as CONTAINER_TRANSIENT_STATUSES,
) # noqa
from .content import CRON_TRANSIENT_STATUSES as CRON_TRANSIENT_STATUSES # noqa
from .content import DOMAIN_TRANSIENT_STATUSES as DOMAIN_TRANSIENT_STATUSES # noqa
from .content import (
NAMESPACE_TRANSIENT_STATUSES as NAMESPACE_TRANSIENT_STATUSES,
) # noqa
from .content import TOKEN_TRANSIENT_STATUSES as TOKEN_TRANSIENT_STATUSES # noqa
from .api import ContainerV1Beta1API as ContainerV1Beta1API # noqa
from .types import ContainerHttpOption
from .types import ContainerPrivacy
from .types import ContainerProtocol
from .types import ContainerStatus
from .types import CronStatus
from .types import DomainStatus
from .types import ListContainersRequestOrderBy
from .types import ListCronsRequestOrderBy
from .types import ListDomainsRequestOrderBy
from .types import ListLogsRequestOrderBy
from .types import ListNamespacesRequestOrderBy
from .types import ListTokensRequestOrderBy
from .types import LogStream
from .types import NamespaceStatus
from .types import NullValue
from .types import TokenStatus
from .types import Container
from .types import Cron
from .types import Domain
from .types import ListContainersResponse
from .types import ListCronsResponse
from .types import ListDomainsResponse
from .types import ListLogsResponse
from .types import ListNamespacesResponse
from .types import ListTokensResponse
from .types import Log
from .types import Namespace
from .types import Secret
from .types import SecretHashedValue
from .types import Token
from .content import CONTAINER_TRANSIENT_STATUSES
from .content import CRON_TRANSIENT_STATUSES
from .content import DOMAIN_TRANSIENT_STATUSES
from .content import NAMESPACE_TRANSIENT_STATUSES
from .content import TOKEN_TRANSIENT_STATUSES
from .api import ContainerV1Beta1API

__all__ = [
"ContainerHttpOption",
"ContainerPrivacy",
"ContainerProtocol",
"ContainerStatus",
"CronStatus",
"DomainStatus",
"ListContainersRequestOrderBy",
"ListCronsRequestOrderBy",
"ListDomainsRequestOrderBy",
"ListLogsRequestOrderBy",
"ListNamespacesRequestOrderBy",
"ListTokensRequestOrderBy",
"LogStream",
"NamespaceStatus",
"NullValue",
"TokenStatus",
"Container",
"Cron",
"Domain",
"ListContainersResponse",
"ListCronsResponse",
"ListDomainsResponse",
"ListLogsResponse",
"ListNamespacesResponse",
"ListTokensResponse",
"Log",
"Namespace",
"Secret",
"SecretHashedValue",
"Token",
"CONTAINER_TRANSIENT_STATUSES",
"CRON_TRANSIENT_STATUSES",
"DOMAIN_TRANSIENT_STATUSES",
"NAMESPACE_TRANSIENT_STATUSES",
"TOKEN_TRANSIENT_STATUSES",
"ContainerV1Beta1API",
]
Loading

0 comments on commit ee552ea

Please sign in to comment.