mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-12 15:26:54 +08:00
Update serial.py
This commit is contained in:
@@ -27,11 +27,6 @@ class Serializable:
|
|||||||
def dump_all(self):
|
def dump_all(self):
|
||||||
"""
|
"""
|
||||||
will the object dump all object
|
will the object dump all object
|
||||||
|
|
||||||
Parameters
|
|
||||||
----------
|
|
||||||
self : [TODO:type]
|
|
||||||
[TODO:description]
|
|
||||||
"""
|
"""
|
||||||
return getattr(self, "_dump_all", False)
|
return getattr(self, "_dump_all", False)
|
||||||
|
|
||||||
@@ -39,11 +34,6 @@ class Serializable:
|
|||||||
def exclude(self):
|
def exclude(self):
|
||||||
"""
|
"""
|
||||||
What attribute will be dumped
|
What attribute will be dumped
|
||||||
|
|
||||||
Parameters
|
|
||||||
----------
|
|
||||||
self : [TODO:type]
|
|
||||||
[TODO:description]
|
|
||||||
"""
|
"""
|
||||||
return getattr(self, "_exclude", [])
|
return getattr(self, "_exclude", [])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user