Miscellaneous types#

Here is the list of typing.TypeVar and typing.Generic types used in the library.

cbclib.data_container.D = TypeVar(D, bound=DataContainer)#

Invariant TypeVar bound to cbclib.data_container.DataContainer.

class cbclib.data_container.ReferenceType(o: T, callback: Optional[Callable[[ReferenceType[T]], Any]] = Ellipsis)[source]#

The type object for weak references objects.

cbclib.data_processing.C = TypeVar(C, bound=CrystData)#

Invariant TypeVar bound to cbclib.data_processing.CrystData.

cbclib.data_processing.D = TypeVar(D, bound=Detector)#

Invariant TypeVar bound to cbclib.data_processing.Detector.

cbclib.data_container.I = TypeVar(I, bound=INIContainer)#

Invariant TypeVar bound to cbclib.data_container.INIContainer.

cbclib.log_protocol.L = TypeVar(L, bound=LogContainer)#

Invariant TypeVar bound to cbclib.log_protocol.LogContainer.