InvokeAI/invokeai/app/services/config
psychedelicious 6f128c86b4 tidy(config): use dataclass for MigrationEntry
The only pydantic usage was to convert strings to `Version` objects. The reason to do this conversion was to allow the register decorator to accept strings. MigrationEntry is only created inside this class, so we can just create versions from each migration when instantiating MigrationEntry instead.

Also, pydantic doesn't provide runtime time checking for arbitrary classes like Version, so we don't get any real benefit.
2024-04-23 17:19:54 +10:00
..
__init__.py refactor(config): simplified config 2024-03-19 09:24:28 +11:00
config_common.py refactor(config): simplified config 2024-03-19 09:24:28 +11:00
config_default.py add InvokeAIAppConfig schema migration system 2024-04-18 21:33:54 -04:00
config_migrate.py tidy(config): use dataclass for MigrationEntry 2024-04-23 17:19:54 +10:00