I’m trying the first steps from the Materials Project API guide.
When I run the following lines from the tutorial:
from mp_api.client import MPRester
with MPRester() as mpr:
docs = mpr.materials.summary.search(
material_ids=["mp-149", "mp-13", "mp-22526"]
)
I get the following error:
TypeError: cannot specify both default and default_factory
Has anyone encountered this issue?
How can I fix it?