Skip to content

Refactor metadata to use dataclass hierarchy #66

@dwikler

Description

@dwikler

Title:
Refactor SpecModel metadata to use a dataclass hierarchy (BaseMetadata, TableMetadata)

Description:

  • Introduce dataclasses for metadata.
  • Refactor all code that creates, sets, or accesses metadata to use these dataclasses instead of anytree.Node.
  • Update DOMTableSpecParser.parse_metadata and all model constructors to use the new dataclasses.
  • Update all usages and tests accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking changeChange that breaks backward compatibilityenhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions