Skip to content

Commit

Permalink
[yaml] remove PubSubLite from API docs
Browse files Browse the repository at this point in the history
Signed-off-by: Jeffrey Kinard <[email protected]>
  • Loading branch information
Polber committed Nov 21, 2024
1 parent a06454a commit f5102b4
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions sdks/python/apache_beam/yaml/generate_yaml_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,11 @@ def io_grouping_key(transform_name):
return 0, transform_name


SKIP = [
'Combine',
'Filter',
'MapToFields',
]
# Deprecated providers
SKIP = {
'ReadFromPubSubLite',
'WriteToPubSubLite',
}


def transform_docs(transform_base, transforms, providers, extra_docs=''):
Expand Down Expand Up @@ -236,7 +236,8 @@ def main():
options = parser.parse_args()
include = re.compile(options.include).match
exclude = (
re.compile(options.exclude).match if options.exclude else lambda _: False)
re.compile(options.exclude).match
if options.exclude else lambda x: x in SKIP)

with subprocess_server.SubprocessServer.cache_subprocesses():
json_config_schemas = []
Expand Down

0 comments on commit f5102b4

Please sign in to comment.