-
Notifications
You must be signed in to change notification settings - Fork 47
refactor: explicitly reexport modules #480
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,25 @@ | ||
| from __future__ import annotations | ||
|
|
||
| from .client import ( # noqa: F401 | ||
| from .client import ( | ||
| ActionsClient, | ||
| ActionsPageResult, | ||
| BoundAction, | ||
| ResourceActionsClient, | ||
| ) | ||
| from .domain import ( # noqa: F401 | ||
| from .domain import ( | ||
| Action, | ||
| ActionException, | ||
| ActionFailedException, | ||
| ActionTimeoutException, | ||
| ) | ||
|
|
||
| __all__ = [ | ||
| "Action", | ||
| "ActionException", | ||
| "ActionFailedException", | ||
| "ActionTimeoutException", | ||
| "ActionsClient", | ||
| "ActionsPageResult", | ||
| "BoundAction", | ||
| "ResourceActionsClient", | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,23 @@ | ||
| from __future__ import annotations | ||
|
|
||
| from .client import ( # noqa: F401 | ||
| from .client import ( | ||
| BoundCertificate, | ||
| CertificatesClient, | ||
| CertificatesPageResult, | ||
| ) | ||
| from .domain import ( # noqa: F401 | ||
| from .domain import ( | ||
| Certificate, | ||
| CreateManagedCertificateResponse, | ||
| ManagedCertificateError, | ||
| ManagedCertificateStatus, | ||
| ) | ||
|
|
||
| __all__ = [ | ||
| "BoundCertificate", | ||
| "Certificate", | ||
| "CertificatesClient", | ||
| "CertificatesPageResult", | ||
| "CreateManagedCertificateResponse", | ||
| "ManagedCertificateError", | ||
| "ManagedCertificateStatus", | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,13 @@ | ||
| from __future__ import annotations | ||
|
|
||
| from .client import BoundModelBase, ClientEntityBase # noqa: F401 | ||
| from .domain import BaseDomain, DomainIdentityMixin, Meta, Pagination # noqa: F401 | ||
| from .client import BoundModelBase, ClientEntityBase | ||
| from .domain import BaseDomain, DomainIdentityMixin, Meta, Pagination | ||
|
|
||
| __all__ = [ | ||
| "BoundModelBase", | ||
| "ClientEntityBase", | ||
| "BaseDomain", | ||
| "DomainIdentityMixin", | ||
| "Meta", | ||
| "Pagination", | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,16 @@ | ||
| from __future__ import annotations | ||
|
|
||
| from .client import ( # noqa: F401 | ||
| from .client import ( | ||
| BoundDatacenter, | ||
| DatacentersClient, | ||
| DatacentersPageResult, | ||
| ) | ||
| from .domain import Datacenter, DatacenterServerTypes # noqa: F401 | ||
| from .domain import Datacenter, DatacenterServerTypes | ||
|
|
||
| __all__ = [ | ||
| "BoundDatacenter", | ||
| "Datacenter", | ||
| "DatacenterServerTypes", | ||
| "DatacentersClient", | ||
| "DatacentersPageResult", | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| from __future__ import annotations | ||
|
|
||
| from .domain import DeprecationInfo # noqa: F401 | ||
| from .domain import DeprecationInfo | ||
|
|
||
| __all__ = ["DeprecationInfo"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,23 @@ | ||
| from __future__ import annotations | ||
|
|
||
| from .client import BoundFirewall, FirewallsClient, FirewallsPageResult # noqa: F401 | ||
| from .domain import ( # noqa: F401 | ||
| from .client import BoundFirewall, FirewallsClient, FirewallsPageResult | ||
| from .domain import ( | ||
| CreateFirewallResponse, | ||
| Firewall, | ||
| FirewallResource, | ||
| FirewallResourceAppliedToResources, | ||
| FirewallResourceLabelSelector, | ||
| FirewallRule, | ||
| ) | ||
|
|
||
| __all__ = [ | ||
| "BoundFirewall", | ||
| "CreateFirewallResponse", | ||
| "Firewall", | ||
| "FirewallResource", | ||
| "FirewallResourceAppliedToResources", | ||
| "FirewallResourceLabelSelector", | ||
| "FirewallRule", | ||
| "FirewallsClient", | ||
| "FirewallsPageResult", | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,16 @@ | ||
| from __future__ import annotations | ||
|
|
||
| from .client import ( # noqa: F401 | ||
| from .client import ( | ||
| BoundFloatingIP, | ||
| FloatingIPsClient, | ||
| FloatingIPsPageResult, | ||
| ) | ||
| from .domain import CreateFloatingIPResponse, FloatingIP # noqa: F401 | ||
| from .domain import CreateFloatingIPResponse, FloatingIP | ||
|
|
||
| __all__ = [ | ||
| "BoundFloatingIP", | ||
| "CreateFloatingIPResponse", | ||
| "FloatingIP", | ||
| "FloatingIPsClient", | ||
| "FloatingIPsPageResult", | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| from __future__ import annotations | ||
|
|
||
| from .labels import LabelValidator # noqa: F401 | ||
| from .labels import LabelValidator | ||
|
|
||
| __all__ = ["LabelValidator"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,12 @@ | ||
| from __future__ import annotations | ||
|
|
||
| from .client import BoundImage, ImagesClient, ImagesPageResult # noqa: F401 | ||
| from .domain import CreateImageResponse, Image # noqa: F401 | ||
| from .client import BoundImage, ImagesClient, ImagesPageResult | ||
| from .domain import CreateImageResponse, Image | ||
|
|
||
| __all__ = [ | ||
| "BoundImage", | ||
| "CreateImageResponse", | ||
| "Image", | ||
| "ImagesClient", | ||
| "ImagesPageResult", | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,11 @@ | ||
| from __future__ import annotations | ||
|
|
||
| from .client import BoundIso, IsosClient, IsosPageResult # noqa: F401 | ||
| from .domain import Iso # noqa: F401 | ||
| from .client import BoundIso, IsosClient, IsosPageResult | ||
| from .domain import Iso | ||
|
|
||
| __all__ = [ | ||
| "BoundIso", | ||
| "Iso", | ||
| "IsosClient", | ||
| "IsosPageResult", | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,15 @@ | ||
| from __future__ import annotations | ||
|
|
||
| from .client import ( # noqa: F401 | ||
| from .client import ( | ||
| BoundLoadBalancerType, | ||
| LoadBalancerTypesClient, | ||
| LoadBalancerTypesPageResult, | ||
| ) | ||
| from .domain import LoadBalancerType # noqa: F401 | ||
| from .domain import LoadBalancerType | ||
|
|
||
| __all__ = [ | ||
| "BoundLoadBalancerType", | ||
| "LoadBalancerType", | ||
| "LoadBalancerTypesClient", | ||
| "LoadBalancerTypesPageResult", | ||
| ] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,11 @@ | ||
| from __future__ import annotations | ||
|
|
||
| from .client import BoundLocation, LocationsClient, LocationsPageResult # noqa: F401 | ||
| from .domain import Location # noqa: F401 | ||
| from .client import BoundLocation, LocationsClient, LocationsPageResult | ||
| from .domain import Location | ||
|
|
||
| __all__ = [ | ||
| "BoundLocation", | ||
| "Location", | ||
| "LocationsClient", | ||
| "LocationsPageResult", | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,8 @@ | ||
| from __future__ import annotations | ||
|
|
||
| from .domain import Metrics, TimeSeries # noqa: F401 | ||
| from .domain import Metrics, TimeSeries | ||
|
|
||
| __all__ = [ | ||
| "Metrics", | ||
| "TimeSeries", | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,19 @@ | ||
| from __future__ import annotations | ||
|
|
||
| from .client import BoundNetwork, NetworksClient, NetworksPageResult # noqa: F401 | ||
| from .domain import ( # noqa: F401 | ||
| from .client import BoundNetwork, NetworksClient, NetworksPageResult | ||
| from .domain import ( | ||
| CreateNetworkResponse, | ||
| Network, | ||
| NetworkRoute, | ||
| NetworkSubnet, | ||
| ) | ||
|
|
||
| __all__ = [ | ||
| "BoundNetwork", | ||
| "CreateNetworkResponse", | ||
| "Network", | ||
| "NetworkRoute", | ||
| "NetworkSubnet", | ||
| "NetworksClient", | ||
| "NetworksPageResult", | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,16 @@ | ||
| from __future__ import annotations | ||
|
|
||
| from .client import ( # noqa: F401 | ||
| from .client import ( | ||
| BoundPlacementGroup, | ||
| PlacementGroupsClient, | ||
| PlacementGroupsPageResult, | ||
| ) | ||
| from .domain import CreatePlacementGroupResponse, PlacementGroup # noqa: F401 | ||
| from .domain import CreatePlacementGroupResponse, PlacementGroup | ||
|
|
||
| __all__ = [ | ||
| "BoundPlacementGroup", | ||
| "CreatePlacementGroupResponse", | ||
| "PlacementGroup", | ||
| "PlacementGroupsClient", | ||
| "PlacementGroupsPageResult", | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,12 @@ | ||
| from __future__ import annotations | ||
|
|
||
| from .client import BoundPrimaryIP, PrimaryIPsClient, PrimaryIPsPageResult # noqa: F401 | ||
| from .domain import CreatePrimaryIPResponse, PrimaryIP # noqa: F401 | ||
| from .client import BoundPrimaryIP, PrimaryIPsClient, PrimaryIPsPageResult | ||
| from .domain import CreatePrimaryIPResponse, PrimaryIP | ||
|
|
||
| __all__ = [ | ||
| "BoundPrimaryIP", | ||
| "CreatePrimaryIPResponse", | ||
| "PrimaryIP", | ||
| "PrimaryIPsClient", | ||
| "PrimaryIPsPageResult", | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,15 @@ | ||
| from __future__ import annotations | ||
|
|
||
| from .client import ( # noqa: F401 | ||
| from .client import ( | ||
| BoundServerType, | ||
| ServerTypesClient, | ||
| ServerTypesPageResult, | ||
| ) | ||
| from .domain import ServerType # noqa: F401 | ||
| from .domain import ServerType | ||
|
|
||
| __all__ = [ | ||
| "BoundServerType", | ||
| "ServerType", | ||
| "ServerTypesClient", | ||
| "ServerTypesPageResult", | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,11 @@ | ||
| from __future__ import annotations | ||
|
|
||
| from .client import BoundSSHKey, SSHKeysClient, SSHKeysPageResult # noqa: F401 | ||
| from .domain import SSHKey # noqa: F401 | ||
| from .client import BoundSSHKey, SSHKeysClient, SSHKeysPageResult | ||
| from .domain import SSHKey | ||
|
|
||
| __all__ = [ | ||
| "BoundSSHKey", | ||
| "SSHKey", | ||
| "SSHKeysClient", | ||
| "SSHKeysPageResult", | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,12 @@ | ||
| from __future__ import annotations | ||
|
|
||
| from .client import BoundVolume, VolumesClient, VolumesPageResult # noqa: F401 | ||
| from .domain import CreateVolumeResponse, Volume # noqa: F401 | ||
| from .client import BoundVolume, VolumesClient, VolumesPageResult | ||
| from .domain import CreateVolumeResponse, Volume | ||
|
|
||
| __all__ = [ | ||
| "BoundVolume", | ||
| "CreateVolumeResponse", | ||
| "Volume", | ||
| "VolumesClient", | ||
| "VolumesPageResult", | ||
| ] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.