You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds a new testing.py module that contains a suite of tests for values, arrays, and recursive structures such as dictionaries. Also includes enhancements to module load speed (currently 200ms).
Update models to be compatible with QCFractal and MongoDB objects in the QCArchive Ecosystem.
Also enhances the Molecule model's json function to accept as_dict=bool keyword, permitting a return as a dictionary of Pydantic-serialized python (primitive) objects, instead of a json-compatible string
Ensure json encoders are passed through qcelemental
Pydantic does not carry the json_encoders up through nested BaseModels,
this becomes an issue on the QCEngine side when casting the Pydantic
objects to JSON objects.
This also adds tests to the ensure serialization is consistent