InvokeAI/invokeai/app
psychedelicious dc771d9645 feat(backend): allow/deny nodes
Allow denying and explicitly allowing nodes. When a not-allowed node is used, a pydantic `ValidationError` will be raised.

- When collecting all invocations, check against the allowlist and denylist first. When pydantic constructs any unions related to nodes, the denied nodes will be omitted
- Add `allow_nodes` and `deny_nodes` to `InvokeAIAppConfig`. These are `Union[list[str], None]`, and may be populated with the `type` of invocations.
- When `allow_nodes` is `None`, allow all nodes, else if it is `list[str]`, only allow nodes in the list
- When `deny_nodes` is `None`, deny no nodes, else if it is `list[str]`, deny nodes in the list
- `deny_nodes` overrides `allow_nodes`
2023-09-08 13:24:37 -04:00
..
api experimental: Add CV2 Infill 2023-09-02 04:48:18 +12: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(backend): allow/deny nodes 2023-09-08 13:24:37 -04:00
models feat(nodes): refactor parameter/primitive nodes 2023-08-16 09:54:38 +10:00
services feat(backend): allow/deny nodes 2023-09-08 13:24:37 -04: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