InvokeAI/invokeai/app
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
..
api experimental: LaMa Infill 2023-08-23 23:05:29 -04:00
assets/images tweaks in response to psychedelicious review of PR 2023-07-26 15:27:04 +10:00
cli Resolving merge conflicts for flake8 2023-08-18 15:52:04 +10:00
invocations feat(nodes): move all invocation metadata (type, title, tags, category) to decorator 2023-08-30 18:35:12 +10:00
models feat(nodes): refactor parameter/primitive nodes 2023-08-16 09:54:38 +10:00
services feat(nodes): move all invocation metadata (type, title, tags, category) to decorator 2023-08-30 18:35:12 +10:00
util Resolving merge conflicts for flake8 2023-08-18 15:52:04 +10:00
api_app.py Merge branch 'main' into feat/dev_reload 2023-08-21 18:22:31 -07:00
cli_app.py Resolving merge conflicts for flake8 2023-08-18 15:52:04 +10:00