BS 0.1.0 EasySave

This commit is contained in:
2025-07-10 15:08:20 +08:00
parent 39f8320c49
commit b259b499d4
12 changed files with 197 additions and 295 deletions

View File

@@ -3,9 +3,18 @@ import os
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from Convention.Runtime.Config import *
from Convention.Runtime.EasySave import *
class test_log(BaseModel):
test_field:int
test_field_2:str
def run():
print_colorful(ConsoleFrontColor.RED,"test")
SetInternalDebug(True)
SetInternalReflectionDebug(True)
SetInternalEasySaveDebug(True)
test = test_log(test_field=1,test_field_2="test")
EasySave.Write(test,"test.json")
if __name__ == "__main__":
run()