Remove pydantic_forms.types imports
In #308 the pydantic-forms library was added as a dependency, and form types in orchestrator-core were removed. To remain backwards compatible we import most of pydantic_forms.types in orchestrator.types.
These imports should be removed, and a migration script should be added to rewrite the imports in orchestrator implementations. For this script one can take a look at the migrate_pydantic_2x.py script which performs similar rewrite actions.
Tasks
- [ ] Remove pydantic_forms imports in
orchestrator.formsthat are not used in core - [ ] Add a migration script for orchestrator implementors
This should be deprecated and removed in release 2.1.*
This should not be a lot of work and saves some confusion when looking for where these form types are defined. (ran into this myself the other day)
https://git.ia.surfsara.nl/netdev/automation/projects/orchestrator/-/issues/2251