Refactored io.py, ui.py, and resources.py to expose themselves on v3/__init__.py on _IO, _UI, and _RESOURCES classes such that the v3 schema can be iterated upon on versioned Core API soon

This commit is contained in:
Jedrzej Kosinski
2025-07-24 16:00:27 -07:00
parent 7d710727a9
commit 3a8286b034
7 changed files with 127 additions and 6 deletions

View File

@@ -63,3 +63,10 @@ class ResourcesLocal(Resources):
if default is not ...:
return default
raise Exception(f"Unsupported resource key type: {type(key)}")
class _RESOURCES:
ResourceKey = ResourceKey
TorchDictFolderFilename = TorchDictFolderFilename
Resources = Resources
ResourcesLocal = ResourcesLocal