Skip to content

init

LciaDb

Bases: Qdb

Augments the Qdb with an LciaEngine instead of a TermManager

__getitem__(item)

Note: this user-friendliness check adds 20% to the execution time of getitem-- so avoid it if possible (use _get_entity directly -- especially now that upstream is now deprecated) (note that _get_entity does not get contexts)

Parameters:

Name Type Description Default
item
required

Returns:

Type Description

add(entity)

Add entity to archive, by link instead of external ref. If the entity has a uuid and uuid does not already exist, add it. If the UUID does already exist, warn.

Parameters:

Name Type Description Default
entity
required

Returns:

Type Description