mapping¶
Mapping filter strategy.
MappingStrategy
¶
Strategy for a mapping.
The mapping strategy simply adds more prefixes and triples to the
prefixes
and triples
fields in the session such that they are
available for other strategies, like function strategies that convert
between data models.
Nothing is returned to avoid deleting existing mappings.
Registers strategies:
("mappingType", "triples")
Source code in oteapi/strategies/mapping/mapping.py
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
|
mapping_config: MappingConfig
instance-attribute
¶
get()
¶
Execute strategy and return a dictionary.
Source code in oteapi/strategies/mapping/mapping.py
52 53 54 |
|
initialize()
¶
Initialize strategy.
Source code in oteapi/strategies/mapping/mapping.py
45 46 47 48 49 50 |
|
MappingStrategyConfig
¶
Bases: AttrDict
AttrDict model for mappings.
Source code in oteapi/strategies/mapping/mapping.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
|