mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
We need to parse the config before doing anything related to invocations to ensure that the invocations union picks up on denied nodes. - Move that to the top of api_app and cli_app - Wrap subsequent imports in `if True:`, as a hack to satisfy flake8 and not have to noqa every line or the whole file - Add tests to ensure graph validation fails when using a denied node, and that the invocations union does not have denied nodes (this indirectly provides confidence that the generated OpenAPI schema will not include denied nodes) |
||
---|---|---|
.. | ||
inpainting | ||
nodes | ||
test_model_manager | ||
__init__.py | ||
dev_prompts.txt | ||
legacy_tests.sh | ||
test_config.py | ||
test_model_manager.py | ||
test_path.py | ||
validate_pr_prompt.txt |