Skip to content

Commit

Permalink
Fix input detection. (#28775)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertwb authored Oct 2, 2023
1 parent 4a9608d commit 11e2bae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdks/python/apache_beam/yaml/yaml_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ def config_schema(self, type):
self.schema_transforms()[self._urns[type]].configuration_schema)

def requires_inputs(self, typ, args):
if self._urns[type] in self.schema_transforms():
return bool(self.schema_transforms()[self._urns[type]].inputs)
if self._urns[typ] in self.schema_transforms():
return bool(self.schema_transforms()[self._urns[typ]].inputs)
else:
return super().requires_inputs(typ, args)

Expand Down

0 comments on commit 11e2bae

Please sign in to comment.