Fixes a few Python pitfalls with having mutable default function parameters. [1] Updates type annotations and docstrings to agree with the listed values. Removes redundant type listing for arguments in docstrings as the types are already annotated.
👋 Hi y'all! I was looking over the NeMo run documentation since we're integrating it into BioNeMo. I have a few suggestions for the documentation here.
Fixes a few Python pitfalls with having mutable default function parameters. [1] Updates type annotations and docstrings to agree with the listed values. Removes redundant type listing for arguments in docstrings as the types are already annotated.
[1] https://docs.python-guide.org/writing/gotchas/#mutable-default-arguments