ogd.core.generators.legacy package
Submodules
ogd.core.generators.legacy.LegacyDetector module
- class ogd.core.generators.legacy.LegacyDetector.LegacyDetector(params: GeneratorParameters)[source]
Bases:
DetectorDummy version of a detector, so that LegacyLoader can return something that’s not None.
ogd.core.generators.legacy.LegacyFeature module
- class ogd.core.generators.legacy.LegacyFeature.LegacyFeature(params: GeneratorParameters, game_schema: GameSchema, session_id: str)[source]
Bases:
Extractor- GetFeatureNames() List[str][source]
Base function to get a list of names of the feature(s) a given Feature class outputs. By default, a Feature class just generates one value, and uses its own name (defined in the schema.json file). If Subfeatures was overridden, and returns a non-empty list, there will be additional feature names in the list this function returns. Each subfeature will have the base feature’s name as a prefix.
- Returns:
[description]
- Return type:
List[str]
ogd.core.generators.legacy.LegacyLoader module
Module contents
Initializer for legacy feature base classes