DefinitionsExtendInfo

class dsviper.DefinitionsExtendInfo

Bases: object

The runtime ids an extension added: what Definitions.extend or a database’s extend_definitions gained from the definitions it was given, and what a synchronization added (CommitSynchronizerInfo.extend_info).

Per kind, plus the memberships between them and a count of the whole. Resolve an id through the target’s DefinitionsConst - check_concept, check_structure and their siblings.

Note: Not directly instantiable.

attachment_runtime_ids() → set[ValueUUId]

Return the set of runtime ID for all added attachments.

club_runtime_ids() → set[ValueUUId]

Return the set of runtime ID for all added clubs.

concept_runtime_ids() → set[ValueUUId]

Return the set of runtime ID for all added concepts.

count() → int

Return the count of added definitions.

enumeration_runtime_ids() → set[ValueUUId]

Return the set of runtime ID for all added enumerations.

memberships() → dict[ValueUUId, set[ValueUUId]]

Return the concepts enrolled into a club the target already held, keyed by the club’s runtime ID - a dict[uuid, set[uuid]]. A club that was added arrives with its own members, and club_runtime_ids names it.

structure_runtime_ids() → set[ValueUUId]

Return the set of runtime ID for all added structures.