Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix caching offers with GPU requirements (#2210)
Use `Requirements.json` instead of `Requirements.dict`+`json.dumps`, which fails on enums. Also remove `sort_keys=True`, which seems to be redundant. > field order is preserved by .dict() and .json() > etc. https://docs.pydantic.dev/1.10/usage/models/#field-ordering
- Loading branch information