mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 02:23:34 +00:00
This commit is contained in:
@@ -30,6 +30,9 @@ templates: dict[str, "PsetQto"] = {}
|
||||
|
||||
|
||||
def get_template(schema: str) -> "PsetQto":
|
||||
"""
|
||||
:param schema: As in ``file.schema_identifier``, not ``file.schema``.
|
||||
"""
|
||||
global templates
|
||||
if schema not in templates:
|
||||
templates[schema] = PsetQto(schema)
|
||||
|
||||
Reference in New Issue
Block a user