Skip to content
Back to top
View this page

# KeyHelper

class dsviper.KeyHelper

  Bases: `object`

  A class used to collect keys, attachments and missing attachments for a key.

  Note: Not directly instantiable.

  static attachments(type: Type, definitions: DefinitionsConst) → list[Attachment]

    Return a list of attachments.

  static collect_keys(type_key: TypeKey, attachment_getting: AttachmentGetting) → ValueSet

    Return a set of key.

  static missing_attachments(key: ValueKey, attachment_getting: AttachmentGetting) → list[Attachment]

    Return the list of missing attachments.