KIF_ObjectSet
- class KIF_ObjectSet(*args: Any)[source]
Bases:
KIF_Object
,Generic
[_TObj
]Set of KIF objects.
- Parameters:
objects – KIF objects.
- classmethod check(arg: Any, function: Callable[[...], Any] | str | None = None, name: str | None = None, position: int | None = None) Self [source]
Coerces arg into an instance of this class.
If arg cannot be coerced, raises an error.
- Parameters:
arg – Value.
function – Function or function name.
name – Argument name.
position – Argument position.
- Returns:
Object.
- class ValueSet(*values: TValue)[source]
Bases:
KIF_ObjectSet
[Value
]Set of values.
- Parameters:
values – Values.
- class SnakSet(*snaks: Snak)[source]
Bases:
KIF_ObjectSet
[Snak
]Set of snaks.
- Parameters:
snaks – Snaks.
- class ReferenceRecordSet(*reference_records: TReferenceRecord)[source]
Bases:
KIF_ObjectSet
[ReferenceRecord
]Set of reference records.
- Parameters:
reference_records – Reference records.
- children_class
alias of
ReferenceRecord
- class AnnotationRecordSet(*annotation_records: AnnotationRecord)[source]
Bases:
KIF_ObjectSet
[AnnotationRecord
]Set of annotation records.
- Parameters:
annotation_records – Annotation records.
- children_class
alias of
AnnotationRecord
- __init__(*annotation_records: AnnotationRecord) None [source]