Makes a few small changes which hopefully represent much of what's needed to move to pydantic v2.
since then some autogenerated code in util.slurm.models.py was added which is not pydantic 2 compatible, but datamodel-codegen claims to support pydantic v2 as well - @isikhar do you have an idea of whether updating this is as simple as regenerating it with different settings or if there is more that would need to be done?
Makes a few small changes which hopefully represent much of what's needed to move to pydantic v2.
since then some autogenerated code in
util.slurm.models.py
was added which is not pydantic 2 compatible, butdatamodel-codegen
claims to support pydantic v2 as well - @isikhar do you have an idea of whether updating this is as simple as regenerating it with different settings or if there is more that would need to be done?