tvalentyn commented on code in PR #28396:
URL: https://github.com/apache/beam/pull/28396#discussion_r1323815627
##########
sdks/python/apache_beam/dataframe/frame_base.py:
##########
@@ -588,15 +622,23 @@ def format_section(header):
return wrap
-def populate_defaults(base_type):
+def populate_defaults(base_type, removed_method=False, removed_args=None):
"""Populate default values for keyword arguments in decorated function.
When applied to a function, this decorator creates a new function
with default values for all keyword arguments, based on the default values
for the identically-named method on `base_type`.
- For internal use only. No backwards compatibility guarantees."""
+ removed_method used in cases where a method has been removed in a later
Review Comment:
nit: let's split line for readability (or use `Args:` format),
```
removed_method used in cases where a method has been removed in a later
version of Pandas.
removed_args used in cases where a method has had arguments removed in a
later version of Pandas.
```
--
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]