Commit b60ce5b
Add type checking to confirm that the flatten inputs are actually pco… (#35874)
* Add type checking to confirm that the flatten inputs are actually pcollections
* Allow iterables of non-pcollections to flatten again
* Update sdks/python/apache_beam/transforms/core.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>1 parent d2e1129 commit b60ce5b
File tree
2 files changed
+18
-0
lines changed- sdks/python/apache_beam
- transforms
- typehints
2 files changed
+18
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3866 | 3866 | | |
3867 | 3867 | | |
3868 | 3868 | | |
| 3869 | + | |
| 3870 | + | |
| 3871 | + | |
| 3872 | + | |
| 3873 | + | |
| 3874 | + | |
| 3875 | + | |
| 3876 | + | |
| 3877 | + | |
3869 | 3878 | | |
3870 | 3879 | | |
3871 | 3880 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
182 | 191 | | |
183 | 192 | | |
184 | 193 | | |
| |||
0 commit comments