rlberry
rlberry copied to clipboard
Handling **kwargs
It is not clear for a newcomer what are **kwargs and what can we put in them.
Should we just remove them when we can ? @omardrwch
Remove them from where? From Agent only? When designing Agent, I required**kwargs in case AgentManager needed to send some extra parameters to the agent's constructor, that were not handled by the user.
This can probably be replaced by (private) setters.
I understand the idea but these kwargs are very cryptic to newcommers (and even for me, I have to read the code every time to know what can go in there). A lot of the new people trying rlberry in the team were wondering what are kwargs ? What should I put in there ? What can I put in there ?