Polber commented on code in PR #30117:
URL: https://github.com/apache/beam/pull/30117#discussion_r1467950994


##########
sdks/python/apache_beam/yaml/yaml_provider.py:
##########
@@ -139,6 +139,21 @@ def as_provider_list(name, lst):
   return [as_provider(name, x) for x in lst]
 
 
+def parse_callable_kwargs(spec: Optional[Mapping[str, Any]]):
+  def _parse_callable_kwargs_rec(args, top_level=False):

Review Comment:
   For the edge case where a custom provider has a single parameter named 
`callable`. In this design, any time a parameter is named `callable`, it must 
be nested under another `callable` to be evaluated as such. For example,
   
   ```
   - type: MyTransform
     config:
       callable:
         callable: len
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to