mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-27 19:40:17 +08:00
update docstrings and random cleanups (#387)
* fixing docstrings and small nits; up to fileds * finished adding and fixing docstrings
This commit is contained in:
1 parent
bd5967461d
commit
d50c71ac43
52 files changed
+846
-646
No files matched your search
@@ -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__:
|
||||
|
||||
Reference in new issue
Block a user