update docstrings and random cleanups (#387)

* fixing docstrings and small nits; up to fileds

* finished adding and fixing docstrings
This commit is contained in:
evonneng authored and GitHub committed 2022-09-10 23:09:44 -07:00
1 parent bd5967461d
commit d50c71ac43
52 files changed
+846 -646

No files matched your search

+5 -1
View File
@@ -21,7 +21,11 @@ from nerfactory.utils import comms
def decorate_all(decorators: List[Callable]) -> Callable:
"""A decorator to decorate all member functions of a class"""
"""A decorator to decorate all member functions of a class
Args:
decorators: list of decorators to add to all functions in the class
"""
def decorate(cls):
for attr in cls.__dict__: