Some functions that accept arbitrary keyword arguments (e.g. Agents.__call__) name the keyword arguments args (e.g. __call__(self, workspace, **args)). What would you think of renaming this to __call__(self, workspace, **kwargs)? Even with the ** making it clear these were keyword arguments, I was confused for a bit thinking that these were positional arguments, since it's common to use f(*args, **kwargs) in Python. I'd be happy to submit a PR renaming any **args to **kwargs if you'll accept it; it shouldn't change anything for users since that name can only be used inside the functions. Otherwise, feel free to close this.
Some functions that accept arbitrary keyword arguments (e.g.
Agents.__call__
) name the keyword argumentsargs
(e.g.__call__(self, workspace, **args)
). What would you think of renaming this to__call__(self, workspace, **kwargs)
? Even with the**
making it clear these were keyword arguments, I was confused for a bit thinking that these were positional arguments, since it's common to usef(*args, **kwargs)
in Python. I'd be happy to submit a PR renaming any**args
to**kwargs
if you'll accept it; it shouldn't change anything for users since that name can only be used inside the functions. Otherwise, feel free to close this.