Mid code cleanup

This commit is contained in:
lwark
2024-09-26 08:26:37 -05:00
parent 4c7b737326
commit f4e930c64e
9 changed files with 135 additions and 94 deletions

View File

@@ -79,7 +79,16 @@ class Organization(BaseClass):
@classmethod
@check_authorization
def import_from_json(cls, filepath: Path|str):
def import_from_yml(cls, filepath: Path | str):
"""
An ambitious project to create a Organization from a yml file
Args:
filepath (Path): Filepath of the yml.
Returns:
"""
if isinstance(filepath, str):
filepath = Path(filepath)
if not filepath.exists():