diff --git a/build.gradle.kts b/build.gradle.kts index a49109d31cf4..c52201eb05e7 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -118,6 +118,9 @@ tasks.rat { // JupyterLab extensions "sdks/python/apache_beam/runners/interactive/extensions/apache-beam-jupyterlab-sidepanel/yarn.lock", + // Autogenerated apitools clients. + "sdks/python/apache_beam/runners/dataflow/internal/clients/*/**/*.py", + // Sample text file for Java quickstart "sdks/java/maven-archetypes/examples/sample.txt", diff --git a/sdks/python/apache_beam/runners/dataflow/internal/clients/README.txt b/sdks/python/apache_beam/runners/dataflow/internal/clients/README.txt new file mode 100644 index 000000000000..1d697caeee6a --- /dev/null +++ b/sdks/python/apache_beam/runners/dataflow/internal/clients/README.txt @@ -0,0 +1,11 @@ +To regenerate these files run + +pip install google-apitools[cli] +gen_client \ + --discovery_url dataflow.v1b3 \ + --overwrite \ + --root_package=. \ + --outdir=apache_beam/runners/dataflow/internal/clients/dataflow \ + client + +Patch up the imports in __init__ to make them conditional.