InvokeAI/invokeai/app/services
psychedelicious 044d4c107a feat(nodes): move all invocation metadata (type, title, tags, category) to decorator
All invocation metadata (type, title, tags and category) are now defined in decorators.

The decorators add the `type: Literal["invocation_type"]: "invocation_type"` field to the invocation.

Category is a new invocation metadata, but it is not used by the frontend just yet.

- `@invocation()` decorator for invocations

```py
@invocation(
    "sdxl_compel_prompt",
    title="SDXL Prompt",
    tags=["sdxl", "compel", "prompt"],
    category="conditioning",
)
class SDXLCompelPromptInvocation(BaseInvocation, SDXLPromptInvocationBase):
    ...
```

- `@invocation_output()` decorator for invocation outputs

```py
@invocation_output("clip_skip_output")
class ClipSkipInvocationOutput(BaseInvocationOutput):
    ...
```

- update invocation docs
- add category to decorator
- regen frontend types
2023-08-30 18:35:12 +10:00
..
config Merge remote-tracking branch 'origin/main' into feat/dev_reload 2023-08-22 18:18:16 -07:00
models fix(db): fix typing on ImageRecordChanges 2023-08-24 22:13:05 +10:00
__init__.py all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
board_image_record_storage.py feat: add multi-select to gallery 2023-08-03 11:46:59 +10:00
board_images.py Resolving merge conflicts for flake8 2023-08-18 15:52:04 +10:00
board_record_storage.py Resolving merge conflicts for flake8 2023-08-18 15:52:04 +10:00
boards.py Apply black 2023-07-27 10:54:01 -04:00
default_graphs.py feat(nodes): primitives have value instead of a as field names 2023-08-21 19:17:36 +10:00
events.py Fix total_steps in generation event, order field added 2023-08-09 03:34:25 +03:00
graph.py feat(nodes): move all invocation metadata (type, title, tags, category) to decorator 2023-08-30 18:35:12 +10:00
image_file_storage.py fix(nodes): fix uploading image metadata retention 2023-08-30 14:52:50 +10:00
image_record_storage.py Resolving merge conflicts for flake8 2023-08-18 15:52:04 +10:00
images.py feat: workflow saving and loading 2023-08-24 21:42:32 +10:00
invocation_queue.py Apply black 2023-07-27 10:54:01 -04:00
invocation_services.py Resolving merge conflicts for flake8 2023-08-18 15:52:04 +10:00
invocation_stats.py chore: flake8 2023-08-22 10:14:46 +10:00
invoker.py Apply black 2023-07-27 10:54:01 -04:00
item_storage.py Apply black 2023-07-27 10:54:01 -04:00
latent_storage.py Resolving merge conflicts for flake8 2023-08-18 15:52:04 +10:00
model_manager_service.py Merge branch 'main' into refactor/rename-performance-options 2023-08-17 14:43:00 -04:00
processor.py fix bad merge 2023-08-16 08:53:07 -04:00
resource_name.py feat(nodes): add nameservice 2023-05-28 20:19:56 -04:00
sqlite.py feat: node editor 2023-08-16 09:54:38 +10:00
urls.py feat: add multi-select to gallery 2023-08-03 11:46:59 +10:00