将ProjectConfig加入Architecture
This commit is contained in:
@@ -12,7 +12,7 @@ from abc import ABC
|
||||
import importlib
|
||||
import os
|
||||
|
||||
config = ProjectConfig()
|
||||
config: ProjectConfig = Architecture.Get(ProjectConfig)
|
||||
|
||||
class DatabaseModel(BaseModel):
|
||||
table_name: str = Field(default="main_table")
|
||||
|
||||
Reference in New Issue
Block a user