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

Commit 5ad55f0

Browse files
changes without context
autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters.
1 parent 845f1e3 commit 5ad55f0

File tree

3 files changed

+106
-22
lines changed

3 files changed

+106
-22
lines changed

google/cloud/video/transcoder_v1beta1/services/transcoder_service/async_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ class TranscoderServiceAsyncClient:
5252
DEFAULT_ENDPOINT = TranscoderServiceClient.DEFAULT_ENDPOINT
5353
DEFAULT_MTLS_ENDPOINT = TranscoderServiceClient.DEFAULT_MTLS_ENDPOINT
5454

55-
job_path = staticmethod(TranscoderServiceClient.job_path)
56-
5755
job_template_path = staticmethod(TranscoderServiceClient.job_template_path)
5856

57+
job_path = staticmethod(TranscoderServiceClient.job_path)
58+
5959
from_service_account_file = TranscoderServiceClient.from_service_account_file
6060
from_service_account_json = from_service_account_file
6161

synth.metadata

Lines changed: 86 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
{
44
"git": {
55
"name": ".",
6-
"remote": "sso://devrel/cloud/libraries/python/python-video-transcoder",
7-
"sha": "d83d277c4513cf6c1caaf56ca3a6564cd5910c86"
6+
"remote": "https://github.com/googleapis/python-video-transcoder.git",
7+
"sha": "845f1e371cc45040c882b725e12375430260e45a"
88
}
99
},
1010
{
@@ -40,5 +40,89 @@
4040
"generator": "bazel"
4141
}
4242
}
43+
],
44+
"generatedFiles": [
45+
".flake8",
46+
".github/CONTRIBUTING.md",
47+
".github/ISSUE_TEMPLATE/bug_report.md",
48+
".github/ISSUE_TEMPLATE/feature_request.md",
49+
".github/ISSUE_TEMPLATE/support_request.md",
50+
".github/PULL_REQUEST_TEMPLATE.md",
51+
".github/release-please.yml",
52+
".gitignore",
53+
".kokoro/build.sh",
54+
".kokoro/continuous/common.cfg",
55+
".kokoro/continuous/continuous.cfg",
56+
".kokoro/docker/docs/Dockerfile",
57+
".kokoro/docker/docs/fetch_gpg_keys.sh",
58+
".kokoro/docs/common.cfg",
59+
".kokoro/docs/docs-presubmit.cfg",
60+
".kokoro/docs/docs.cfg",
61+
".kokoro/presubmit/common.cfg",
62+
".kokoro/presubmit/presubmit.cfg",
63+
".kokoro/publish-docs.sh",
64+
".kokoro/release.sh",
65+
".kokoro/release/common.cfg",
66+
".kokoro/release/release.cfg",
67+
".kokoro/samples/lint/common.cfg",
68+
".kokoro/samples/lint/continuous.cfg",
69+
".kokoro/samples/lint/periodic.cfg",
70+
".kokoro/samples/lint/presubmit.cfg",
71+
".kokoro/samples/python3.6/common.cfg",
72+
".kokoro/samples/python3.6/continuous.cfg",
73+
".kokoro/samples/python3.6/periodic.cfg",
74+
".kokoro/samples/python3.6/presubmit.cfg",
75+
".kokoro/samples/python3.7/common.cfg",
76+
".kokoro/samples/python3.7/continuous.cfg",
77+
".kokoro/samples/python3.7/periodic.cfg",
78+
".kokoro/samples/python3.7/presubmit.cfg",
79+
".kokoro/samples/python3.8/common.cfg",
80+
".kokoro/samples/python3.8/continuous.cfg",
81+
".kokoro/samples/python3.8/periodic.cfg",
82+
".kokoro/samples/python3.8/presubmit.cfg",
83+
".kokoro/test-samples.sh",
84+
".kokoro/trampoline.sh",
85+
".kokoro/trampoline_v2.sh",
86+
".trampolinerc",
87+
"CODE_OF_CONDUCT.md",
88+
"CONTRIBUTING.rst",
89+
"LICENSE",
90+
"MANIFEST.in",
91+
"docs/_static/custom.css",
92+
"docs/_templates/layout.html",
93+
"docs/conf.py",
94+
"docs/multiprocessing.rst",
95+
"docs/transcoder_v1beta1/services.rst",
96+
"docs/transcoder_v1beta1/types.rst",
97+
"google/cloud/video/transcoder/__init__.py",
98+
"google/cloud/video/transcoder/py.typed",
99+
"google/cloud/video/transcoder_v1beta1/__init__.py",
100+
"google/cloud/video/transcoder_v1beta1/py.typed",
101+
"google/cloud/video/transcoder_v1beta1/services/__init__.py",
102+
"google/cloud/video/transcoder_v1beta1/services/transcoder_service/__init__.py",
103+
"google/cloud/video/transcoder_v1beta1/services/transcoder_service/async_client.py",
104+
"google/cloud/video/transcoder_v1beta1/services/transcoder_service/client.py",
105+
"google/cloud/video/transcoder_v1beta1/services/transcoder_service/pagers.py",
106+
"google/cloud/video/transcoder_v1beta1/services/transcoder_service/transports/__init__.py",
107+
"google/cloud/video/transcoder_v1beta1/services/transcoder_service/transports/base.py",
108+
"google/cloud/video/transcoder_v1beta1/services/transcoder_service/transports/grpc.py",
109+
"google/cloud/video/transcoder_v1beta1/services/transcoder_service/transports/grpc_asyncio.py",
110+
"google/cloud/video/transcoder_v1beta1/types/__init__.py",
111+
"google/cloud/video/transcoder_v1beta1/types/resources.py",
112+
"google/cloud/video/transcoder_v1beta1/types/services.py",
113+
"mypy.ini",
114+
"noxfile.py",
115+
"renovate.json",
116+
"scripts/decrypt-secrets.sh",
117+
"scripts/readme-gen/readme_gen.py",
118+
"scripts/readme-gen/templates/README.tmpl.rst",
119+
"scripts/readme-gen/templates/auth.tmpl.rst",
120+
"scripts/readme-gen/templates/auth_api_key.tmpl.rst",
121+
"scripts/readme-gen/templates/install_deps.tmpl.rst",
122+
"scripts/readme-gen/templates/install_portaudio.tmpl.rst",
123+
"setup.cfg",
124+
"testing/.gitignore",
125+
"tests/unit/gapic/transcoder_v1beta1/__init__.py",
126+
"tests/unit/gapic/transcoder_v1beta1/test_transcoder_service.py"
43127
]
44128
}

