File tree Expand file tree Collapse file tree 4 files changed +10
-4
lines changed
Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 2727 needs : detect-clients
2828 runs-on : ubuntu-latest
2929 strategy :
30- max-parallel : 3
30+ max-parallel : 2
3131 matrix :
3232 client : ${{ fromJson(needs.detect-clients.outputs.clients) }}
3333 steps :
Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 3.2.0 - 2025-10-10
4+
5+ ### Changed (1)
6+
7+ - Fixed issue with response model deserialization in ` send_request ` function in ` utils.py ` .
8+
39## 3.1.1 - 2025-09-16
410
511### Changed (1)
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " binance-common"
3- version = " 3.1.1 "
3+ version = " 3.2.0 "
44description = " Binance Common Types and Utilities for Binance Connectors"
55authors = [" Binance" ]
66license = " MIT"
Original file line number Diff line number Diff line change @@ -387,13 +387,13 @@ def send_request(
387387 )
388388 if (is_list and not is_flat_list ) or not response_model :
389389 data_function = lambda : parsed
390- elif is_oneof or is_list :
390+ elif is_oneof or is_list or hasattr ( response_model , "from_dict" ) :
391391 data_function = lambda : response_model .from_dict (parsed )
392392 else :
393393 data_function = lambda : response_model .model_validate (parsed )
394394
395395 try :
396- data_function ()
396+ data_function ()
397397 final_data_function = data_function
398398 except Exception :
399399 final_data_function = lambda : parsed
You can’t perform that action at this time.
0 commit comments