Skip to content

Commit 22e450d

Browse files
committed
PATCH: allow empty name in raw layers and raw materials
1 parent 8597421 commit 22e450d

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

bimdata_api_client/models/raw_layer.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,6 @@ def name(self, name):
106106
"""
107107
if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501
108108
raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
109-
if (self.local_vars_configuration.client_side_validation and
110-
name is not None and len(name) < 1):
111-
raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501
112109

113110
self._name = name
114111

bimdata_api_client/models/raw_material.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,6 @@ def name(self, name):
137137
"""
138138
if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501
139139
raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
140-
if (self.local_vars_configuration.client_side_validation and
141-
name is not None and len(name) < 1):
142-
raise ValueError("Invalid value for `name`, length must be greater than or equal to `1`") # noqa: E501
143140

144141
self._name = name
145142

0 commit comments

Comments
 (0)