Skip to content

Commit

Permalink
chore(python): add nox session to sort python imports (#25)
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 8b0f30d commit 0d03698
Show file tree
Hide file tree
Showing 24 changed files with 237 additions and 260 deletions.
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-video-stitcher/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
Original file line number Diff line number Diff line change
Expand Up @@ -14,109 +14,73 @@
# limitations under the License.
#

from google.cloud.video.stitcher_v1.services.video_stitcher_service.async_client import (
VideoStitcherServiceAsyncClient,
)
from google.cloud.video.stitcher_v1.services.video_stitcher_service.client import (
VideoStitcherServiceClient,
)
from google.cloud.video.stitcher_v1.services.video_stitcher_service.async_client import (
VideoStitcherServiceAsyncClient,
from google.cloud.video.stitcher_v1.types.ad_tag_details import (
AdRequest,
LiveAdTagDetail,
RequestMetadata,
ResponseMetadata,
VodAdTagDetail,
)
from google.cloud.video.stitcher_v1.types.cdn_keys import (
AkamaiCdnKey,
CdnKey,
GoogleCdnKey,
)
from google.cloud.video.stitcher_v1.types.companions import (
Companion,
CompanionAds,
HtmlAdResource,
IframeAdResource,
StaticAdResource,
)
from google.cloud.video.stitcher_v1.types.events import Event, ProgressEvent
from google.cloud.video.stitcher_v1.types.sessions import (
AdTag,
Interstitials,
LiveSession,
ManifestOptions,
RenditionFilter,
VodSession,
VodSessionAd,
VodSessionAdBreak,
VodSessionContent,
)

from google.cloud.video.stitcher_v1.types.ad_tag_details import AdRequest
from google.cloud.video.stitcher_v1.types.ad_tag_details import LiveAdTagDetail
from google.cloud.video.stitcher_v1.types.ad_tag_details import RequestMetadata
from google.cloud.video.stitcher_v1.types.ad_tag_details import ResponseMetadata
from google.cloud.video.stitcher_v1.types.ad_tag_details import VodAdTagDetail
from google.cloud.video.stitcher_v1.types.cdn_keys import AkamaiCdnKey
from google.cloud.video.stitcher_v1.types.cdn_keys import CdnKey
from google.cloud.video.stitcher_v1.types.cdn_keys import GoogleCdnKey
from google.cloud.video.stitcher_v1.types.companions import Companion
from google.cloud.video.stitcher_v1.types.companions import CompanionAds
from google.cloud.video.stitcher_v1.types.companions import HtmlAdResource
from google.cloud.video.stitcher_v1.types.companions import IframeAdResource
from google.cloud.video.stitcher_v1.types.companions import StaticAdResource
from google.cloud.video.stitcher_v1.types.events import Event
from google.cloud.video.stitcher_v1.types.events import ProgressEvent
from google.cloud.video.stitcher_v1.types.sessions import AdTag
from google.cloud.video.stitcher_v1.types.sessions import Interstitials
from google.cloud.video.stitcher_v1.types.sessions import LiveSession
from google.cloud.video.stitcher_v1.types.sessions import ManifestOptions
from google.cloud.video.stitcher_v1.types.sessions import RenditionFilter
from google.cloud.video.stitcher_v1.types.sessions import VodSession
from google.cloud.video.stitcher_v1.types.sessions import VodSessionAd
from google.cloud.video.stitcher_v1.types.sessions import VodSessionAdBreak
from google.cloud.video.stitcher_v1.types.sessions import VodSessionContent
from google.cloud.video.stitcher_v1.types.slates import Slate
from google.cloud.video.stitcher_v1.types.stitch_details import AdStitchDetail
from google.cloud.video.stitcher_v1.types.stitch_details import VodStitchDetail
from google.cloud.video.stitcher_v1.types.video_stitcher_service import (
CreateCdnKeyRequest,
from google.cloud.video.stitcher_v1.types.stitch_details import (
AdStitchDetail,
VodStitchDetail,
)
from google.cloud.video.stitcher_v1.types.video_stitcher_service import (
CreateCdnKeyRequest,
CreateLiveSessionRequest,
)
from google.cloud.video.stitcher_v1.types.video_stitcher_service import (
CreateSlateRequest,
)
from google.cloud.video.stitcher_v1.types.video_stitcher_service import (
CreateVodSessionRequest,
)
from google.cloud.video.stitcher_v1.types.video_stitcher_service import (
DeleteCdnKeyRequest,
)
from google.cloud.video.stitcher_v1.types.video_stitcher_service import (
DeleteSlateRequest,
)
from google.cloud.video.stitcher_v1.types.video_stitcher_service import GetCdnKeyRequest
from google.cloud.video.stitcher_v1.types.video_stitcher_service import (
GetCdnKeyRequest,
GetLiveAdTagDetailRequest,
)
from google.cloud.video.stitcher_v1.types.video_stitcher_service import (
GetLiveSessionRequest,
)
from google.cloud.video.stitcher_v1.types.video_stitcher_service import GetSlateRequest
from google.cloud.video.stitcher_v1.types.video_stitcher_service import (
GetSlateRequest,
GetVodAdTagDetailRequest,
)
from google.cloud.video.stitcher_v1.types.video_stitcher_service import (
GetVodSessionRequest,
)
from google.cloud.video.stitcher_v1.types.video_stitcher_service import (
GetVodStitchDetailRequest,
)
from google.cloud.video.stitcher_v1.types.video_stitcher_service import (
ListCdnKeysRequest,
)
from google.cloud.video.stitcher_v1.types.video_stitcher_service import (
ListCdnKeysResponse,
)
from google.cloud.video.stitcher_v1.types.video_stitcher_service import (
ListLiveAdTagDetailsRequest,
)
from google.cloud.video.stitcher_v1.types.video_stitcher_service import (
ListLiveAdTagDetailsResponse,
)
from google.cloud.video.stitcher_v1.types.video_stitcher_service import (
ListSlatesRequest,
)
from google.cloud.video.stitcher_v1.types.video_stitcher_service import (
ListSlatesResponse,
)
from google.cloud.video.stitcher_v1.types.video_stitcher_service import (
ListVodAdTagDetailsRequest,
)
from google.cloud.video.stitcher_v1.types.video_stitcher_service import (
ListVodAdTagDetailsResponse,
)
from google.cloud.video.stitcher_v1.types.video_stitcher_service import (
ListVodStitchDetailsRequest,
)
from google.cloud.video.stitcher_v1.types.video_stitcher_service import (
ListVodStitchDetailsResponse,
)
from google.cloud.video.stitcher_v1.types.video_stitcher_service import (
UpdateCdnKeyRequest,
)
from google.cloud.video.stitcher_v1.types.video_stitcher_service import (
UpdateSlateRequest,
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,61 +14,66 @@
# limitations under the License.
#

from .services.video_stitcher_service import VideoStitcherServiceClient
from .services.video_stitcher_service import VideoStitcherServiceAsyncClient

from .types.ad_tag_details import AdRequest
from .types.ad_tag_details import LiveAdTagDetail
from .types.ad_tag_details import RequestMetadata
from .types.ad_tag_details import ResponseMetadata
from .types.ad_tag_details import VodAdTagDetail
from .types.cdn_keys import AkamaiCdnKey
from .types.cdn_keys import CdnKey
from .types.cdn_keys import GoogleCdnKey
from .types.companions import Companion
from .types.companions import CompanionAds
from .types.companions import HtmlAdResource
from .types.companions import IframeAdResource
from .types.companions import StaticAdResource
from .types.events import Event
from .types.events import ProgressEvent
from .types.sessions import AdTag
from .types.sessions import Interstitials
from .types.sessions import LiveSession
from .types.sessions import ManifestOptions
from .types.sessions import RenditionFilter
from .types.sessions import VodSession
from .types.sessions import VodSessionAd
from .types.sessions import VodSessionAdBreak
from .types.sessions import VodSessionContent
from .services.video_stitcher_service import (
VideoStitcherServiceAsyncClient,
VideoStitcherServiceClient,
)
from .types.ad_tag_details import (
AdRequest,
LiveAdTagDetail,
RequestMetadata,
ResponseMetadata,
VodAdTagDetail,
)
from .types.cdn_keys import AkamaiCdnKey, CdnKey, GoogleCdnKey
from .types.companions import (
Companion,
CompanionAds,
HtmlAdResource,
IframeAdResource,
StaticAdResource,
)
from .types.events import Event, ProgressEvent
from .types.sessions import (
AdTag,
Interstitials,
LiveSession,
ManifestOptions,
RenditionFilter,
VodSession,
VodSessionAd,
VodSessionAdBreak,
VodSessionContent,
)
from .types.slates import Slate
from .types.stitch_details import AdStitchDetail
from .types.stitch_details import VodStitchDetail
from .types.video_stitcher_service import CreateCdnKeyRequest
from .types.video_stitcher_service import CreateLiveSessionRequest
from .types.video_stitcher_service import CreateSlateRequest
from .types.video_stitcher_service import CreateVodSessionRequest
from .types.video_stitcher_service import DeleteCdnKeyRequest
from .types.video_stitcher_service import DeleteSlateRequest
from .types.video_stitcher_service import GetCdnKeyRequest
from .types.video_stitcher_service import GetLiveAdTagDetailRequest
from .types.video_stitcher_service import GetLiveSessionRequest
from .types.video_stitcher_service import GetSlateRequest
from .types.video_stitcher_service import GetVodAdTagDetailRequest
from .types.video_stitcher_service import GetVodSessionRequest
from .types.video_stitcher_service import GetVodStitchDetailRequest
from .types.video_stitcher_service import ListCdnKeysRequest
from .types.video_stitcher_service import ListCdnKeysResponse
from .types.video_stitcher_service import ListLiveAdTagDetailsRequest
from .types.video_stitcher_service import ListLiveAdTagDetailsResponse
from .types.video_stitcher_service import ListSlatesRequest
from .types.video_stitcher_service import ListSlatesResponse
from .types.video_stitcher_service import ListVodAdTagDetailsRequest
from .types.video_stitcher_service import ListVodAdTagDetailsResponse
from .types.video_stitcher_service import ListVodStitchDetailsRequest
from .types.video_stitcher_service import ListVodStitchDetailsResponse
from .types.video_stitcher_service import UpdateCdnKeyRequest
from .types.video_stitcher_service import UpdateSlateRequest
from .types.stitch_details import AdStitchDetail, VodStitchDetail
from .types.video_stitcher_service import (
CreateCdnKeyRequest,
CreateLiveSessionRequest,
CreateSlateRequest,
CreateVodSessionRequest,
DeleteCdnKeyRequest,
DeleteSlateRequest,
GetCdnKeyRequest,
GetLiveAdTagDetailRequest,
GetLiveSessionRequest,
GetSlateRequest,
GetVodAdTagDetailRequest,
GetVodSessionRequest,
GetVodStitchDetailRequest,
ListCdnKeysRequest,
ListCdnKeysResponse,
ListLiveAdTagDetailsRequest,
ListLiveAdTagDetailsResponse,
ListSlatesRequest,
ListSlatesResponse,
ListVodAdTagDetailsRequest,
ListVodAdTagDetailsResponse,
ListVodStitchDetailsRequest,
ListVodStitchDetailsResponse,
UpdateCdnKeyRequest,
UpdateSlateRequest,
)

__all__ = (
"VideoStitcherServiceAsyncClient",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from .client import VideoStitcherServiceClient
from .async_client import VideoStitcherServiceAsyncClient
from .client import VideoStitcherServiceClient

__all__ = (
"VideoStitcherServiceClient",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,35 @@
import functools
import re
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
import pkg_resources

from google.api_core.client_options import ClientOptions
from google.api_core import exceptions as core_exceptions
from google.api_core import gapic_v1
from google.api_core import retry as retries
from google.api_core.client_options import ClientOptions
from google.auth import credentials as ga_credentials # type: ignore
from google.oauth2 import service_account # type: ignore
import pkg_resources

try:
OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault]
except AttributeError: # pragma: NO COVER
OptionalRetry = Union[retries.Retry, object] # type: ignore

from google.cloud.video.stitcher_v1.services.video_stitcher_service import pagers
from google.cloud.video.stitcher_v1.types import ad_tag_details
from google.cloud.video.stitcher_v1.types import cdn_keys
from google.cloud.video.stitcher_v1.types import sessions
from google.cloud.video.stitcher_v1.types import slates
from google.cloud.video.stitcher_v1.types import stitch_details
from google.cloud.video.stitcher_v1.types import video_stitcher_service
from google.protobuf import field_mask_pb2 # type: ignore
from .transports.base import VideoStitcherServiceTransport, DEFAULT_CLIENT_INFO
from .transports.grpc_asyncio import VideoStitcherServiceGrpcAsyncIOTransport

from google.cloud.video.stitcher_v1.services.video_stitcher_service import pagers
from google.cloud.video.stitcher_v1.types import (
ad_tag_details,
cdn_keys,
sessions,
slates,
stitch_details,
video_stitcher_service,
)

from .client import VideoStitcherServiceClient
from .transports.base import DEFAULT_CLIENT_INFO, VideoStitcherServiceTransport
from .transports.grpc_asyncio import VideoStitcherServiceGrpcAsyncIOTransport


class VideoStitcherServiceAsyncClient:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,32 +17,36 @@
import os
import re
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
import pkg_resources

from google.api_core import client_options as client_options_lib
from google.api_core import exceptions as core_exceptions
from google.api_core import gapic_v1
from google.api_core import retry as retries
from google.auth import credentials as ga_credentials # type: ignore
from google.auth.exceptions import MutualTLSChannelError # type: ignore
from google.auth.transport import mtls # type: ignore
from google.auth.transport.grpc import SslCredentials # type: ignore
from google.auth.exceptions import MutualTLSChannelError # type: ignore
from google.oauth2 import service_account # type: ignore
import pkg_resources

try:
OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault]
except AttributeError: # pragma: NO COVER
OptionalRetry = Union[retries.Retry, object] # type: ignore

from google.cloud.video.stitcher_v1.services.video_stitcher_service import pagers
from google.cloud.video.stitcher_v1.types import ad_tag_details
from google.cloud.video.stitcher_v1.types import cdn_keys
from google.cloud.video.stitcher_v1.types import sessions
from google.cloud.video.stitcher_v1.types import slates
from google.cloud.video.stitcher_v1.types import stitch_details
from google.cloud.video.stitcher_v1.types import video_stitcher_service
from google.protobuf import field_mask_pb2 # type: ignore
from .transports.base import VideoStitcherServiceTransport, DEFAULT_CLIENT_INFO

from google.cloud.video.stitcher_v1.services.video_stitcher_service import pagers
from google.cloud.video.stitcher_v1.types import (
ad_tag_details,
cdn_keys,
sessions,
slates,
stitch_details,
video_stitcher_service,
)

from .transports.base import DEFAULT_CLIENT_INFO, VideoStitcherServiceTransport
from .transports.grpc import VideoStitcherServiceGrpcTransport
from .transports.grpc_asyncio import VideoStitcherServiceGrpcAsyncIOTransport

Expand Down
Loading

0 comments on commit 0d03698

Please sign in to comment.