Compare commits
2 Commits
8121899d32
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| ad17b905c4 | |||
| 4ba5bfdfee |
@@ -140,7 +140,7 @@ class Architecture:
|
|||||||
return type_ in cls._RegisteredObjects
|
return type_ in cls._RegisteredObjects
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def Get(cls, type_:type) -> Any:
|
def Get[T](cls, type_:Typen[T]) -> T:
|
||||||
return cls._RegisteredObjects[type_]
|
return cls._RegisteredObjects[type_]
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
@@ -327,7 +327,7 @@ class ToolFile(BaseModel):
|
|||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
with open(self.OriginFullPath, 'w', encoding='utf-8') as f:
|
with open(self.OriginFullPath, 'w', encoding='utf-8') as f:
|
||||||
json.dump(json_data, f, indent=4)
|
json.dump(json_data, f, indent=4, ensure_ascii=False)
|
||||||
return self
|
return self
|
||||||
def SaveAsCsv(self, csv_data:"pd.DataFrame"):
|
def SaveAsCsv(self, csv_data:"pd.DataFrame"):
|
||||||
'''
|
'''
|
||||||
|
|||||||
Reference in New Issue
Block a user