Skip to content

Mismatched concept_type and type Concept attributes #153

Description

@rossbowen

Describe the bug

A small one - but the Concept class defines an attribute called concept_type but parse_taxonomy() sets type instead.

Happy to submit a PR but unsure of whether to converge on concept_type or type.

self.concept_type: str or None = None

py-xbrl/xbrl/taxonomy.py

Lines 676 to 677 in 16c555c

concept = Concept(el_id, schema_url, el_name)
concept.type = element.attrib['type'] if 'type' in element.attrib else False

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions