mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-19 03:13:01 +08:00
677 B
677 B
- Anytime you make a change to the data being sent or received, you should follow this process:
- Adjust the openapi.yaml file first
- Verify the syntax of the openapi.yaml file using
yaml.safe_load - Regenerate the types following the instructions in the
data_models/README.mdfile - Verify the new data model is generated
- Verify the syntax of the generated types files
- Run formatting and linting on the generated types files
- Adjust the
__init__.pyfiles in thedata_modelsdirectory to match/export the new data model - Only then, make the changes to the rest of the codebase
- Run the CI tests to verify that the changes are working