DefinitionsMapper

class dsviper.DefinitionsMapper(source_definitions, target_definitions)

Bases: object

A class use for INTERNAL DEVELOPMENT.

attachment(attachment: Attachment) Attachment

Return the mapped attachment.

source() DefinitionsConst

Return the source.

target() DefinitionsConst

Return the target.

type(type: Type) Type

Return the mapped type.

value(value: Value) Value

Return the mapped value.