mp_api.client.routes.molecules.molecules.MoleculeRester¶
- class mp_api.client.routes.molecules.molecules.MoleculeRester(**kwargs)[source]¶
Bases:
CoreResterEnsure that sub resters are unset on re-init.
- __init__(**kwargs)¶
Ensure that sub resters are unset on re-init.
Methods
__init__(**kwargs)Ensure that sub resters are unset on re-init.
Database versions available for this collection's full dataset on S3.
count([criteria])Return a count of total documents.
get_data_by_id(document_id[, fields])Attributes
available_fieldsdelta_backedThe DeltaCatalog used for delta-backed queries, created on first use.
primary_keyuse delta_catalog.
s3_clientsessionsuffix- document_model¶
alias of
MoleculeDoc
- available_db_versions() list[str]¶
Database versions available for this collection’s full dataset on S3.
Read from the DeltaTable’s log, no data is downloaded. Any of these can be pinned with MPRester(db_version=…) to download that version of the dataset.
- property delta_catalog: DeltaCatalog¶
The DeltaCatalog used for delta-backed queries, created on first use.
- property query_builder: QueryBuilderWithCache¶
use delta_catalog.
- Type:
Deprecated