Skip to content

Commit aff95c8

Browse files
committed
fix: bug fix for swagger
1 parent bc2ed8c commit aff95c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

volcenginesdkcore/api_client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,8 @@ def __deserialize_model(self, data, klass, service):
655655
isinstance(data, (list, dict))):
656656
value = data[klass.attribute_map[attr]]
657657
kwargs[attr] = self.__deserialize(value, attr_type, service)
658-
658+
# support pass configuration
659+
kwargs['_configuration'] = self.configuration
659660
instance = klass(**kwargs)
660661

661662
if (isinstance(instance, dict) and

0 commit comments

Comments
 (0)