Skip to content

Commit

Permalink
chore(python): add nox session to sort python imports (#229)
Browse files Browse the repository at this point in the history
Source-Link: googleapis/synthtool@1b71c10
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:00c9d764fd1cd56265f12a5ef4b99a0c9e87cf261018099141e2ca5158890416

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Apr 21, 2022
1 parent 70cde29 commit 2882b42
Show file tree
Hide file tree
Showing 32 changed files with 536 additions and 521 deletions.
4 changes: 2 additions & 2 deletions packages/google-cloud-container/.github/.OwlBot.lock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
digest: sha256:8a5d3f6a2e43ed8293f34e06a2f56931d1e88a2694c3bb11b15df4eb256ad163
# created: 2022-04-06T10:30:21.687684602Z
digest: sha256:00c9d764fd1cd56265f12a5ef4b99a0c9e87cf261018099141e2ca5158890416
# created: 2022-04-20T23:42:53.970438194Z
2 changes: 1 addition & 1 deletion packages/google-cloud-container/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
# All configuration values have a default; values that are commented out
# serve to show the default.

import sys
import os
import shlex
import sys

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
Expand Down
251 changes: 118 additions & 133 deletions packages/google-cloud-container/google/cloud/container/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,152 +14,137 @@
# limitations under the License.
#

from google.cloud.container_v1.services.cluster_manager.client import (
ClusterManagerClient,
)
from google.cloud.container_v1.services.cluster_manager.async_client import (
ClusterManagerAsyncClient,
)

from google.cloud.container_v1.types.cluster_service import AcceleratorConfig
from google.cloud.container_v1.types.cluster_service import AddonsConfig
from google.cloud.container_v1.types.cluster_service import AdvancedMachineFeatures
from google.cloud.container_v1.types.cluster_service import AuthenticatorGroupsConfig
from google.cloud.container_v1.types.cluster_service import Autopilot
from google.cloud.container_v1.types.cluster_service import (
AutoprovisioningNodePoolDefaults,
from google.cloud.container_v1.services.cluster_manager.client import (
ClusterManagerClient,
)
from google.cloud.container_v1.types.cluster_service import AutoUpgradeOptions
from google.cloud.container_v1.types.cluster_service import BinaryAuthorization
from google.cloud.container_v1.types.cluster_service import CancelOperationRequest
from google.cloud.container_v1.types.cluster_service import ClientCertificateConfig
from google.cloud.container_v1.types.cluster_service import CloudRunConfig
from google.cloud.container_v1.types.cluster_service import Cluster
from google.cloud.container_v1.types.cluster_service import ClusterAutoscaling
from google.cloud.container_v1.types.cluster_service import ClusterUpdate
from google.cloud.container_v1.types.cluster_service import CompleteIPRotationRequest
from google.cloud.container_v1.types.cluster_service import ConfidentialNodes
from google.cloud.container_v1.types.cluster_service import ConfigConnectorConfig
from google.cloud.container_v1.types.cluster_service import CreateClusterRequest
from google.cloud.container_v1.types.cluster_service import CreateNodePoolRequest
from google.cloud.container_v1.types.cluster_service import DailyMaintenanceWindow
from google.cloud.container_v1.types.cluster_service import DatabaseEncryption
from google.cloud.container_v1.types.cluster_service import DefaultSnatStatus
from google.cloud.container_v1.types.cluster_service import DeleteClusterRequest
from google.cloud.container_v1.types.cluster_service import DeleteNodePoolRequest
from google.cloud.container_v1.types.cluster_service import DnsCacheConfig
from google.cloud.container_v1.types.cluster_service import DNSConfig
from google.cloud.container_v1.types.cluster_service import (
AcceleratorConfig,
AddonsConfig,
AdvancedMachineFeatures,
AuthenticatorGroupsConfig,
Autopilot,
AutoprovisioningNodePoolDefaults,
AutoUpgradeOptions,
BinaryAuthorization,
CancelOperationRequest,
ClientCertificateConfig,
CloudRunConfig,
Cluster,
ClusterAutoscaling,
ClusterUpdate,
CompleteIPRotationRequest,
ConfidentialNodes,
ConfigConnectorConfig,
CreateClusterRequest,
CreateNodePoolRequest,
DailyMaintenanceWindow,
DatabaseEncryption,
DatapathProvider,
DefaultSnatStatus,
DeleteClusterRequest,
DeleteNodePoolRequest,
DnsCacheConfig,
DNSConfig,
GcePersistentDiskCsiDriverConfig,
)
from google.cloud.container_v1.types.cluster_service import GcfsConfig
from google.cloud.container_v1.types.cluster_service import GcpFilestoreCsiDriverConfig
from google.cloud.container_v1.types.cluster_service import GetClusterRequest
from google.cloud.container_v1.types.cluster_service import GetJSONWebKeysRequest
from google.cloud.container_v1.types.cluster_service import GetJSONWebKeysResponse
from google.cloud.container_v1.types.cluster_service import GetNodePoolRequest
from google.cloud.container_v1.types.cluster_service import GetOpenIDConfigRequest
from google.cloud.container_v1.types.cluster_service import GetOpenIDConfigResponse
from google.cloud.container_v1.types.cluster_service import GetOperationRequest
from google.cloud.container_v1.types.cluster_service import GetServerConfigRequest
from google.cloud.container_v1.types.cluster_service import HorizontalPodAutoscaling
from google.cloud.container_v1.types.cluster_service import HttpLoadBalancing
from google.cloud.container_v1.types.cluster_service import ILBSubsettingConfig
from google.cloud.container_v1.types.cluster_service import IntraNodeVisibilityConfig
from google.cloud.container_v1.types.cluster_service import IPAllocationPolicy
from google.cloud.container_v1.types.cluster_service import Jwk
from google.cloud.container_v1.types.cluster_service import KubernetesDashboard
from google.cloud.container_v1.types.cluster_service import LegacyAbac
from google.cloud.container_v1.types.cluster_service import LinuxNodeConfig
from google.cloud.container_v1.types.cluster_service import ListClustersRequest
from google.cloud.container_v1.types.cluster_service import ListClustersResponse
from google.cloud.container_v1.types.cluster_service import ListNodePoolsRequest
from google.cloud.container_v1.types.cluster_service import ListNodePoolsResponse
from google.cloud.container_v1.types.cluster_service import ListOperationsRequest
from google.cloud.container_v1.types.cluster_service import ListOperationsResponse
from google.cloud.container_v1.types.cluster_service import ListUsableSubnetworksRequest
from google.cloud.container_v1.types.cluster_service import (
GcfsConfig,
GcpFilestoreCsiDriverConfig,
GetClusterRequest,
GetJSONWebKeysRequest,
GetJSONWebKeysResponse,
GetNodePoolRequest,
GetOpenIDConfigRequest,
GetOpenIDConfigResponse,
GetOperationRequest,
GetServerConfigRequest,
HorizontalPodAutoscaling,
HttpLoadBalancing,
ILBSubsettingConfig,
IntraNodeVisibilityConfig,
IPAllocationPolicy,
Jwk,
KubernetesDashboard,
LegacyAbac,
LinuxNodeConfig,
ListClustersRequest,
ListClustersResponse,
ListNodePoolsRequest,
ListNodePoolsResponse,
ListOperationsRequest,
ListOperationsResponse,
ListUsableSubnetworksRequest,
ListUsableSubnetworksResponse,
)
from google.cloud.container_v1.types.cluster_service import LoggingComponentConfig
from google.cloud.container_v1.types.cluster_service import LoggingConfig
from google.cloud.container_v1.types.cluster_service import MaintenanceExclusionOptions
from google.cloud.container_v1.types.cluster_service import MaintenancePolicy
from google.cloud.container_v1.types.cluster_service import MaintenanceWindow
from google.cloud.container_v1.types.cluster_service import MasterAuth
from google.cloud.container_v1.types.cluster_service import (
LoggingComponentConfig,
LoggingConfig,
MaintenanceExclusionOptions,
MaintenancePolicy,
MaintenanceWindow,
MasterAuth,
MasterAuthorizedNetworksConfig,
)
from google.cloud.container_v1.types.cluster_service import MaxPodsConstraint
from google.cloud.container_v1.types.cluster_service import MeshCertificates
from google.cloud.container_v1.types.cluster_service import MonitoringComponentConfig
from google.cloud.container_v1.types.cluster_service import MonitoringConfig
from google.cloud.container_v1.types.cluster_service import NetworkConfig
from google.cloud.container_v1.types.cluster_service import NetworkPolicy
from google.cloud.container_v1.types.cluster_service import NetworkPolicyConfig
from google.cloud.container_v1.types.cluster_service import NodeConfig
from google.cloud.container_v1.types.cluster_service import NodeConfigDefaults
from google.cloud.container_v1.types.cluster_service import NodeKubeletConfig
from google.cloud.container_v1.types.cluster_service import NodeManagement
from google.cloud.container_v1.types.cluster_service import NodeNetworkConfig
from google.cloud.container_v1.types.cluster_service import NodePool
from google.cloud.container_v1.types.cluster_service import NodePoolAutoscaling
from google.cloud.container_v1.types.cluster_service import NodePoolDefaults
from google.cloud.container_v1.types.cluster_service import NodeTaint
from google.cloud.container_v1.types.cluster_service import NotificationConfig
from google.cloud.container_v1.types.cluster_service import Operation
from google.cloud.container_v1.types.cluster_service import OperationProgress
from google.cloud.container_v1.types.cluster_service import PrivateClusterConfig
from google.cloud.container_v1.types.cluster_service import (
MaxPodsConstraint,
MeshCertificates,
MonitoringComponentConfig,
MonitoringConfig,
NetworkConfig,
NetworkPolicy,
NetworkPolicyConfig,
NodeConfig,
NodeConfigDefaults,
NodeKubeletConfig,
NodeManagement,
NodeNetworkConfig,
NodePool,
NodePoolAutoscaling,
NodePoolDefaults,
NodeTaint,
NotificationConfig,
Operation,
OperationProgress,
PrivateClusterConfig,
PrivateClusterMasterGlobalAccessConfig,
)
from google.cloud.container_v1.types.cluster_service import RecurringTimeWindow
from google.cloud.container_v1.types.cluster_service import ReleaseChannel
from google.cloud.container_v1.types.cluster_service import ReservationAffinity
from google.cloud.container_v1.types.cluster_service import ResourceLimit
from google.cloud.container_v1.types.cluster_service import ResourceUsageExportConfig
from google.cloud.container_v1.types.cluster_service import (
PrivateIPv6GoogleAccess,
RecurringTimeWindow,
ReleaseChannel,
ReservationAffinity,
ResourceLimit,
ResourceUsageExportConfig,
RollbackNodePoolUpgradeRequest,
)
from google.cloud.container_v1.types.cluster_service import SandboxConfig
from google.cloud.container_v1.types.cluster_service import SecurityBulletinEvent
from google.cloud.container_v1.types.cluster_service import ServerConfig
from google.cloud.container_v1.types.cluster_service import ServiceExternalIPsConfig
from google.cloud.container_v1.types.cluster_service import SetAddonsConfigRequest
from google.cloud.container_v1.types.cluster_service import SetLabelsRequest
from google.cloud.container_v1.types.cluster_service import SetLegacyAbacRequest
from google.cloud.container_v1.types.cluster_service import SetLocationsRequest
from google.cloud.container_v1.types.cluster_service import SetLoggingServiceRequest
from google.cloud.container_v1.types.cluster_service import SetMaintenancePolicyRequest
from google.cloud.container_v1.types.cluster_service import SetMasterAuthRequest
from google.cloud.container_v1.types.cluster_service import SetMonitoringServiceRequest
from google.cloud.container_v1.types.cluster_service import SetNetworkPolicyRequest
from google.cloud.container_v1.types.cluster_service import (
SandboxConfig,
SecurityBulletinEvent,
ServerConfig,
ServiceExternalIPsConfig,
SetAddonsConfigRequest,
SetLabelsRequest,
SetLegacyAbacRequest,
SetLocationsRequest,
SetLoggingServiceRequest,
SetMaintenancePolicyRequest,
SetMasterAuthRequest,
SetMonitoringServiceRequest,
SetNetworkPolicyRequest,
SetNodePoolAutoscalingRequest,
)
from google.cloud.container_v1.types.cluster_service import SetNodePoolManagementRequest
from google.cloud.container_v1.types.cluster_service import SetNodePoolSizeRequest
from google.cloud.container_v1.types.cluster_service import ShieldedInstanceConfig
from google.cloud.container_v1.types.cluster_service import ShieldedNodes
from google.cloud.container_v1.types.cluster_service import StartIPRotationRequest
from google.cloud.container_v1.types.cluster_service import StatusCondition
from google.cloud.container_v1.types.cluster_service import TimeWindow
from google.cloud.container_v1.types.cluster_service import UpdateClusterRequest
from google.cloud.container_v1.types.cluster_service import UpdateMasterRequest
from google.cloud.container_v1.types.cluster_service import UpdateNodePoolRequest
from google.cloud.container_v1.types.cluster_service import UpgradeAvailableEvent
from google.cloud.container_v1.types.cluster_service import UpgradeEvent
from google.cloud.container_v1.types.cluster_service import UsableSubnetwork
from google.cloud.container_v1.types.cluster_service import (
SetNodePoolManagementRequest,
SetNodePoolSizeRequest,
ShieldedInstanceConfig,
ShieldedNodes,
StartIPRotationRequest,
StatusCondition,
TimeWindow,
UpdateClusterRequest,
UpdateMasterRequest,
UpdateNodePoolRequest,
UpgradeAvailableEvent,
UpgradeEvent,
UpgradeResourceType,
UsableSubnetwork,
UsableSubnetworkSecondaryRange,
VerticalPodAutoscaling,
VirtualNIC,
WorkloadIdentityConfig,
WorkloadMetadataConfig,
)
from google.cloud.container_v1.types.cluster_service import VerticalPodAutoscaling
from google.cloud.container_v1.types.cluster_service import VirtualNIC
from google.cloud.container_v1.types.cluster_service import WorkloadIdentityConfig
from google.cloud.container_v1.types.cluster_service import WorkloadMetadataConfig
from google.cloud.container_v1.types.cluster_service import DatapathProvider
from google.cloud.container_v1.types.cluster_service import PrivateIPv6GoogleAccess
from google.cloud.container_v1.types.cluster_service import UpgradeResourceType

__all__ = (
"ClusterManagerClient",
Expand Down
Loading

0 comments on commit 2882b42

Please sign in to comment.