minos.aggregate.models.refs.extractors module

class minos.aggregate.models.refs.extractors.ModelRefExtractor(value, type_=None, as_uuids=True)[source]

Bases: object

Model Reference Extractor class.

__init__(value, type_=None, as_uuids=True)[source]
build()[source]

Run the model reference extractor.

Return type

dict[str, set[uuid.UUID]]

Returns

A dictionary in which the keys are the class names and the values are the identifiers.