This commit is contained in:
2025-10-29 11:52:49 +08:00
parent 8f6b181ff8
commit c0cd0149a1

View File

@@ -53,6 +53,9 @@ class InstantiateConfig(PrintableConfig):
with open(filename, 'w') as f:
yaml.dump(self, f)
logger.info(f"[yellow]config saved to: {filename}[/yellow]")
def get_name(self):
return self.__class__.__name__