Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Use latest artman version and remove final keyword #2274

Merged
merged 2 commits into from
Aug 28, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions Asset/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"""This script is used to synthesize generated parts of this library."""

import os
# https://github.com/googleapis/artman/pull/655#issuecomment-507784277
os.environ["SYNTHTOOL_ARTMAN_VERSION"] = "0.29.1"
import synthtool as s
import synthtool.gcp as gcp
import logging
Expand Down Expand Up @@ -62,6 +60,12 @@
r"\$transportConfig, and any \$serviceAddress",
r"$transportConfig, and any `$apiEndpoint`")

# prevent proto messages from being marked final
s.replace(
"src/V*/**/*.php",
r"final class",
r"class")

# fix year
s.replace(
'src/V1beta1/**/*.php',
Expand Down
8 changes: 6 additions & 2 deletions AutoMl/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"""This script is used to synthesize generated parts of this library."""

import os
# https://github.com/googleapis/artman/pull/655#issuecomment-507784277
os.environ["SYNTHTOOL_ARTMAN_VERSION"] = "0.29.1"
import synthtool as s
import synthtool.gcp as gcp
import logging
Expand Down Expand Up @@ -60,6 +58,12 @@
r"\$transportConfig, and any \$serviceAddress",
r"$transportConfig, and any `$apiEndpoint`")

# prevent proto messages from being marked final
s.replace(
"src/V*/**/*.php",
r"final class",
r"class")

# fix year
s.replace(
'**/Gapic/*GapicClient.php',
Expand Down
8 changes: 6 additions & 2 deletions BigQueryDataTransfer/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"""This script is used to synthesize generated parts of this library."""

import os
# https://github.com/googleapis/artman/pull/655#issuecomment-507784277
os.environ["SYNTHTOOL_ARTMAN_VERSION"] = "0.29.1"
import synthtool as s
import synthtool.gcp as gcp
import logging
Expand Down Expand Up @@ -60,6 +58,12 @@
r"\$transportConfig, and any \$serviceAddress",
r"$transportConfig, and any `$apiEndpoint`")

# prevent proto messages from being marked final
s.replace(
"src/V*/**/*.php",
r"final class",
r"class")

# fix year
s.replace(
'**/Gapic/*GapicClient.php',
Expand Down
8 changes: 6 additions & 2 deletions Bigtable/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"""This script is used to synthesize generated parts of this library."""

import os
# https://github.com/googleapis/artman/pull/655#issuecomment-507784277
os.environ["SYNTHTOOL_ARTMAN_VERSION"] = "0.29.1"
import synthtool as s
import synthtool.gcp as gcp
import logging
Expand Down Expand Up @@ -79,6 +77,12 @@
r"\$transportConfig, and any \$serviceAddress",
r"$transportConfig, and any `$apiEndpoint`")

# prevent proto messages from being marked final
s.replace(
dwsupplee marked this conversation as resolved.
Show resolved Hide resolved
"src/V*/**/*.php",
r"final class",
r"class")

# fix year
s.replace(
'**/Gapic/*GapicClient.php',
Expand Down
8 changes: 6 additions & 2 deletions Container/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"""This script is used to synthesize generated parts of this library."""

import os
# https://github.com/googleapis/artman/pull/655#issuecomment-507784277
os.environ["SYNTHTOOL_ARTMAN_VERSION"] = "0.29.1"
import synthtool as s
import synthtool.gcp as gcp
import logging
Expand Down Expand Up @@ -60,6 +58,12 @@
r"\$transportConfig, and any \$serviceAddress",
r"$transportConfig, and any `$apiEndpoint`")

# prevent proto messages from being marked final
s.replace(
"src/V*/**/*.php",
r"final class",
r"class")

# fix year
s.replace(
'**/Gapic/*GapicClient.php',
Expand Down
8 changes: 6 additions & 2 deletions Dataproc/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"""This script is used to synthesize generated parts of this library."""

import os
# https://github.com/googleapis/artman/pull/655#issuecomment-507784277
os.environ["SYNTHTOOL_ARTMAN_VERSION"] = "0.29.1"
import synthtool as s
import synthtool.gcp as gcp
import logging
Expand Down Expand Up @@ -68,6 +66,12 @@
r"\$transportConfig, and any \$serviceAddress",
r"$transportConfig, and any `$apiEndpoint`")

# prevent proto messages from being marked final
s.replace(
"src/V*/**/*.php",
r"final class",
r"class")

# fix year
for client in ['ClusterController', 'JobController']:
s.replace(
Expand Down
8 changes: 6 additions & 2 deletions Datastore/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"""This script is used to synthesize generated parts of this library."""

import os
# https://github.com/googleapis/artman/pull/655#issuecomment-507784277
os.environ["SYNTHTOOL_ARTMAN_VERSION"] = "0.29.1"
import synthtool as s
import synthtool.gcp as gcp
import logging
Expand Down Expand Up @@ -60,6 +58,12 @@
r"\$transportConfig, and any \$serviceAddress",
r"$transportConfig, and any `$apiEndpoint`")

# prevent proto messages from being marked final
s.replace(
"src/V*/**/*.php",
r"final class",
r"class")

# fix year
s.replace(
'**/Gapic/*GapicClient.php',
Expand Down
8 changes: 6 additions & 2 deletions Debugger/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"""This script is used to synthesize generated parts of this library."""

import os
# https://github.com/googleapis/artman/pull/655#issuecomment-507784277
os.environ["SYNTHTOOL_ARTMAN_VERSION"] = "0.29.1"
import synthtool as s
import synthtool.gcp as gcp
import logging
Expand Down Expand Up @@ -60,6 +58,12 @@
r"\$transportConfig, and any \$serviceAddress",
r"$transportConfig, and any `$apiEndpoint`")

# prevent proto messages from being marked final
s.replace(
"src/V*/**/*.php",
r"final class",
r"class")

# fix year
s.replace(
'**/Gapic/*GapicClient.php',
Expand Down
8 changes: 6 additions & 2 deletions Dialogflow/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"""This script is used to synthesize generated parts of this library."""

import os
# https://github.com/googleapis/artman/pull/655#issuecomment-507784277
os.environ["SYNTHTOOL_ARTMAN_VERSION"] = "0.29.1"
import synthtool as s
import synthtool.gcp as gcp
import logging
Expand Down Expand Up @@ -59,6 +57,12 @@
r"\$transportConfig, and any \$serviceAddress",
r"$transportConfig, and any `$apiEndpoint`")

# prevent proto messages from being marked final
s.replace(
"src/V*/**/*.php",
r"final class",
r"class")

# fix year
s.replace(
'**/Gapic/*GapicClient.php',
Expand Down
8 changes: 6 additions & 2 deletions Dlp/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"""This script is used to synthesize generated parts of this library."""

import os
# https://github.com/googleapis/artman/pull/655#issuecomment-507784277
os.environ["SYNTHTOOL_ARTMAN_VERSION"] = "0.29.1"
import synthtool as s
import synthtool.gcp as gcp
import logging
Expand Down Expand Up @@ -60,6 +58,12 @@
r"\$transportConfig, and any \$serviceAddress",
r"$transportConfig, and any `$apiEndpoint`")

# prevent proto messages from being marked final
s.replace(
"src/V*/**/*.php",
r"final class",
r"class")

# fix year
s.replace(
'**/Gapic/*GapicClient.php',
Expand Down
8 changes: 6 additions & 2 deletions ErrorReporting/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"""This script is used to synthesize generated parts of this library."""

import os
# https://github.com/googleapis/artman/pull/655#issuecomment-507784277
os.environ["SYNTHTOOL_ARTMAN_VERSION"] = "0.29.1"
import synthtool as s
import synthtool.gcp as gcp
import logging
Expand Down Expand Up @@ -60,6 +58,12 @@
r"\$transportConfig, and any \$serviceAddress",
r"$transportConfig, and any `$apiEndpoint`")

# prevent proto messages from being marked final
s.replace(
"src/V*/**/*.php",
r"final class",
r"class")

# fix year
s.replace(
'**/Gapic/*GapicClient.php',
Expand Down
8 changes: 6 additions & 2 deletions Firestore/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"""This script is used to synthesize generated parts of this library."""

import os
# https://github.com/googleapis/artman/pull/655#issuecomment-507784277
os.environ["SYNTHTOOL_ARTMAN_VERSION"] = "0.29.1"
import synthtool as s
import synthtool.gcp as gcp
import logging
Expand Down Expand Up @@ -86,6 +84,12 @@
r"\$transportConfig, and any \$serviceAddress",
r"$transportConfig, and any `$apiEndpoint`")

# prevent proto messages from being marked final
s.replace(
dwsupplee marked this conversation as resolved.
Show resolved Hide resolved
"src/V*/**/*.php",
r"final class",
r"class")

# fix year
s.replace(
'**/V1beta1/Gapic/*GapicClient.php',
Expand Down
8 changes: 6 additions & 2 deletions Iot/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"""This script is used to synthesize generated parts of this library."""

import os
# https://github.com/googleapis/artman/pull/655#issuecomment-507784277
os.environ["SYNTHTOOL_ARTMAN_VERSION"] = "0.29.1"
import synthtool as s
import synthtool.gcp as gcp
import logging
Expand Down Expand Up @@ -61,6 +59,12 @@
r"\$transportConfig, and any \$serviceAddress",
r"$transportConfig, and any `$apiEndpoint`")

# prevent proto messages from being marked final
s.replace(
"src/V*/**/*.php",
r"final class",
r"class")

# fix year
s.replace(
'**/Gapic/*GapicClient.php',
Expand Down
8 changes: 6 additions & 2 deletions Kms/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"""This script is used to synthesize generated parts of this library."""

import os
# https://github.com/googleapis/artman/pull/655#issuecomment-507784277
os.environ["SYNTHTOOL_ARTMAN_VERSION"] = "0.29.1"
import synthtool as s
import synthtool.gcp as gcp
import logging
Expand Down Expand Up @@ -55,6 +53,12 @@
r"\$transportConfig, and any \$serviceAddress",
r"$transportConfig, and any `$apiEndpoint`")

# prevent proto messages from being marked final
s.replace(
"src/V*/**/*.php",
r"final class",
r"class")

# fix copyright year
s.replace(
'src/V1/**/*Client.php',
Expand Down
8 changes: 6 additions & 2 deletions Language/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"""This script is used to synthesize generated parts of this library."""

import os
# https://github.com/googleapis/artman/pull/655#issuecomment-507784277
os.environ["SYNTHTOOL_ARTMAN_VERSION"] = "0.29.1"
import synthtool as s
import synthtool.gcp as gcp
import logging
Expand Down Expand Up @@ -61,6 +59,12 @@
r"\$transportConfig, and any \$serviceAddress",
r"$transportConfig, and any `$apiEndpoint`")

# prevent proto messages from being marked final
s.replace(
"src/V*/**/*.php",
r"final class",
r"class")

# fix year
s.replace(
'src/V1beta2/**/*.php',
Expand Down
8 changes: 6 additions & 2 deletions Logging/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"""This script is used to synthesize generated parts of this library."""

import os
# https://github.com/googleapis/artman/pull/655#issuecomment-507784277
os.environ["SYNTHTOOL_ARTMAN_VERSION"] = "0.29.1"
import synthtool as s
import synthtool.gcp as gcp
import logging
Expand Down Expand Up @@ -60,6 +58,12 @@
r"\$transportConfig, and any \$serviceAddress",
r"$transportConfig, and any `$apiEndpoint`")

# prevent proto messages from being marked final
s.replace(
"src/V*/**/*.php",
r"final class",
r"class")

# fix year
s.replace(
'**/Gapic/*GapicClient.php',
Expand Down
8 changes: 6 additions & 2 deletions Monitoring/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"""This script is used to synthesize generated parts of this library."""

import os
# https://github.com/googleapis/artman/pull/655#issuecomment-507784277
os.environ["SYNTHTOOL_ARTMAN_VERSION"] = "0.29.1"
import synthtool as s
import synthtool.gcp as gcp
import logging
Expand Down Expand Up @@ -60,6 +58,12 @@
r"\$transportConfig, and any \$serviceAddress",
r"$transportConfig, and any `$apiEndpoint`")

# prevent proto messages from being marked final
s.replace(
"src/V*/**/*.php",
r"final class",
r"class")

# fix year
for client in ['GroupService', 'MetricService', 'UptimeCheckService']:
s.replace(
Expand Down
8 changes: 6 additions & 2 deletions OsLogin/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"""This script is used to synthesize generated parts of this library."""

import os
# https://github.com/googleapis/artman/pull/655#issuecomment-507784277
os.environ["SYNTHTOOL_ARTMAN_VERSION"] = "0.29.1"
import synthtool as s
import synthtool.gcp as gcp
import logging
Expand Down Expand Up @@ -69,6 +67,12 @@
r"\$transportConfig, and any \$serviceAddress",
r"$transportConfig, and any `$apiEndpoint`")

# prevent proto messages from being marked final
s.replace(
dwsupplee marked this conversation as resolved.
Show resolved Hide resolved
"src/V*/**/*.php",
r"final class",
r"class")

# fix copyright year
s.replace(
'src/V1beta/**/*.php',
Expand Down
Loading