compass_api_sdk 0.9.40__py3-none-any.whl → 0.9.42__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of compass_api_sdk might be problematic. Click here for more details.

compass_api_sdk/sky.py CHANGED
@@ -4,6 +4,7 @@ from .basesdk import BaseSDK
4
4
  from compass_api_sdk import errors, models, utils
5
5
  from compass_api_sdk._hooks import HookContext
6
6
  from compass_api_sdk.types import OptionalNullable, UNSET
7
+ from compass_api_sdk.utils.unmarshal_json_response import unmarshal_json_response
7
8
  from typing import Any, Mapping, Optional, Union
8
9
 
9
10
 
@@ -80,11 +81,9 @@ class Sky(BaseSDK):
80
81
 
81
82
  response_data: Any = None
82
83
  if utils.match_response(http_res, "200", "application/json"):
83
- return utils.unmarshal_json_response(
84
- models.SkyCheckPositionResponse, http_res
85
- )
84
+ return unmarshal_json_response(models.SkyCheckPositionResponse, http_res)
86
85
  if utils.match_response(http_res, "422", "application/json"):
87
- response_data = utils.unmarshal_json_response(
86
+ response_data = unmarshal_json_response(
88
87
  errors.HTTPValidationErrorData, http_res
89
88
  )
90
89
  raise errors.HTTPValidationError(response_data, http_res)
@@ -169,11 +168,9 @@ class Sky(BaseSDK):
169
168
 
170
169
  response_data: Any = None
171
170
  if utils.match_response(http_res, "200", "application/json"):
172
- return utils.unmarshal_json_response(
173
- models.SkyCheckPositionResponse, http_res
174
- )
171
+ return unmarshal_json_response(models.SkyCheckPositionResponse, http_res)
175
172
  if utils.match_response(http_res, "422", "application/json"):
176
- response_data = utils.unmarshal_json_response(
173
+ response_data = unmarshal_json_response(
177
174
  errors.HTTPValidationErrorData, http_res
178
175
  )
179
176
  raise errors.HTTPValidationError(response_data, http_res)
@@ -273,9 +270,9 @@ class Sky(BaseSDK):
273
270
 
274
271
  response_data: Any = None
275
272
  if utils.match_response(http_res, "200", "application/json"):
276
- return utils.unmarshal_json_response(models.TxResponse, http_res)
273
+ return unmarshal_json_response(models.TxResponse, http_res)
277
274
  if utils.match_response(http_res, "422", "application/json"):
278
- response_data = utils.unmarshal_json_response(
275
+ response_data = unmarshal_json_response(
279
276
  errors.HTTPValidationErrorData, http_res
280
277
  )
281
278
  raise errors.HTTPValidationError(response_data, http_res)
@@ -375,9 +372,9 @@ class Sky(BaseSDK):
375
372
 
376
373
  response_data: Any = None
377
374
  if utils.match_response(http_res, "200", "application/json"):
378
- return utils.unmarshal_json_response(models.TxResponse, http_res)
375
+ return unmarshal_json_response(models.TxResponse, http_res)
379
376
  if utils.match_response(http_res, "422", "application/json"):
380
- response_data = utils.unmarshal_json_response(
377
+ response_data = unmarshal_json_response(
381
378
  errors.HTTPValidationErrorData, http_res
382
379
  )
383
380
  raise errors.HTTPValidationError(response_data, http_res)
@@ -479,9 +476,9 @@ class Sky(BaseSDK):
479
476
 
480
477
  response_data: Any = None
481
478
  if utils.match_response(http_res, "200", "application/json"):
482
- return utils.unmarshal_json_response(models.TxResponse, http_res)
479
+ return unmarshal_json_response(models.TxResponse, http_res)
483
480
  if utils.match_response(http_res, "422", "application/json"):
484
- response_data = utils.unmarshal_json_response(
481
+ response_data = unmarshal_json_response(
485
482
  errors.HTTPValidationErrorData, http_res
486
483
  )
487
484
  raise errors.HTTPValidationError(response_data, http_res)
@@ -583,9 +580,9 @@ class Sky(BaseSDK):
583
580
 
584
581
  response_data: Any = None
585
582
  if utils.match_response(http_res, "200", "application/json"):
586
- return utils.unmarshal_json_response(models.TxResponse, http_res)
583
+ return unmarshal_json_response(models.TxResponse, http_res)
587
584
  if utils.match_response(http_res, "422", "application/json"):
588
- response_data = utils.unmarshal_json_response(
585
+ response_data = unmarshal_json_response(
589
586
  errors.HTTPValidationErrorData, http_res
590
587
  )
591
588
  raise errors.HTTPValidationError(response_data, http_res)
@@ -683,9 +680,9 @@ class Sky(BaseSDK):
683
680
 
684
681
  response_data: Any = None
685
682
  if utils.match_response(http_res, "200", "application/json"):
686
- return utils.unmarshal_json_response(models.TxResponse, http_res)
683
+ return unmarshal_json_response(models.TxResponse, http_res)
687
684
  if utils.match_response(http_res, "422", "application/json"):
688
- response_data = utils.unmarshal_json_response(
685
+ response_data = unmarshal_json_response(
689
686
  errors.HTTPValidationErrorData, http_res
690
687
  )
691
688
  raise errors.HTTPValidationError(response_data, http_res)
@@ -783,9 +780,9 @@ class Sky(BaseSDK):
783
780
 
784
781
  response_data: Any = None
785
782
  if utils.match_response(http_res, "200", "application/json"):
786
- return utils.unmarshal_json_response(models.TxResponse, http_res)
783
+ return unmarshal_json_response(models.TxResponse, http_res)
787
784
  if utils.match_response(http_res, "422", "application/json"):
788
- response_data = utils.unmarshal_json_response(
785
+ response_data = unmarshal_json_response(
789
786
  errors.HTTPValidationErrorData, http_res
790
787
  )
791
788
  raise errors.HTTPValidationError(response_data, http_res)
@@ -879,9 +876,9 @@ class Sky(BaseSDK):
879
876
 
880
877
  response_data: Any = None
881
878
  if utils.match_response(http_res, "200", "application/json"):
882
- return utils.unmarshal_json_response(models.TxResponse, http_res)
879
+ return unmarshal_json_response(models.TxResponse, http_res)
883
880
  if utils.match_response(http_res, "422", "application/json"):
884
- response_data = utils.unmarshal_json_response(
881
+ response_data = unmarshal_json_response(
885
882
  errors.HTTPValidationErrorData, http_res
886
883
  )
887
884
  raise errors.HTTPValidationError(response_data, http_res)
@@ -975,9 +972,9 @@ class Sky(BaseSDK):
975
972
 
976
973
  response_data: Any = None
977
974
  if utils.match_response(http_res, "200", "application/json"):
978
- return utils.unmarshal_json_response(models.TxResponse, http_res)
975
+ return unmarshal_json_response(models.TxResponse, http_res)
979
976
  if utils.match_response(http_res, "422", "application/json"):
980
- response_data = utils.unmarshal_json_response(
977
+ response_data = unmarshal_json_response(
981
978
  errors.HTTPValidationErrorData, http_res
982
979
  )
983
980
  raise errors.HTTPValidationError(response_data, http_res)
@@ -4,6 +4,7 @@ from .basesdk import BaseSDK
4
4
  from compass_api_sdk import errors, models, utils
5
5
  from compass_api_sdk._hooks import HookContext
6
6
  from compass_api_sdk.types import OptionalNullable, UNSET
7
+ from compass_api_sdk.utils.unmarshal_json_response import unmarshal_json_response
7
8
  from typing import Any, List, Mapping, Optional, Union
8
9
 
9
10
 
@@ -91,11 +92,11 @@ class SmartAccount(BaseSDK):
91
92
 
92
93
  response_data: Any = None
93
94
  if utils.match_response(http_res, "200", "application/json"):
94
- return utils.unmarshal_json_response(
95
+ return unmarshal_json_response(
95
96
  models.BatchedUserOperationsResponse, http_res
96
97
  )
97
98
  if utils.match_response(http_res, "422", "application/json"):
98
- response_data = utils.unmarshal_json_response(
99
+ response_data = unmarshal_json_response(
99
100
  errors.HTTPValidationErrorData, http_res
100
101
  )
101
102
  raise errors.HTTPValidationError(response_data, http_res)
@@ -191,11 +192,11 @@ class SmartAccount(BaseSDK):
191
192
 
192
193
  response_data: Any = None
193
194
  if utils.match_response(http_res, "200", "application/json"):
194
- return utils.unmarshal_json_response(
195
+ return unmarshal_json_response(
195
196
  models.BatchedUserOperationsResponse, http_res
196
197
  )
197
198
  if utils.match_response(http_res, "422", "application/json"):
198
- response_data = utils.unmarshal_json_response(
199
+ response_data = unmarshal_json_response(
199
200
  errors.HTTPValidationErrorData, http_res
200
201
  )
201
202
  raise errors.HTTPValidationError(response_data, http_res)
@@ -4,6 +4,7 @@ from .basesdk import BaseSDK
4
4
  from compass_api_sdk import errors, models, utils
5
5
  from compass_api_sdk._hooks import HookContext
6
6
  from compass_api_sdk.types import OptionalNullable, UNSET
7
+ from compass_api_sdk.utils.unmarshal_json_response import unmarshal_json_response
7
8
  from typing import Any, Mapping, Optional, Union
8
9
 
9
10
 
@@ -83,9 +84,9 @@ class TokenSDK(BaseSDK):
83
84
 
84
85
  response_data: Any = None
85
86
  if utils.match_response(http_res, "200", "application/json"):
86
- return utils.unmarshal_json_response(models.TokenAddressResponse, http_res)
87
+ return unmarshal_json_response(models.TokenAddressResponse, http_res)
87
88
  if utils.match_response(http_res, "422", "application/json"):
88
- response_data = utils.unmarshal_json_response(
89
+ response_data = unmarshal_json_response(
89
90
  errors.HTTPValidationErrorData, http_res
90
91
  )
91
92
  raise errors.HTTPValidationError(response_data, http_res)
@@ -173,9 +174,9 @@ class TokenSDK(BaseSDK):
173
174
 
174
175
  response_data: Any = None
175
176
  if utils.match_response(http_res, "200", "application/json"):
176
- return utils.unmarshal_json_response(models.TokenAddressResponse, http_res)
177
+ return unmarshal_json_response(models.TokenAddressResponse, http_res)
177
178
  if utils.match_response(http_res, "422", "application/json"):
178
- response_data = utils.unmarshal_json_response(
179
+ response_data = unmarshal_json_response(
179
180
  errors.HTTPValidationErrorData, http_res
180
181
  )
181
182
  raise errors.HTTPValidationError(response_data, http_res)
@@ -270,9 +271,9 @@ class TokenSDK(BaseSDK):
270
271
 
271
272
  response_data: Any = None
272
273
  if utils.match_response(http_res, "200", "application/json"):
273
- return utils.unmarshal_json_response(models.TokenPriceResponse, http_res)
274
+ return unmarshal_json_response(models.TokenPriceResponse, http_res)
274
275
  if utils.match_response(http_res, "422", "application/json"):
275
- response_data = utils.unmarshal_json_response(
276
+ response_data = unmarshal_json_response(
276
277
  errors.HTTPValidationErrorData, http_res
277
278
  )
278
279
  raise errors.HTTPValidationError(response_data, http_res)
@@ -367,9 +368,9 @@ class TokenSDK(BaseSDK):
367
368
 
368
369
  response_data: Any = None
369
370
  if utils.match_response(http_res, "200", "application/json"):
370
- return utils.unmarshal_json_response(models.TokenPriceResponse, http_res)
371
+ return unmarshal_json_response(models.TokenPriceResponse, http_res)
371
372
  if utils.match_response(http_res, "422", "application/json"):
372
- response_data = utils.unmarshal_json_response(
373
+ response_data = unmarshal_json_response(
373
374
  errors.HTTPValidationErrorData, http_res
374
375
  )
375
376
  raise errors.HTTPValidationError(response_data, http_res)
@@ -460,9 +461,9 @@ class TokenSDK(BaseSDK):
460
461
 
461
462
  response_data: Any = None
462
463
  if utils.match_response(http_res, "200", "application/json"):
463
- return utils.unmarshal_json_response(models.TokenBalanceResponse, http_res)
464
+ return unmarshal_json_response(models.TokenBalanceResponse, http_res)
464
465
  if utils.match_response(http_res, "422", "application/json"):
465
- response_data = utils.unmarshal_json_response(
466
+ response_data = unmarshal_json_response(
466
467
  errors.HTTPValidationErrorData, http_res
467
468
  )
468
469
  raise errors.HTTPValidationError(response_data, http_res)
@@ -553,9 +554,9 @@ class TokenSDK(BaseSDK):
553
554
 
554
555
  response_data: Any = None
555
556
  if utils.match_response(http_res, "200", "application/json"):
556
- return utils.unmarshal_json_response(models.TokenBalanceResponse, http_res)
557
+ return unmarshal_json_response(models.TokenBalanceResponse, http_res)
557
558
  if utils.match_response(http_res, "422", "application/json"):
558
- response_data = utils.unmarshal_json_response(
559
+ response_data = unmarshal_json_response(
559
560
  errors.HTTPValidationErrorData, http_res
560
561
  )
561
562
  raise errors.HTTPValidationError(response_data, http_res)
@@ -660,9 +661,9 @@ class TokenSDK(BaseSDK):
660
661
 
661
662
  response_data: Any = None
662
663
  if utils.match_response(http_res, "200", "application/json"):
663
- return utils.unmarshal_json_response(models.TxResponse, http_res)
664
+ return unmarshal_json_response(models.TxResponse, http_res)
664
665
  if utils.match_response(http_res, "422", "application/json"):
665
- response_data = utils.unmarshal_json_response(
666
+ response_data = unmarshal_json_response(
666
667
  errors.HTTPValidationErrorData, http_res
667
668
  )
668
669
  raise errors.HTTPValidationError(response_data, http_res)
@@ -767,9 +768,9 @@ class TokenSDK(BaseSDK):
767
768
 
768
769
  response_data: Any = None
769
770
  if utils.match_response(http_res, "200", "application/json"):
770
- return utils.unmarshal_json_response(models.TxResponse, http_res)
771
+ return unmarshal_json_response(models.TxResponse, http_res)
771
772
  if utils.match_response(http_res, "422", "application/json"):
772
- response_data = utils.unmarshal_json_response(
773
+ response_data = unmarshal_json_response(
773
774
  errors.HTTPValidationErrorData, http_res
774
775
  )
775
776
  raise errors.HTTPValidationError(response_data, http_res)
@@ -4,6 +4,7 @@ from .basesdk import BaseSDK
4
4
  from compass_api_sdk import errors, models, utils
5
5
  from compass_api_sdk._hooks import HookContext
6
6
  from compass_api_sdk.types import OptionalNullable, UNSET
7
+ from compass_api_sdk.utils.unmarshal_json_response import unmarshal_json_response
7
8
  from typing import Any, List, Mapping, Optional, Union
8
9
 
9
10
 
@@ -91,11 +92,11 @@ class TransactionBundler(BaseSDK):
91
92
 
92
93
  response_data: Any = None
93
94
  if utils.match_response(http_res, "200", "application/json"):
94
- return utils.unmarshal_json_response(
95
+ return unmarshal_json_response(
95
96
  models.MulticallAuthorizationResponse, http_res
96
97
  )
97
98
  if utils.match_response(http_res, "422", "application/json"):
98
- response_data = utils.unmarshal_json_response(
99
+ response_data = unmarshal_json_response(
99
100
  errors.HTTPValidationErrorData, http_res
100
101
  )
101
102
  raise errors.HTTPValidationError(response_data, http_res)
@@ -191,11 +192,11 @@ class TransactionBundler(BaseSDK):
191
192
 
192
193
  response_data: Any = None
193
194
  if utils.match_response(http_res, "200", "application/json"):
194
- return utils.unmarshal_json_response(
195
+ return unmarshal_json_response(
195
196
  models.MulticallAuthorizationResponse, http_res
196
197
  )
197
198
  if utils.match_response(http_res, "422", "application/json"):
198
- response_data = utils.unmarshal_json_response(
199
+ response_data = unmarshal_json_response(
199
200
  errors.HTTPValidationErrorData, http_res
200
201
  )
201
202
  raise errors.HTTPValidationError(response_data, http_res)
@@ -302,11 +303,11 @@ class TransactionBundler(BaseSDK):
302
303
 
303
304
  response_data: Any = None
304
305
  if utils.match_response(http_res, "200", "application/json"):
305
- return utils.unmarshal_json_response(
306
+ return unmarshal_json_response(
306
307
  models.UnsignedMulticallTransaction, http_res
307
308
  )
308
309
  if utils.match_response(http_res, "422", "application/json"):
309
- response_data = utils.unmarshal_json_response(
310
+ response_data = unmarshal_json_response(
310
311
  errors.HTTPValidationErrorData, http_res
311
312
  )
312
313
  raise errors.HTTPValidationError(response_data, http_res)
@@ -413,11 +414,11 @@ class TransactionBundler(BaseSDK):
413
414
 
414
415
  response_data: Any = None
415
416
  if utils.match_response(http_res, "200", "application/json"):
416
- return utils.unmarshal_json_response(
417
+ return unmarshal_json_response(
417
418
  models.UnsignedMulticallTransaction, http_res
418
419
  )
419
420
  if utils.match_response(http_res, "422", "application/json"):
420
- response_data = utils.unmarshal_json_response(
421
+ response_data = unmarshal_json_response(
421
422
  errors.HTTPValidationErrorData, http_res
422
423
  )
423
424
  raise errors.HTTPValidationError(response_data, http_res)
@@ -547,11 +548,11 @@ class TransactionBundler(BaseSDK):
547
548
 
548
549
  response_data: Any = None
549
550
  if utils.match_response(http_res, "200", "application/json"):
550
- return utils.unmarshal_json_response(
551
+ return unmarshal_json_response(
551
552
  models.UnsignedMulticallTransaction, http_res
552
553
  )
553
554
  if utils.match_response(http_res, "422", "application/json"):
554
- response_data = utils.unmarshal_json_response(
555
+ response_data = unmarshal_json_response(
555
556
  errors.HTTPValidationErrorData, http_res
556
557
  )
557
558
  raise errors.HTTPValidationError(response_data, http_res)
@@ -681,11 +682,11 @@ class TransactionBundler(BaseSDK):
681
682
 
682
683
  response_data: Any = None
683
684
  if utils.match_response(http_res, "200", "application/json"):
684
- return utils.unmarshal_json_response(
685
+ return unmarshal_json_response(
685
686
  models.UnsignedMulticallTransaction, http_res
686
687
  )
687
688
  if utils.match_response(http_res, "422", "application/json"):
688
- response_data = utils.unmarshal_json_response(
689
+ response_data = unmarshal_json_response(
689
690
  errors.HTTPValidationErrorData, http_res
690
691
  )
691
692
  raise errors.HTTPValidationError(response_data, http_res)
@@ -4,6 +4,7 @@ from .basesdk import BaseSDK
4
4
  from compass_api_sdk import errors, models, utils
5
5
  from compass_api_sdk._hooks import HookContext
6
6
  from compass_api_sdk.types import OptionalNullable, UNSET
7
+ from compass_api_sdk.utils.unmarshal_json_response import unmarshal_json_response
7
8
  from typing import Any, Mapping, Optional, Union
8
9
 
9
10
 
@@ -99,11 +100,9 @@ class UniswapV3(BaseSDK):
99
100
 
100
101
  response_data: Any = None
101
102
  if utils.match_response(http_res, "200", "application/json"):
102
- return utils.unmarshal_json_response(
103
- models.UniswapBuyQuoteInfoResponse, http_res
104
- )
103
+ return unmarshal_json_response(models.UniswapBuyQuoteInfoResponse, http_res)
105
104
  if utils.match_response(http_res, "422", "application/json"):
106
- response_data = utils.unmarshal_json_response(
105
+ response_data = unmarshal_json_response(
107
106
  errors.HTTPValidationErrorData, http_res
108
107
  )
109
108
  raise errors.HTTPValidationError(response_data, http_res)
@@ -207,11 +206,9 @@ class UniswapV3(BaseSDK):
207
206
 
208
207
  response_data: Any = None
209
208
  if utils.match_response(http_res, "200", "application/json"):
210
- return utils.unmarshal_json_response(
211
- models.UniswapBuyQuoteInfoResponse, http_res
212
- )
209
+ return unmarshal_json_response(models.UniswapBuyQuoteInfoResponse, http_res)
213
210
  if utils.match_response(http_res, "422", "application/json"):
214
- response_data = utils.unmarshal_json_response(
211
+ response_data = unmarshal_json_response(
215
212
  errors.HTTPValidationErrorData, http_res
216
213
  )
217
214
  raise errors.HTTPValidationError(response_data, http_res)
@@ -315,11 +312,11 @@ class UniswapV3(BaseSDK):
315
312
 
316
313
  response_data: Any = None
317
314
  if utils.match_response(http_res, "200", "application/json"):
318
- return utils.unmarshal_json_response(
315
+ return unmarshal_json_response(
319
316
  models.UniswapSellQuoteInfoResponse, http_res
320
317
  )
321
318
  if utils.match_response(http_res, "422", "application/json"):
322
- response_data = utils.unmarshal_json_response(
319
+ response_data = unmarshal_json_response(
323
320
  errors.HTTPValidationErrorData, http_res
324
321
  )
325
322
  raise errors.HTTPValidationError(response_data, http_res)
@@ -423,11 +420,11 @@ class UniswapV3(BaseSDK):
423
420
 
424
421
  response_data: Any = None
425
422
  if utils.match_response(http_res, "200", "application/json"):
426
- return utils.unmarshal_json_response(
423
+ return unmarshal_json_response(
427
424
  models.UniswapSellQuoteInfoResponse, http_res
428
425
  )
429
426
  if utils.match_response(http_res, "422", "application/json"):
430
- response_data = utils.unmarshal_json_response(
427
+ response_data = unmarshal_json_response(
431
428
  errors.HTTPValidationErrorData, http_res
432
429
  )
433
430
  raise errors.HTTPValidationError(response_data, http_res)
@@ -523,11 +520,9 @@ class UniswapV3(BaseSDK):
523
520
 
524
521
  response_data: Any = None
525
522
  if utils.match_response(http_res, "200", "application/json"):
526
- return utils.unmarshal_json_response(
527
- models.UniswapPoolPriceResponse, http_res
528
- )
523
+ return unmarshal_json_response(models.UniswapPoolPriceResponse, http_res)
529
524
  if utils.match_response(http_res, "422", "application/json"):
530
- response_data = utils.unmarshal_json_response(
525
+ response_data = unmarshal_json_response(
531
526
  errors.HTTPValidationErrorData, http_res
532
527
  )
533
528
  raise errors.HTTPValidationError(response_data, http_res)
@@ -623,11 +618,9 @@ class UniswapV3(BaseSDK):
623
618
 
624
619
  response_data: Any = None
625
620
  if utils.match_response(http_res, "200", "application/json"):
626
- return utils.unmarshal_json_response(
627
- models.UniswapPoolPriceResponse, http_res
628
- )
621
+ return unmarshal_json_response(models.UniswapPoolPriceResponse, http_res)
629
622
  if utils.match_response(http_res, "422", "application/json"):
630
- response_data = utils.unmarshal_json_response(
623
+ response_data = unmarshal_json_response(
631
624
  errors.HTTPValidationErrorData, http_res
632
625
  )
633
626
  raise errors.HTTPValidationError(response_data, http_res)
@@ -722,11 +715,9 @@ class UniswapV3(BaseSDK):
722
715
 
723
716
  response_data: Any = None
724
717
  if utils.match_response(http_res, "200", "application/json"):
725
- return utils.unmarshal_json_response(
726
- models.UniswapCheckInRangeResponse, http_res
727
- )
718
+ return unmarshal_json_response(models.UniswapCheckInRangeResponse, http_res)
728
719
  if utils.match_response(http_res, "422", "application/json"):
729
- response_data = utils.unmarshal_json_response(
720
+ response_data = unmarshal_json_response(
730
721
  errors.HTTPValidationErrorData, http_res
731
722
  )
732
723
  raise errors.HTTPValidationError(response_data, http_res)
@@ -821,11 +812,9 @@ class UniswapV3(BaseSDK):
821
812
 
822
813
  response_data: Any = None
823
814
  if utils.match_response(http_res, "200", "application/json"):
824
- return utils.unmarshal_json_response(
825
- models.UniswapCheckInRangeResponse, http_res
826
- )
815
+ return unmarshal_json_response(models.UniswapCheckInRangeResponse, http_res)
827
816
  if utils.match_response(http_res, "422", "application/json"):
828
- response_data = utils.unmarshal_json_response(
817
+ response_data = unmarshal_json_response(
829
818
  errors.HTTPValidationErrorData, http_res
830
819
  )
831
820
  raise errors.HTTPValidationError(response_data, http_res)
@@ -919,11 +908,11 @@ class UniswapV3(BaseSDK):
919
908
 
920
909
  response_data: Any = None
921
910
  if utils.match_response(http_res, "200", "application/json"):
922
- return utils.unmarshal_json_response(
911
+ return unmarshal_json_response(
923
912
  models.UniswapLPPositionsInfoResponse, http_res
924
913
  )
925
914
  if utils.match_response(http_res, "422", "application/json"):
926
- response_data = utils.unmarshal_json_response(
915
+ response_data = unmarshal_json_response(
927
916
  errors.HTTPValidationErrorData, http_res
928
917
  )
929
918
  raise errors.HTTPValidationError(response_data, http_res)
@@ -1017,11 +1006,11 @@ class UniswapV3(BaseSDK):
1017
1006
 
1018
1007
  response_data: Any = None
1019
1008
  if utils.match_response(http_res, "200", "application/json"):
1020
- return utils.unmarshal_json_response(
1009
+ return unmarshal_json_response(
1021
1010
  models.UniswapLPPositionsInfoResponse, http_res
1022
1011
  )
1023
1012
  if utils.match_response(http_res, "422", "application/json"):
1024
- response_data = utils.unmarshal_json_response(
1013
+ response_data = unmarshal_json_response(
1025
1014
  errors.HTTPValidationErrorData, http_res
1026
1015
  )
1027
1016
  raise errors.HTTPValidationError(response_data, http_res)
@@ -1139,9 +1128,9 @@ class UniswapV3(BaseSDK):
1139
1128
 
1140
1129
  response_data: Any = None
1141
1130
  if utils.match_response(http_res, "200", "application/json"):
1142
- return utils.unmarshal_json_response(models.TxResponse, http_res)
1131
+ return unmarshal_json_response(models.TxResponse, http_res)
1143
1132
  if utils.match_response(http_res, "422", "application/json"):
1144
- response_data = utils.unmarshal_json_response(
1133
+ response_data = unmarshal_json_response(
1145
1134
  errors.HTTPValidationErrorData, http_res
1146
1135
  )
1147
1136
  raise errors.HTTPValidationError(response_data, http_res)
@@ -1259,9 +1248,9 @@ class UniswapV3(BaseSDK):
1259
1248
 
1260
1249
  response_data: Any = None
1261
1250
  if utils.match_response(http_res, "200", "application/json"):
1262
- return utils.unmarshal_json_response(models.TxResponse, http_res)
1251
+ return unmarshal_json_response(models.TxResponse, http_res)
1263
1252
  if utils.match_response(http_res, "422", "application/json"):
1264
- response_data = utils.unmarshal_json_response(
1253
+ response_data = unmarshal_json_response(
1265
1254
  errors.HTTPValidationErrorData, http_res
1266
1255
  )
1267
1256
  raise errors.HTTPValidationError(response_data, http_res)
@@ -1379,9 +1368,9 @@ class UniswapV3(BaseSDK):
1379
1368
 
1380
1369
  response_data: Any = None
1381
1370
  if utils.match_response(http_res, "200", "application/json"):
1382
- return utils.unmarshal_json_response(models.TxResponse, http_res)
1371
+ return unmarshal_json_response(models.TxResponse, http_res)
1383
1372
  if utils.match_response(http_res, "422", "application/json"):
1384
- response_data = utils.unmarshal_json_response(
1373
+ response_data = unmarshal_json_response(
1385
1374
  errors.HTTPValidationErrorData, http_res
1386
1375
  )
1387
1376
  raise errors.HTTPValidationError(response_data, http_res)
@@ -1499,9 +1488,9 @@ class UniswapV3(BaseSDK):
1499
1488
 
1500
1489
  response_data: Any = None
1501
1490
  if utils.match_response(http_res, "200", "application/json"):
1502
- return utils.unmarshal_json_response(models.TxResponse, http_res)
1491
+ return unmarshal_json_response(models.TxResponse, http_res)
1503
1492
  if utils.match_response(http_res, "422", "application/json"):
1504
- response_data = utils.unmarshal_json_response(
1493
+ response_data = unmarshal_json_response(
1505
1494
  errors.HTTPValidationErrorData, http_res
1506
1495
  )
1507
1496
  raise errors.HTTPValidationError(response_data, http_res)
@@ -1646,9 +1635,9 @@ class UniswapV3(BaseSDK):
1646
1635
 
1647
1636
  response_data: Any = None
1648
1637
  if utils.match_response(http_res, "200", "application/json"):
1649
- return utils.unmarshal_json_response(models.TxResponse, http_res)
1638
+ return unmarshal_json_response(models.TxResponse, http_res)
1650
1639
  if utils.match_response(http_res, "422", "application/json"):
1651
- response_data = utils.unmarshal_json_response(
1640
+ response_data = unmarshal_json_response(
1652
1641
  errors.HTTPValidationErrorData, http_res
1653
1642
  )
1654
1643
  raise errors.HTTPValidationError(response_data, http_res)
@@ -1793,9 +1782,9 @@ class UniswapV3(BaseSDK):
1793
1782
 
1794
1783
  response_data: Any = None
1795
1784
  if utils.match_response(http_res, "200", "application/json"):
1796
- return utils.unmarshal_json_response(models.TxResponse, http_res)
1785
+ return unmarshal_json_response(models.TxResponse, http_res)
1797
1786
  if utils.match_response(http_res, "422", "application/json"):
1798
- response_data = utils.unmarshal_json_response(
1787
+ response_data = unmarshal_json_response(
1799
1788
  errors.HTTPValidationErrorData, http_res
1800
1789
  )
1801
1790
  raise errors.HTTPValidationError(response_data, http_res)
@@ -1925,9 +1914,9 @@ class UniswapV3(BaseSDK):
1925
1914
 
1926
1915
  response_data: Any = None
1927
1916
  if utils.match_response(http_res, "200", "application/json"):
1928
- return utils.unmarshal_json_response(models.TxResponse, http_res)
1917
+ return unmarshal_json_response(models.TxResponse, http_res)
1929
1918
  if utils.match_response(http_res, "422", "application/json"):
1930
- response_data = utils.unmarshal_json_response(
1919
+ response_data = unmarshal_json_response(
1931
1920
  errors.HTTPValidationErrorData, http_res
1932
1921
  )
1933
1922
  raise errors.HTTPValidationError(response_data, http_res)
@@ -2057,9 +2046,9 @@ class UniswapV3(BaseSDK):
2057
2046
 
2058
2047
  response_data: Any = None
2059
2048
  if utils.match_response(http_res, "200", "application/json"):
2060
- return utils.unmarshal_json_response(models.TxResponse, http_res)
2049
+ return unmarshal_json_response(models.TxResponse, http_res)
2061
2050
  if utils.match_response(http_res, "422", "application/json"):
2062
- response_data = utils.unmarshal_json_response(
2051
+ response_data = unmarshal_json_response(
2063
2052
  errors.HTTPValidationErrorData, http_res
2064
2053
  )
2065
2054
  raise errors.HTTPValidationError(response_data, http_res)
@@ -2172,9 +2161,9 @@ class UniswapV3(BaseSDK):
2172
2161
 
2173
2162
  response_data: Any = None
2174
2163
  if utils.match_response(http_res, "200", "application/json"):
2175
- return utils.unmarshal_json_response(models.TxResponse, http_res)
2164
+ return unmarshal_json_response(models.TxResponse, http_res)
2176
2165
  if utils.match_response(http_res, "422", "application/json"):
2177
- response_data = utils.unmarshal_json_response(
2166
+ response_data = unmarshal_json_response(
2178
2167
  errors.HTTPValidationErrorData, http_res
2179
2168
  )
2180
2169
  raise errors.HTTPValidationError(response_data, http_res)
@@ -2287,9 +2276,9 @@ class UniswapV3(BaseSDK):
2287
2276
 
2288
2277
  response_data: Any = None
2289
2278
  if utils.match_response(http_res, "200", "application/json"):
2290
- return utils.unmarshal_json_response(models.TxResponse, http_res)
2279
+ return unmarshal_json_response(models.TxResponse, http_res)
2291
2280
  if utils.match_response(http_res, "422", "application/json"):
2292
- response_data = utils.unmarshal_json_response(
2281
+ response_data = unmarshal_json_response(
2293
2282
  errors.HTTPValidationErrorData, http_res
2294
2283
  )
2295
2284
  raise errors.HTTPValidationError(response_data, http_res)