anyvar.storage.no_db
Stateless storage implementation (no persistence).
Use for processing-only deployments (e.g., variation translation, VCF annotation); writes are discarded and reads always miss.
- class anyvar.storage.no_db.NoObjectStore(*args, **kwargs)[source]
Storage backend that does not persistently store any data.
- add_psq_catvar(psq)[source]
(No-op) Add a Protein Sequence Consequence Categorical Variant
- Return type:
None
- delete_extensions(object_id, name=None, value=None)[source]
(No-op) Delete extension(s) for an object
- Return type:
int
- delete_objects(object_type, object_ids)[source]
(No-op) Delete all objects of a specific type from storage.
- Return type:
None
- get_ca_catvar(ca_id)[source]
(No-op) Fetch a Canonical Allele categorical variant by ID
- Return type:
CanonicalAllele|None
- get_catvars_by_allele_ids(allele_ids)[source]
(No-op) Return all CA and PSQ categorical variants for the given alleles.
- Return type:
- get_extensions(object_id, extension_name=None)[source]
(No-op) Get all extensions for the specified object, optionally filtered by type.
- Return type:
list[Extension]
- get_mappings(object_id, as_source, mapping_type=None)[source]
(No-op) Return an iterable of mappings from the source ID
- Return type:
Iterable[VariationMapping]
- get_objects(object_type, object_ids)[source]
(No-op) Retrieve multiple VRS objects from storage by their IDs.
- Return type:
Iterable[Allele|SequenceLocation|SequenceReference]
- get_psq_catvar(psq_id)[source]
(No-op) Fetch a Protein Sequence Consequence categorical variant by ID
- Return type:
ProteinSequenceConsequence|None