Entities not persisted are to be defined here.
Entities to be used with an overlay on Operation or DataType, are defined here.
Bases: tvb.basic.config.utils.EnhancedDictionary
Enhanced dictionary holding details about an entity. It also contains metadata on how this details will be displayed in UI (disabled/readonly/hidden input field).
:param extra_fields_dict a dictionary of fields to be added in a distinct category.
Compute Operation display name, based on Operation Category and Algorithm.
Bases: tvb.core.entities.transient.context_overlay.CommonDetails
Entity used for displaying in an overlay details about a DataType.
Bases: tvb.core.entities.transient.context_overlay.CommonDetails
Entity used for displaying in an overlay details about an operation.
Bases: builtins.dict
This object will be populated from meta-data stored on a particular DataType/Operation. It should contain enough information, to restore a DataType entity, without DB previous data required.
Contains all the attributes by which the user can structure the tree of DataTypes.
All the returned attributes should exists into the ‘data’ field of its corresponding DataTypeMetaData object.
Bases: builtins.object
This entity represents a node in the Tree of a Project related Structure.
Return TRUE when current node is with Child nodes. Return FALSE when current node is a leaf in Tree.
Take a list of DataTypeMetaData entities as input. Create a tree of StructureNode entities, then convert it in JSON to display in UI.
first_level and second_level represents the fields by which should be structured the tree. Those fields should exists into the data dict of each DataTypeMetaData object.