drepr.models.parsers.v2#

Classes

ReprV2Parser()

The D-REPR language version 2 has similar to the schema of the first version.

class ReprV2Parser[source]#

Bases: object

The D-REPR language version 2 has similar to the schema of the first version.

Difference with previous features: 1. For spreadsheet columns, they can the letter instead of number 2. Semantic model configuration is changed to focus on classes

TOP_KEYWORDS = {'alignments', 'attributes', 'preprocessing', 'resources', 'semantic_model', 'version'}#
DEFAULT_RESOURCE_ID = 'default'#
classmethod parse(raw: dict)[source]#
Parameters:

raw (dict) –

classmethod dump(drepr: DRepr, simplify: bool = True, use_json_path: bool = False)[source]#
Parameters:

Modules