InvokeAI/docs/contributing
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
..
contribution_guides Updated new user flow 2023-07-27 21:46:39 +10:00
ARCHITECTURE.md parent 9eed1919c2 2023-02-24 18:57:02 -08:00
CONTRIBUTING.md 3.1 Documentation Updates (#4318) 2023-08-25 11:59:46 +10:00
INVOCATIONS.md feat(nodes): move all invocation metadata (type, title, tags, category) to decorator 2023-08-30 18:35:12 +10:00
LOCAL_DEVELOPMENT.md doc(development): add section on hot reloading with --dev_reload 2023-08-21 16:45:39 -07:00