chore(yaml)!: move registered resources to a sub-key

This commit is contained in:
Ashwin Bharambe 2025-10-20 14:45:43 -07:00
parent 483d53cc37
commit f57350bb35
15 changed files with 342 additions and 320 deletions

View file

@ -110,7 +110,7 @@ TEST_RECORDING_CONTEXT = None
async def register_resources(run_config: StackRunConfig, impls: dict[Api, Any]):
for rsrc, api, register_method, list_method in RESOURCES:
objects = getattr(run_config, rsrc)
objects = getattr(run_config.registered_resources, rsrc)
if api not in impls:
continue