4 Commits
Author SHA1 Message Date
David Feltell 35639fdffc [Core] Add ResolveImage node
Copy-paste current implementation of core LoadImage, but use a string
input providing an entity reference instead of a file upload, and
retrieve input file path from the OpenAssetIO manager.

Due to the mix-and-match by ComfyUI of class vs. instance methods, plus
no way to inject context, use a singleton class to represent the
OpenAssetIO host application.

Signed-off-by: David Feltell <david.feltell@foundry.com>
2025-09-05 17:46:51 +01:00
David Feltell 7b9843a862 [Lint] Set 99 char line length and bulk reformat
Set up ruff to enforce a 99 char line limit, mirroring other OpenAssetIO
projects.

Configure yml with 2-space tabs, mirroring other OpenAssetIO projects
(and the ComfyUI cookiecutter project's defaults).

Bulk reformat using PyCharm configured to use ruff - i.e. Python files
are reformatted using ruff, whilst other files are reformatted
according to .editorconfig and/or PyCharm defaults.

Signed-off-by: David Feltell <david.feltell@foundry.com>
2025-09-05 16:25:17 +01:00
David Feltell 1f51166b29 [Docs] Add SPDX license identifiers
Ensure all files that can support comments have an SPDX license
identifier.

Signed-off-by: David Feltell <david.feltell@foundry.com>
2025-09-05 16:25:17 +01:00
David Feltell 243285b07c [Core] Initial cookiecutter project
See https://github.com/Comfy-Org/cookiecutter-comfy-extension

Signed-off-by: David Feltell <david.feltell@foundry.com>
2025-09-05 16:25:17 +01:00