mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
IfcOpenShell API now uses kwargs to improve user syntax. See #1399.
This commit is contained in:
@@ -2,7 +2,7 @@ import ifcopenshell.util.schema
|
||||
|
||||
|
||||
class Usecase:
|
||||
def __init__(self, file, settings={}):
|
||||
def __init__(self, file, **settings):
|
||||
self.file = file
|
||||
self.settings = {"reference": None, "product": None}
|
||||
for key, value in settings.items():
|
||||
|
||||
Reference in New Issue
Block a user