trd-utils 0.0.10__tar.gz → 0.0.11__tar.gz
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 trd-utils might be problematic. Click here for more details.
- {trd_utils-0.0.10 → trd_utils-0.0.11}/PKG-INFO +1 -1
- {trd_utils-0.0.10 → trd_utils-0.0.11}/pyproject.toml +1 -1
- trd_utils-0.0.11/trd_utils/__init__.py +3 -0
- {trd_utils-0.0.10 → trd_utils-0.0.11}/trd_utils/types_helper/base_model.py +7 -4
- trd_utils-0.0.10/trd_utils/__init__.py +0 -3
- {trd_utils-0.0.10 → trd_utils-0.0.11}/LICENSE +0 -0
- {trd_utils-0.0.10 → trd_utils-0.0.11}/README.md +0 -0
- {trd_utils-0.0.10 → trd_utils-0.0.11}/trd_utils/cipher/__init__.py +0 -0
- {trd_utils-0.0.10 → trd_utils-0.0.11}/trd_utils/common_utils/float_utils.py +0 -0
- {trd_utils-0.0.10 → trd_utils-0.0.11}/trd_utils/exchanges/__init__.py +0 -0
- {trd_utils-0.0.10 → trd_utils-0.0.11}/trd_utils/exchanges/blofin/__init__.py +0 -0
- {trd_utils-0.0.10 → trd_utils-0.0.11}/trd_utils/exchanges/blofin/blofin_client.py +0 -0
- {trd_utils-0.0.10 → trd_utils-0.0.11}/trd_utils/exchanges/blofin/blofin_types.py +0 -0
- {trd_utils-0.0.10 → trd_utils-0.0.11}/trd_utils/exchanges/bx_ultra/__init__.py +0 -0
- {trd_utils-0.0.10 → trd_utils-0.0.11}/trd_utils/exchanges/bx_ultra/bx_types.py +0 -0
- {trd_utils-0.0.10 → trd_utils-0.0.11}/trd_utils/exchanges/bx_ultra/bx_ultra_client.py +0 -0
- {trd_utils-0.0.10 → trd_utils-0.0.11}/trd_utils/exchanges/bx_ultra/bx_utils.py +0 -0
- {trd_utils-0.0.10 → trd_utils-0.0.11}/trd_utils/exchanges/exchange_base.py +0 -0
- {trd_utils-0.0.10 → trd_utils-0.0.11}/trd_utils/html_utils/__init__.py +0 -0
- {trd_utils-0.0.10 → trd_utils-0.0.11}/trd_utils/html_utils/html_formats.py +0 -0
- {trd_utils-0.0.10 → trd_utils-0.0.11}/trd_utils/tradingview/__init__.py +0 -0
- {trd_utils-0.0.10 → trd_utils-0.0.11}/trd_utils/tradingview/tradingview_client.py +0 -0
- {trd_utils-0.0.10 → trd_utils-0.0.11}/trd_utils/tradingview/tradingview_types.py +0 -0
- {trd_utils-0.0.10 → trd_utils-0.0.11}/trd_utils/types_helper/__init__.py +0 -0
|
@@ -261,12 +261,15 @@ class BaseModel:
|
|
|
261
261
|
|
|
262
262
|
def serialize(
|
|
263
263
|
self,
|
|
264
|
-
separators=(",", ":"),
|
|
265
|
-
ensure_ascii=True,
|
|
266
|
-
sort_keys=True,
|
|
264
|
+
separators = (",", ":"),
|
|
265
|
+
ensure_ascii: bool = True,
|
|
266
|
+
sort_keys: bool = True,
|
|
267
|
+
omit_none: bool = False,
|
|
267
268
|
) -> bytes:
|
|
268
269
|
return json.dumps(
|
|
269
|
-
obj=self.to_dict(
|
|
270
|
+
obj=self.to_dict(
|
|
271
|
+
omit_none=omit_none,
|
|
272
|
+
),
|
|
270
273
|
ensure_ascii=ensure_ascii,
|
|
271
274
|
separators=separators,
|
|
272
275
|
sort_keys=sort_keys,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|