Open chiang-yuan opened 10 months ago
Unfortunately, this has not been implemented yet. Since it is not a ton of data, I would suggest just pulling it all and filtering locally for now. Note that this endpoint is going to get overhauled very soon with a batch of new data.
Thanks @munrojm ! Actually get_data_from_id
endpoint works (at least for one entry retrieval), by feeding material_id
into document_id
argument.
Email (Optional)
No response
Version
0.33.3
Which OS(es) are you using?
What happened?
I am attempting to access
ElasticityDoc
bymaterial_id
that is bound to the computed entry on MP database. Following the example in the Elastic Constant section on MP website will give error of unexpected keyword argument.Is there specific reason why we can only access Elasticity Doc by
task_id
but notmaterial_id
? (get_by_key_materials_elasticitytaskidget) Accessing it throughtask_id
is also not straightforward since we need to go through all thetask_id
s bound to certain materials and examine which is the one used for creatingElasticityDoc
.It would be extremely helpful if we can access multiple ElasticityDoc through
material_id
ormaterial_ids
.Code snippet
Log output
Code of Conduct