tests/unit/gapic/transcoder_v1beta1/test_transcoder_service.py

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2613,53 +2613,53 @@ def test_transcoder_service_grpc_asyncio_transport_channel_mtls_with_adc(
26132613
assert transport.grpc_channel == mock_grpc_channel
26142614

26152615

2616-
def test_job_path():
2616+
def test_job_template_path():
26172617
project = "squid"
26182618
location = "clam"
2619-
job = "whelk"
2619+
job_template = "whelk"
26202620

2621-
expected = "projects/{project}/locations/{location}/jobs/{job}".format(
2622-
project=project, location=location, job=job,
2621+
expected = "projects/{project}/locations/{location}/jobTemplates/{job_template}".format(
2622+
project=project, location=location, job_template=job_template,
26232623
)
2624-
actual = TranscoderServiceClient.job_path(project, location, job)
2624+
actual = TranscoderServiceClient.job_template_path(project, location, job_template)
26252625
assert expected == actual
26262626

26272627

2628-
def test_parse_job_path():
2628+
def test_parse_job_template_path():
26292629
expected = {
26302630
"project": "octopus",
26312631
"location": "oyster",
2632-
"job": "nudibranch",
2632+
"job_template": "nudibranch",
26332633
}
2634-
path = TranscoderServiceClient.job_path(**expected)
2634+
path = TranscoderServiceClient.job_template_path(**expected)
26352635

26362636
# Check that the path construction is reversible.
2637-
actual = TranscoderServiceClient.parse_job_path(path)
2637+
actual = TranscoderServiceClient.parse_job_template_path(path)
26382638
assert expected == actual
26392639

26402640

2641-
def test_job_template_path():
2641+
def test_job_path():
26422642
project = "squid"
26432643
location = "clam"
2644-
job_template = "whelk"
2644+
job = "whelk"
26452645

2646-
expected = "projects/{project}/locations/{location}/jobTemplates/{job_template}".format(
2647-
project=project, location=location, job_template=job_template,
2646+
expected = "projects/{project}/locations/{location}/jobs/{job}".format(
2647+
project=project, location=location, job=job,
26482648
)
2649-
actual = TranscoderServiceClient.job_template_path(project, location, job_template)
2649+
actual = TranscoderServiceClient.job_path(project, location, job)
26502650
assert expected == actual
26512651

26522652

2653-
def test_parse_job_template_path():
2653+
def test_parse_job_path():
26542654
expected = {
26552655
"project": "octopus",
26562656
"location": "oyster",
2657-
"job_template": "nudibranch",
2657+
"job": "nudibranch",
26582658
}
2659-
path = TranscoderServiceClient.job_template_path(**expected)
2659+
path = TranscoderServiceClient.job_path(**expected)
26602660

26612661
# Check that the path construction is reversible.
2662-
actual = TranscoderServiceClient.parse_job_template_path(path)
2662+
actual = TranscoderServiceClient.parse_job_path(path)
26632663
assert expected == actual
26642664

26652665

0 commit comments

Comments
 (0)