Skip to content
This repository was archived by the owner on Sep 21, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googleapis/python-video-transcoder
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.5.0
Choose a base ref
...
head repository: googleapis/python-video-transcoder
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.5.1
Choose a head ref
  • 11 commits
  • 21 files changed
  • 6 contributors

Commits on Aug 12, 2021

  1. chore(python): avoid .nox directories when building docs (#83)

    Source-Link: googleapis/synthtool@7e1f6da
    Post-Processor: gcr.io/repo-automation-bots/owlbot-python:latest@sha256:a1a891041baa4ffbe1a809ac1b8b9b4a71887293c9101c88e8e255943c5aec2d
    gcf-owl-bot[bot] authored Aug 12, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    6cf64c0 View commit details

Commits on Aug 13, 2021

  1. chore: drop mention of Python 2.7 from templates (#84)

    Source-Link: googleapis/synthtool@facee4c
    Post-Processor: gcr.io/repo-automation-bots/owlbot-python:latest@sha256:9743664022bd63a8084be67f144898314c7ca12f0a03e422ac17c733c129d803
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Aug 13, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7c81c99 View commit details

Commits on Aug 18, 2021

  1. chore: generate python samples templates in owlbot.py (#85)

    Generate python samples templates in owlbot.py
    busunkim96 authored Aug 18, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    eb4591c View commit details

Commits on Aug 30, 2021

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    5b744a9 View commit details

Commits on Aug 31, 2021

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c305fc8 View commit details

Commits on Sep 1, 2021

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    396ce5d View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b97fed3 View commit details

Commits on Sep 7, 2021

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    842ed5e View commit details

Commits on Sep 21, 2021

  1. chore: relocate owl bot post processor (#94)

    chore: relocate owl bot post processor
    SurferJeffAtGoogle authored Sep 21, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    361af4b View commit details

Commits on Sep 24, 2021

  1. chore: use gapic-generator-python 0.51.2 (#95)

    - [ ] Regenerate this pull request now.
    
    fix: add 'dict' annotation type to 'request'
    
    Committer: @busunkim96
    PiperOrigin-RevId: 398509016
    
    Source-Link: googleapis/googleapis@b224dfa
    
    Source-Link: https://github.com/googleapis/googleapis-gen/commit/63a1db7a38d74b9639592f521ed1daaf7299ad9a
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjNhMWRiN2EzOGQ3NGI5NjM5NTkyZjUyMWVkMWRhYWY3Mjk5YWQ5YSJ9
    gcf-owl-bot[bot] authored Sep 24, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    81b1273 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9bd8f74 View commit details
4 changes: 2 additions & 2 deletions .github/.OwlBot.lock.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
docker:
image: gcr.io/repo-automation-bots/owlbot-python:latest
digest: sha256:aea14a583128771ae8aefa364e1652f3c56070168ef31beb203534222d842b8b
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
digest: sha256:87eee22d276554e4e52863ec9b1cb6a7245815dfae20439712bf644348215a5a
2 changes: 1 addition & 1 deletion .github/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
# limitations under the License.

docker:
image: gcr.io/repo-automation-bots/owlbot-python:latest
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest

deep-remove-regex:
- /owl-bot-staging
2 changes: 1 addition & 1 deletion .kokoro/build.sh
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ python3 -m pip install --upgrade --quiet nox
python3 -m nox --version

# If this is a continuous build, send the test log to the FlakyBot.
# See https://github.com/googleapis/repo-automation-bots/tree/master/packages/flakybot.
# See https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot.
if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"continuous"* ]]; then
cleanup() {
chmod +x $KOKORO_GFILE_DIR/linux_amd64/flakybot
2 changes: 1 addition & 1 deletion .kokoro/test-samples-impl.sh
Original file line number Diff line number Diff line change
@@ -80,7 +80,7 @@ for file in samples/**/requirements.txt; do
EXIT=$?

# If this is a periodic build, send the test log to the FlakyBot.
# See https://github.com/googleapis/repo-automation-bots/tree/master/packages/flakybot.
# See https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot.
if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"periodic"* ]]; then
chmod +x $KOKORO_GFILE_DIR/linux_amd64/flakybot
$KOKORO_GFILE_DIR/linux_amd64/flakybot
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

### [0.5.1](https://www.github.com/googleapis/python-video-transcoder/compare/v0.5.0...v0.5.1) (2021-09-24)


### Bug Fixes

* add 'dict' annotation type to 'request' ([81b1273](https://www.github.com/googleapis/python-video-transcoder/commit/81b127355c37c59a36a5da45a71f8c02d64ae592))

## [0.5.0](https://www.github.com/googleapis/python-video-transcoder/compare/v0.4.1...v0.5.0) (2021-08-07)


16 changes: 8 additions & 8 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
@@ -50,9 +50,9 @@ You'll have to create a development environment using a Git checkout:
# Configure remotes such that you can pull changes from the googleapis/python-video-transcoder
# repository into your local repository.
$ git remote add upstream git@github.com:googleapis/python-video-transcoder.git
# fetch and merge changes from upstream into master
# fetch and merge changes from upstream into main
$ git fetch upstream
$ git merge upstream/master
$ git merge upstream/main

Now your local repo is set up such that you will push changes to your GitHub
repo, from which you can submit a pull request.
@@ -110,12 +110,12 @@ Coding Style
variables::

export GOOGLE_CLOUD_TESTING_REMOTE="upstream"
export GOOGLE_CLOUD_TESTING_BRANCH="master"
export GOOGLE_CLOUD_TESTING_BRANCH="main"

By doing this, you are specifying the location of the most up-to-date
version of ``python-video-transcoder``. The the suggested remote name ``upstream``
should point to the official ``googleapis`` checkout and the
the branch should be the main branch on that remote (``master``).
version of ``python-video-transcoder``. The
remote name ``upstream`` should point to the official ``googleapis``
checkout and the branch should be the default branch on that remote (``main``).

- This repository contains configuration for the
`pre-commit <https://pre-commit.com/>`__ tool, which automates checking
@@ -209,7 +209,7 @@ The `description on PyPI`_ for the project comes directly from the
``README``. Due to the reStructuredText (``rst``) parser used by
PyPI, relative links which will work on GitHub (e.g. ``CONTRIBUTING.rst``
instead of
``https://github.com/googleapis/python-video-transcoder/blob/master/CONTRIBUTING.rst``)
``https://github.com/googleapis/python-video-transcoder/blob/main/CONTRIBUTING.rst``)
may cause problems creating links or rendering the description.

.. _description on PyPI: https://pypi.org/project/google-cloud-video-transcoder
@@ -234,7 +234,7 @@ We support:

Supported versions can be found in our ``noxfile.py`` `config`_.

.. _config: https://github.com/googleapis/python-video-transcoder/blob/master/noxfile.py
.. _config: https://github.com/googleapis/python-video-transcoder/blob/main/noxfile.py


We also explicitly decided to support Python 3 beginning with version 3.6.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ Python Client for Transcoder API
- `Product Documentation`_

.. |beta| image:: https://img.shields.io/badge/support-beta-orange.svg
:target: https://github.com/googleapis/google-cloud-python/blob/master/README.rst#beta-support
:target: https://github.com/googleapis/google-cloud-python/blob/main/README.rst#beta-support
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-video-transcoder.svg
:target: https://pypi.org/project/google-cloud-video-transcoder/
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-video-transcoder.svg
@@ -79,4 +79,4 @@ Next Steps
APIs that we cover.

.. _Transcoder API Product documentation: https://cloud.google.com/transcoder/docs
.. _README: https://github.com/googleapis/google-cloud-python/blob/master/README.rst
.. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
11 changes: 6 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -76,8 +76,8 @@
# The encoding of source files.
# source_encoding = 'utf-8-sig'

# The master toctree document.
master_doc = "index"
# The root toctree document.
root_doc = "index"

# General information about the project.
project = "google-cloud-video-transcoder"
@@ -110,6 +110,7 @@
# directories to ignore when looking for source files.
exclude_patterns = [
"_build",
"**/.nox/**/*",
"samples/AUTHORING_GUIDE.md",
"samples/CONTRIBUTING.md",
"samples/snippets/README.rst",
@@ -279,7 +280,7 @@
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(
master_doc,
root_doc,
"google-cloud-video-transcoder.tex",
"google-cloud-video-transcoder Documentation",
author,
@@ -314,7 +315,7 @@
# (source start file, name, description, authors, manual section).
man_pages = [
(
master_doc,
root_doc,
"google-cloud-video-transcoder",
"google-cloud-video-transcoder Documentation",
[author],
@@ -333,7 +334,7 @@
# dir menu entry, description, category)
texinfo_documents = [
(
master_doc,
root_doc,
"google-cloud-video-transcoder",
"google-cloud-video-transcoder Documentation",
author,
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@
from distutils import util
import os
import re
from typing import Callable, Dict, Optional, Sequence, Tuple, Type, Union
from typing import Dict, Optional, Sequence, Tuple, Type, Union
import pkg_resources

from google.api_core import client_options as client_options_lib # type: ignore
@@ -380,7 +380,7 @@ def __init__(

def create_job(
self,
request: services.CreateJobRequest = None,
request: Union[services.CreateJobRequest, dict] = None,
*,
parent: str = None,
job: resources.Job = None,
@@ -391,7 +391,7 @@ def create_job(
r"""Creates a job in the specified region.
Args:
request (google.cloud.video.transcoder_v1.types.CreateJobRequest):
request (Union[google.cloud.video.transcoder_v1.types.CreateJobRequest, dict]):
The request object. Request message for
`TranscoderService.CreateJob`.
parent (str):
@@ -459,7 +459,7 @@ def create_job(

def list_jobs(
self,
request: services.ListJobsRequest = None,
request: Union[services.ListJobsRequest, dict] = None,
*,
parent: str = None,
retry: retries.Retry = gapic_v1.method.DEFAULT,
@@ -469,7 +469,7 @@ def list_jobs(
r"""Lists jobs in the specified region.
Args:
request (google.cloud.video.transcoder_v1.types.ListJobsRequest):
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.
@@ -539,7 +539,7 @@ def list_jobs(

def get_job(
self,
request: services.GetJobRequest = None,
request: Union[services.GetJobRequest, dict] = None,
*,
name: str = None,
retry: retries.Retry = gapic_v1.method.DEFAULT,
@@ -549,7 +549,7 @@ def get_job(
r"""Returns the job data.
Args:
request (google.cloud.video.transcoder_v1.types.GetJobRequest):
request (Union[google.cloud.video.transcoder_v1.types.GetJobRequest, dict]):
The request object. Request message for
`TranscoderService.GetJob`.
name (str):
@@ -608,7 +608,7 @@ def get_job(

def delete_job(
self,
request: services.DeleteJobRequest = None,
request: Union[services.DeleteJobRequest, dict] = None,
*,
name: str = None,
retry: retries.Retry = gapic_v1.method.DEFAULT,
@@ -618,7 +618,7 @@ def delete_job(
r"""Deletes a job.
Args:
request (google.cloud.video.transcoder_v1.types.DeleteJobRequest):
request (Union[google.cloud.video.transcoder_v1.types.DeleteJobRequest, dict]):
The request object. Request message for
`TranscoderService.DeleteJob`.
name (str):
@@ -672,7 +672,7 @@ def delete_job(

def create_job_template(
self,
request: services.CreateJobTemplateRequest = None,
request: Union[services.CreateJobTemplateRequest, dict] = None,
*,
parent: str = None,
job_template: resources.JobTemplate = None,
@@ -684,7 +684,7 @@ def create_job_template(
r"""Creates a job template in the specified region.
Args:
request (google.cloud.video.transcoder_v1.types.CreateJobTemplateRequest):
request (Union[google.cloud.video.transcoder_v1.types.CreateJobTemplateRequest, dict]):
The request object. Request message for
`TranscoderService.CreateJobTemplate`.
parent (str):
@@ -767,7 +767,7 @@ def create_job_template(

def list_job_templates(
self,
request: services.ListJobTemplatesRequest = None,
request: Union[services.ListJobTemplatesRequest, dict] = None,
*,
parent: str = None,
retry: retries.Retry = gapic_v1.method.DEFAULT,
@@ -777,7 +777,7 @@ def list_job_templates(
r"""Lists job templates in the specified region.
Args:
request (google.cloud.video.transcoder_v1.types.ListJobTemplatesRequest):
request (Union[google.cloud.video.transcoder_v1.types.ListJobTemplatesRequest, dict]):
The request object. Request message for
`TranscoderService.ListJobTemplates`.
parent (str):
@@ -847,7 +847,7 @@ def list_job_templates(

def get_job_template(
self,
request: services.GetJobTemplateRequest = None,
request: Union[services.GetJobTemplateRequest, dict] = None,
*,
name: str = None,
retry: retries.Retry = gapic_v1.method.DEFAULT,
@@ -857,7 +857,7 @@ def get_job_template(
r"""Returns the job template data.
Args:
request (google.cloud.video.transcoder_v1.types.GetJobTemplateRequest):
request (Union[google.cloud.video.transcoder_v1.types.GetJobTemplateRequest, dict]):
The request object. Request message for
`TranscoderService.GetJobTemplate`.
name (str):
@@ -917,7 +917,7 @@ def get_job_template(

def delete_job_template(
self,
request: services.DeleteJobTemplateRequest = None,
request: Union[services.DeleteJobTemplateRequest, dict] = None,
*,
name: str = None,
retry: retries.Retry = gapic_v1.method.DEFAULT,
@@ -927,7 +927,7 @@ def delete_job_template(
r"""Deletes a job template.
Args:
request (google.cloud.video.transcoder_v1.types.DeleteJobTemplateRequest):
request (Union[google.cloud.video.transcoder_v1.types.DeleteJobTemplateRequest, dict]):
The request object. Request message for
`TranscoderService.DeleteJobTemplate`.
name (str):
Original file line number Diff line number Diff line change
@@ -119,7 +119,7 @@ def __init__(
**scopes_kwargs, quota_project_id=quota_project_id
)

# If the credentials is service account credentials, then always try to use self signed JWT.
# If the credentials are service account credentials, then always try to use self signed JWT.
if (
always_use_jwt_access
and isinstance(credentials, service_account.Credentials)
Original file line number Diff line number Diff line change
@@ -88,16 +88,16 @@ def __init__(
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
If provided, it overrides the ``host`` argument and tries to create
a mutual TLS channel with client SSL credentials from
``client_cert_source`` or applicatin default SSL credentials.
``client_cert_source`` or application default SSL credentials.
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
Deprecated. A callback to provide client SSL certificate bytes and
private key bytes, both in PEM format. It is ignored if
``api_mtls_endpoint`` is None.
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
for grpc channel. It is ignored if ``channel`` is provided.
for the grpc channel. It is ignored if ``channel`` is provided.
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
A callback to provide client certificate bytes and private key bytes,
both in PEM format. It is used to configure mutual TLS channel. It is
both in PEM format. It is used to configure a mutual TLS channel. It is
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
quota_project_id (Optional[str]): An optional project to use for billing
and quota.
Original file line number Diff line number Diff line change
@@ -135,16 +135,16 @@ def __init__(
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
If provided, it overrides the ``host`` argument and tries to create
a mutual TLS channel with client SSL credentials from
``client_cert_source`` or applicatin default SSL credentials.
``client_cert_source`` or application default SSL credentials.
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
Deprecated. A callback to provide client SSL certificate bytes and
private key bytes, both in PEM format. It is ignored if
``api_mtls_endpoint`` is None.
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
for grpc channel. It is ignored if ``channel`` is provided.
for the grpc channel. It is ignored if ``channel`` is provided.
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
A callback to provide client certificate bytes and private key bytes,
both in PEM format. It is used to configure mutual TLS channel. It is
both in PEM format. It is used to configure a mutual TLS channel. It is
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
quota_project_id (Optional[str]): An optional project to use for billing
and quota.
Loading