mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 10:33:20 +00:00
Quality check - run black on api/resource
This commit is contained in:
@@ -50,5 +50,10 @@ class Usecase:
|
||||
)
|
||||
else:
|
||||
context = self.file.by_type("IfcContext")[0]
|
||||
ifcopenshell.api.run("project.assign_declaration", self.file, definition=resource, relating_context=context)
|
||||
ifcopenshell.api.run(
|
||||
"project.assign_declaration",
|
||||
self.file,
|
||||
definition=resource,
|
||||
relating_context=context,
|
||||
)
|
||||
return resource
|
||||
|
||||
Reference in New Issue
Block a user