Skip to content

Commit cf0cd64

Browse files
committed
Merge branch 'feature_config_api_version' into dev
2 parents 288b1d9 + 1c05372 commit cf0cd64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tigeropen/quote/request/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def biz_model(self, value):
2626
def get_params(self):
2727
params = dict()
2828
params[P_METHOD] = self._method
29-
params[P_VERSION] = getattr(self.biz_model, P_VERSION)
29+
params[P_VERSION] = getattr(self.biz_model, P_VERSION, None)
3030

3131
if self.biz_model:
3232
params[P_BIZ_CONTENT] = json.dumps(obj=self.biz_model.to_openapi_dict(), ensure_ascii=False, sort_keys=True,

0 commit comments

Comments
 (0)