Skip to content

Commit

Permalink
retrigger test
Browse files Browse the repository at this point in the history
  • Loading branch information
DKER2 committed Sep 29, 2024
1 parent f07d2cd commit e819366
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdks/python/apache_beam/transforms/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1504,8 +1504,8 @@ def _check_fn_use_yield_and_return(fn):
has_yield = False
has_return = False
return_none_warning = (
"No iterator is returned by the process method in %s.",
fn.__self__.__class__)
f"No iterator is returned by the "
f"process method in {fn.__self__.__class__}.")
for line in source_code.split("\n"):
lstripped_line = line.lstrip()
if lstripped_line.startswith("yield ") or lstripped_line.startswith(
Expand Down

0 comments on commit e819366

Please sign in to comment.