Skip to content

Commit

Permalink
Fix concept type (manusimidt#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
rossbowen committed Feb 11, 2025
1 parent a1a2445 commit 2d8ab0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbrl/taxonomy.py
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ def parse_taxonomy(schema_path: str, cache: HttpCache, imported_schema_uris : se
el_name: str = element.attrib['name']

concept = Concept(el_id, schema_url, el_name)
concept.type = element.attrib['type'] if 'type' in element.attrib else False
concept.concept_type = element.attrib['type'] if 'type' in element.attrib else None
concept.nillable = bool(element.attrib['nillable']) if 'nillable' in element.attrib else False
concept.abstract = bool(element.attrib['abstract']) if 'abstract' in element.attrib else False
type_attr_name = XBRLI_NS + 'periodType'
Expand Down

0 comments on commit 2d8ab0e

Please sign in to comment.