Skip to content

Commit

Permalink
Assorted synth fixups / cleanups (#6400)
Browse files Browse the repository at this point in the history
* Asset: Replace 'stable' -> 'latest' in docs links, caused by out-of-date synth.
* AutoML: fix copying generated docs.
* Bigtable: remove now-spurious fixup from 'synth.py'.
* DLP: remove now-spurious fixups from 'synth.py'.
* Monitoring: remove now-spurious fixups from 'synth.py'.
* Redis: remove now-spurious fixups from 'synth.py'.
* Speech: remove now-spurious fixups from 'synth.py'.
  • Loading branch information
tseaver authored Nov 7, 2018
1 parent 3c44857 commit 2da3545
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions packages/google-cloud-dlp/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@
"google\.cloud\.privacy\.dlp_v2",
"google.cloud.dlp_v2"
)
s.replace(
"tests/**/*.py",
"google\.cloud\.privacy\.dlp_v2",
"google.cloud.dlp_v2"
)

# Add missing utf-8 marker
s.replace(
Expand Down Expand Up @@ -82,15 +77,6 @@
"\g<1> \\\n\g<2> \\\n"
)

s.replace(
"google/cloud/dlp_v2/proto/storage_pb2.py",
"(proximity:)\n(\s+Proximity.*)\n(\s+reside..*)\n(\s+characters..*)\n"
"(\s+the window.*)\n(\s+of the finding.*)\n(\s+number regex.*)\n"
"(\s+latex:.*)\n(\s+known to be the local.*)\n(\s+hotword regex.*)\n",
"\g<1> \\\n\g<2> \\\n\g<3> \\\n\g<4> \\\n\g<5> \\\n\g<6> \\\n\g<7> "
"\\\n\g<8> \\\n\g<9> \\\n\g<10> \\\n"
)

s.replace(
"google/cloud/dlp_v2/proto/storage_pb2.py",
"(likelihood_adjustment:)\n",
Expand Down

0 comments on commit 2da3545

Please sign in to comment.