InvokeAI/invokeai/app/invocations
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
..
__init__.py Run python black 2023-07-28 09:46:44 -04:00
baseinvocation.py feat(nodes): move all invocation metadata (type, title, tags, category) to decorator 2023-08-30 18:35:12 +10:00
collections.py feat(nodes): move all invocation metadata (type, title, tags, category) to decorator 2023-08-30 18:35:12 +10:00
compel.py feat(nodes): move all invocation metadata (type, title, tags, category) to decorator 2023-08-30 18:35:12 +10:00
controlnet_image_processors.py feat(nodes): move all invocation metadata (type, title, tags, category) to decorator 2023-08-30 18:35:12 +10:00
cv.py feat(nodes): move all invocation metadata (type, title, tags, category) to decorator 2023-08-30 18:35:12 +10:00
image.py feat(nodes): move all invocation metadata (type, title, tags, category) to decorator 2023-08-30 18:35:12 +10:00
infill.py feat(nodes): move all invocation metadata (type, title, tags, category) to decorator 2023-08-30 18:35:12 +10:00
latent.py feat(nodes): move all invocation metadata (type, title, tags, category) to decorator 2023-08-30 18:35:12 +10:00
math.py feat(nodes): move all invocation metadata (type, title, tags, category) to decorator 2023-08-30 18:35:12 +10:00
metadata.py feat(nodes): move all invocation metadata (type, title, tags, category) to decorator 2023-08-30 18:35:12 +10:00
model.py feat(nodes): move all invocation metadata (type, title, tags, category) to decorator 2023-08-30 18:35:12 +10:00
noise.py feat(nodes): move all invocation metadata (type, title, tags, category) to decorator 2023-08-30 18:35:12 +10:00
onnx.py feat(nodes): move all invocation metadata (type, title, tags, category) to decorator 2023-08-30 18:35:12 +10:00
param_easing.py feat(nodes): move all invocation metadata (type, title, tags, category) to decorator 2023-08-30 18:35:12 +10:00
primitives.py feat(nodes): move all invocation metadata (type, title, tags, category) to decorator 2023-08-30 18:35:12 +10:00
prompt.py feat(nodes): move all invocation metadata (type, title, tags, category) to decorator 2023-08-30 18:35:12 +10:00
sdxl.py feat(nodes): move all invocation metadata (type, title, tags, category) to decorator 2023-08-30 18:35:12 +10:00
upscale.py feat(nodes): move all invocation metadata (type, title, tags, category) to decorator 2023-08-30 18:35:12 +10:00