get name
This commit is contained in:
@@ -54,6 +54,9 @@ class InstantiateConfig(PrintableConfig):
|
|||||||
yaml.dump(self, f)
|
yaml.dump(self, f)
|
||||||
logger.info(f"[yellow]config saved to: {filename}[/yellow]")
|
logger.info(f"[yellow]config saved to: {filename}[/yellow]")
|
||||||
|
|
||||||
|
def get_name(self):
|
||||||
|
return self.__class__.__name__
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user