mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
replace settings=None with {}
This commit is contained in:
@@ -2,7 +2,7 @@ import ifcopenshell
|
||||
|
||||
|
||||
class Usecase:
|
||||
def __init__(self, file, settings=None):
|
||||
def __init__(self, file, settings={}):
|
||||
self.file = file
|
||||
self.settings = {"product": None}
|
||||
for key, value in settings.items():
|
||||
|
||||
@@ -3,7 +3,7 @@ from ifcopenshell.api.owner.api import create_owner_history
|
||||
|
||||
|
||||
class Usecase:
|
||||
def __init__(self, file, settings=None):
|
||||
def __init__(self, file, settings={}):
|
||||
self.file = file
|
||||
self.settings = {
|
||||
"ifc_class": "IfcBuildingElementProxy",
|
||||
|
||||
@@ -3,7 +3,7 @@ import ifcopenshell.util.schema
|
||||
|
||||
|
||||
class Usecase:
|
||||
def __init__(self, file, settings=None):
|
||||
def __init__(self, file, settings={}):
|
||||
self.file = file
|
||||
self.settings = {
|
||||
"product": None,
|
||||
|
||||
@@ -3,7 +3,7 @@ import ifcopenshell.api.geometry.remove_representation as remove_representation
|
||||
|
||||
|
||||
class Usecase:
|
||||
def __init__(self, file, settings=None):
|
||||
def __init__(self, file, settings={}):
|
||||
self.file = file
|
||||
self.settings = {"product": None}
|
||||
for key, value in settings.items():
|
||||
|
||||
Reference in New Issue
Block a user