diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 5fc5daa..b8edda5 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest - digest: sha256:8555f0e37e6261408f792bfd6635102d2da5ad73f8f09bcb24f25e6afb5fac97 + digest: sha256:2e247c7bf5154df7f98cce087a20ca7605e236340c7d6d1a14447e5c06791bd6 diff --git a/.kokoro/requirements.in b/.kokoro/requirements.in index 882178c..ec867d9 100644 --- a/.kokoro/requirements.in +++ b/.kokoro/requirements.in @@ -5,6 +5,6 @@ typing-extensions twine wheel setuptools -nox +nox>=2022.11.21 # required to remove dependency on py charset-normalizer<3 click<8.1.0 diff --git a/.kokoro/requirements.txt b/.kokoro/requirements.txt index fa99c12..66a2172 100644 --- a/.kokoro/requirements.txt +++ b/.kokoro/requirements.txt @@ -1,6 +1,6 @@ # -# This file is autogenerated by pip-compile with python 3.10 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.9 +# by the following command: # # pip-compile --allow-unsafe --generate-hashes requirements.in # @@ -335,9 +335,9 @@ more-itertools==9.0.0 \ --hash=sha256:250e83d7e81d0c87ca6bd942e6aeab8cc9daa6096d12c5308f3f92fa5e5c1f41 \ --hash=sha256:5a6257e40878ef0520b1803990e3e22303a41b5714006c32a3fd8304b26ea1ab # via jaraco-classes -nox==2022.8.7 \ - --hash=sha256:1b894940551dc5c389f9271d197ca5d655d40bdc6ccf93ed6880e4042760a34b \ - --hash=sha256:96cca88779e08282a699d672258ec01eb7c792d35bbbf538c723172bce23212c +nox==2022.11.21 \ + --hash=sha256:0e41a990e290e274cb205a976c4c97ee3c5234441a8132c8c3fd9ea3c22149eb \ + --hash=sha256:e21c31de0711d1274ca585a2c5fde36b1aa962005ba8e9322bf5eeed16dcd684 # via -r requirements.in packaging==21.3 \ --hash=sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb \ @@ -380,10 +380,6 @@ protobuf==3.20.3 \ # gcp-docuploader # gcp-releasetool # google-api-core -py==1.11.0 \ - --hash=sha256:51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719 \ - --hash=sha256:607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378 - # via nox pyasn1==0.4.8 \ --hash=sha256:39c7e2ec30515947ff4e87fb6f456dfc6e84857d34be479c9d4a4ba4bf46aa5d \ --hash=sha256:aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 099626f..7840fde 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.8.0" + ".": "1.8.1" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 68742d2..1972119 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.8.1](https://github.com/googleapis/python-video-transcoder/compare/v1.8.0...v1.8.1) (2023-03-23) + + +### Documentation + +* Fix formatting of request arg in docstring ([#296](https://github.com/googleapis/python-video-transcoder/issues/296)) ([ced945e](https://github.com/googleapis/python-video-transcoder/commit/ced945edd9994b8bd45d3c350735b394b3c1c48e)) + ## [1.8.0](https://github.com/googleapis/python-video-transcoder/compare/v1.7.0...v1.8.0) (2023-03-01) diff --git a/google/cloud/video/transcoder/gapic_version.py b/google/cloud/video/transcoder/gapic_version.py index b334dcc..90e0293 100644 --- a/google/cloud/video/transcoder/gapic_version.py +++ b/google/cloud/video/transcoder/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "1.8.0" # {x-release-please-version} +__version__ = "1.8.1" # {x-release-please-version} diff --git a/google/cloud/video/transcoder_v1/gapic_version.py b/google/cloud/video/transcoder_v1/gapic_version.py index b334dcc..90e0293 100644 --- a/google/cloud/video/transcoder_v1/gapic_version.py +++ b/google/cloud/video/transcoder_v1/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "1.8.0" # {x-release-please-version} +__version__ = "1.8.1" # {x-release-please-version} diff --git a/google/cloud/video/transcoder_v1/services/transcoder_service/async_client.py b/google/cloud/video/transcoder_v1/services/transcoder_service/async_client.py index 2082bb0..97758fc 100644 --- a/google/cloud/video/transcoder_v1/services/transcoder_service/async_client.py +++ b/google/cloud/video/transcoder_v1/services/transcoder_service/async_client.py @@ -272,8 +272,7 @@ async def sample_create_job(): Args: request (Optional[Union[google.cloud.video.transcoder_v1.types.CreateJobRequest, dict]]): - The request object. Request message for - `TranscoderService.CreateJob`. + The request object. Request message for ``TranscoderService.CreateJob``. parent (:class:`str`): Required. The parent location to create and process this job. Format: ``projects/{project}/locations/{location}`` @@ -382,9 +381,9 @@ async def sample_list_jobs(): Args: request (Optional[Union[google.cloud.video.transcoder_v1.types.ListJobsRequest, dict]]): - The request object. Request message for - `TranscoderService.ListJobs`. The parent location from - which to retrieve the collection of jobs. + The request object. Request message for ``TranscoderService.ListJobs``. The + parent location from which to retrieve the collection of + jobs. parent (:class:`str`): Required. Format: ``projects/{project}/locations/{location}`` @@ -496,8 +495,7 @@ async def sample_get_job(): Args: request (Optional[Union[google.cloud.video.transcoder_v1.types.GetJobRequest, dict]]): - The request object. Request message for - `TranscoderService.GetJob`. + The request object. Request message for ``TranscoderService.GetJob``. name (:class:`str`): Required. The name of the job to retrieve. Format: ``projects/{project}/locations/{location}/jobs/{job}`` @@ -593,8 +591,7 @@ async def sample_delete_job(): Args: request (Optional[Union[google.cloud.video.transcoder_v1.types.DeleteJobRequest, dict]]): - The request object. Request message for - `TranscoderService.DeleteJob`. + The request object. Request message for ``TranscoderService.DeleteJob``. name (:class:`str`): Required. The name of the job to delete. Format: ``projects/{project}/locations/{location}/jobs/{job}`` @@ -690,7 +687,7 @@ async def sample_create_job_template(): Args: request (Optional[Union[google.cloud.video.transcoder_v1.types.CreateJobTemplateRequest, dict]]): The request object. Request message for - `TranscoderService.CreateJobTemplate`. + ``TranscoderService.CreateJobTemplate``. parent (:class:`str`): Required. The parent location to create this job template. Format: @@ -815,7 +812,7 @@ async def sample_list_job_templates(): Args: request (Optional[Union[google.cloud.video.transcoder_v1.types.ListJobTemplatesRequest, dict]]): The request object. Request message for - `TranscoderService.ListJobTemplates`. + ``TranscoderService.ListJobTemplates``. parent (:class:`str`): Required. The parent location from which to retrieve the collection of job templates. Format: @@ -929,7 +926,7 @@ async def sample_get_job_template(): Args: request (Optional[Union[google.cloud.video.transcoder_v1.types.GetJobTemplateRequest, dict]]): The request object. Request message for - `TranscoderService.GetJobTemplate`. + ``TranscoderService.GetJobTemplate``. name (:class:`str`): Required. The name of the job template to retrieve. Format: @@ -1027,7 +1024,7 @@ async def sample_delete_job_template(): Args: request (Optional[Union[google.cloud.video.transcoder_v1.types.DeleteJobTemplateRequest, dict]]): The request object. Request message for - `TranscoderService.DeleteJobTemplate`. + ``TranscoderService.DeleteJobTemplate``. name (:class:`str`): Required. The name of the job template to delete. ``projects/{project}/locations/{location}/jobTemplates/{job_template}`` diff --git a/google/cloud/video/transcoder_v1/services/transcoder_service/client.py b/google/cloud/video/transcoder_v1/services/transcoder_service/client.py index 3d7d323..9f0bf3e 100644 --- a/google/cloud/video/transcoder_v1/services/transcoder_service/client.py +++ b/google/cloud/video/transcoder_v1/services/transcoder_service/client.py @@ -519,8 +519,7 @@ def sample_create_job(): Args: request (Union[google.cloud.video.transcoder_v1.types.CreateJobRequest, dict]): - The request object. Request message for - `TranscoderService.CreateJob`. + The request object. Request message for ``TranscoderService.CreateJob``. parent (str): Required. The parent location to create and process this job. Format: ``projects/{project}/locations/{location}`` @@ -629,9 +628,9 @@ def sample_list_jobs(): Args: request (Union[google.cloud.video.transcoder_v1.types.ListJobsRequest, dict]): - The request object. Request message for - `TranscoderService.ListJobs`. The parent location from - which to retrieve the collection of jobs. + The request object. Request message for ``TranscoderService.ListJobs``. The + parent location from which to retrieve the collection of + jobs. parent (str): Required. Format: ``projects/{project}/locations/{location}`` @@ -743,8 +742,7 @@ def sample_get_job(): Args: request (Union[google.cloud.video.transcoder_v1.types.GetJobRequest, dict]): - The request object. Request message for - `TranscoderService.GetJob`. + The request object. Request message for ``TranscoderService.GetJob``. name (str): Required. The name of the job to retrieve. Format: ``projects/{project}/locations/{location}/jobs/{job}`` @@ -840,8 +838,7 @@ def sample_delete_job(): Args: request (Union[google.cloud.video.transcoder_v1.types.DeleteJobRequest, dict]): - The request object. Request message for - `TranscoderService.DeleteJob`. + The request object. Request message for ``TranscoderService.DeleteJob``. name (str): Required. The name of the job to delete. Format: ``projects/{project}/locations/{location}/jobs/{job}`` @@ -937,7 +934,7 @@ def sample_create_job_template(): Args: request (Union[google.cloud.video.transcoder_v1.types.CreateJobTemplateRequest, dict]): The request object. Request message for - `TranscoderService.CreateJobTemplate`. + ``TranscoderService.CreateJobTemplate``. parent (str): Required. The parent location to create this job template. Format: @@ -1062,7 +1059,7 @@ def sample_list_job_templates(): Args: request (Union[google.cloud.video.transcoder_v1.types.ListJobTemplatesRequest, dict]): The request object. Request message for - `TranscoderService.ListJobTemplates`. + ``TranscoderService.ListJobTemplates``. parent (str): Required. The parent location from which to retrieve the collection of job templates. Format: @@ -1176,7 +1173,7 @@ def sample_get_job_template(): Args: request (Union[google.cloud.video.transcoder_v1.types.GetJobTemplateRequest, dict]): The request object. Request message for - `TranscoderService.GetJobTemplate`. + ``TranscoderService.GetJobTemplate``. name (str): Required. The name of the job template to retrieve. Format: @@ -1274,7 +1271,7 @@ def sample_delete_job_template(): Args: request (Union[google.cloud.video.transcoder_v1.types.DeleteJobTemplateRequest, dict]): The request object. Request message for - `TranscoderService.DeleteJobTemplate`. + ``TranscoderService.DeleteJobTemplate``. name (str): Required. The name of the job template to delete. ``projects/{project}/locations/{location}/jobTemplates/{job_template}`` diff --git a/google/cloud/video/transcoder_v1/services/transcoder_service/transports/rest.py b/google/cloud/video/transcoder_v1/services/transcoder_service/transports/rest.py index d730688..c79ea2d 100644 --- a/google/cloud/video/transcoder_v1/services/transcoder_service/transports/rest.py +++ b/google/cloud/video/transcoder_v1/services/transcoder_service/transports/rest.py @@ -505,7 +505,6 @@ def __call__( request (~.services.CreateJobTemplateRequest): The request object. Request message for ``TranscoderService.CreateJobTemplate``. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -678,7 +677,6 @@ def __call__( request (~.services.DeleteJobTemplateRequest): The request object. Request message for ``TranscoderService.DeleteJobTemplate``. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -842,7 +840,6 @@ def __call__( request (~.services.GetJobTemplateRequest): The request object. Request message for ``TranscoderService.GetJobTemplate``. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -933,7 +930,6 @@ def __call__( The request object. Request message for ``TranscoderService.ListJobs``. The parent location from which to retrieve the collection of jobs. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1021,7 +1017,6 @@ def __call__( request (~.services.ListJobTemplatesRequest): The request object. Request message for ``TranscoderService.ListJobTemplates``. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. diff --git a/samples/generated_samples/snippet_metadata_google.cloud.video.transcoder.v1.json b/samples/generated_samples/snippet_metadata_google.cloud.video.transcoder.v1.json index 4054522..7845598 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.video.transcoder.v1.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.video.transcoder.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-video-transcoder", - "version": "1.8.0" + "version": "1.8.1" }, "snippets": [ { diff --git a/samples/snippets/requirements-test.txt b/samples/snippets/requirements-test.txt index 0f8c1f9..810fe2d 100644 --- a/samples/snippets/requirements-test.txt +++ b/samples/snippets/requirements-test.txt @@ -1,3 +1,3 @@ backoff==2.2.1 google-cloud-storage==2.7.0 -pytest==7.2.1 +pytest==7.2.2 diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 72b5562..71f7a44 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -1,3 +1,3 @@ google-api-python-client==2.80.0 grpcio==1.51.3 -google-cloud-video-transcoder==1.7.0 +google-cloud-video-transcoder==1.8.0