geolib.models.dsettlement.dsettlement_structures

Classes

ComplexVerticalSubstructure(*args)

Specific Vertical substructure with a dedicated parser because of the oddities stored in that group.

DSerieRepeatedTableStructure(*args)

class geolib.models.dsettlement.dsettlement_structures.ComplexVerticalSubstructure(*args)

Specific Vertical substructure with a dedicated parser because of the oddities stored in that group.

class geolib.models.dsettlement.dsettlement_structures.DSerieRepeatedTableStructure(*args)
static get_mapped_group(column_list, group_line)

Based on the input column and the group line, generates a list of dictionary entries which are mapped to the first element of the group line.

Parameters:
  • column_list (List[str]) – List of columns to map.

  • group_line (str) – Content containing id of dictionary and list values.

Returns:

Generated mapped group.

Return type:

Dict[str, List[Dict[str, str]]]

classmethod get_validated_mappings(generated_dict)

Transforms the generated dict from the parent into our own mapping.

Parameters:

generated_dict (Dict[str, str]) – Parsed dictionary from parent.

Returns:

Mapped dictionary with concrete properties.

Return type:

Dict[str, str]

classmethod group_value_is_list(group_key)

Override of parent method. Only the columns are not a list.

Parameters:

group_key (str) – Property name.

Returns:

Whether the key represents a list of values or not.

Return type:

bool