apache / apache/beam

[Bug]: Many snippets in snippets.py are untested

Open
#22,658 1 comment 0 reactions 0 assignees View on GitHub
bug examples P2 python
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

### What happened?

See #22042

The examples in snippets.py should be tested continuously to make sure we're not advertising flawed code. Some of the snippets are tested in snippets_test.py, e.g.: https://github.com/apache/beam/blob/e86456ea71b1203b7158496e4653541809415225/sdks/python/apache_beam/examples/snippets/snippets_test.py#L627-L633

but it looks like many others (like `sdf_basic_example`) are not. We should add tests exercising all of these examples.

### Issue Priority

Priority: 2

### Issue Component

Component: examples-python

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.