orm-database 0.3.1__tar.gz → 0.3.3__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {orm_database-0.3.1 → orm_database-0.3.3}/PKG-INFO +1 -1
- {orm_database-0.3.1 → orm_database-0.3.3}/orm_database/orm_database.py +0 -3
- {orm_database-0.3.1 → orm_database-0.3.3}/orm_database.egg-info/PKG-INFO +1 -1
- {orm_database-0.3.1 → orm_database-0.3.3}/setup.py +1 -1
- {orm_database-0.3.1 → orm_database-0.3.3}/README.md +0 -0
- {orm_database-0.3.1 → orm_database-0.3.3}/orm_database/__init__.py +0 -0
- {orm_database-0.3.1 → orm_database-0.3.3}/orm_database.egg-info/SOURCES.txt +0 -0
- {orm_database-0.3.1 → orm_database-0.3.3}/orm_database.egg-info/dependency_links.txt +0 -0
- {orm_database-0.3.1 → orm_database-0.3.3}/orm_database.egg-info/requires.txt +0 -0
- {orm_database-0.3.1 → orm_database-0.3.3}/orm_database.egg-info/top_level.txt +0 -0
- {orm_database-0.3.1 → orm_database-0.3.3}/setup.cfg +0 -0
@@ -15,12 +15,9 @@ class PostgreSQL:
|
|
15
15
|
|
16
16
|
async def teble_create_BaseModel(self,table:str , class_BaseModel):
|
17
17
|
query = f"CREATE TABLE {table} ("
|
18
|
-
print(class_BaseModel.model_json_schema())
|
19
18
|
result=class_BaseModel.model_json_schema()
|
20
|
-
print(result['required'])
|
21
19
|
for a in result['required']:
|
22
20
|
data = result['properties'][a]
|
23
|
-
print(data)
|
24
21
|
try :
|
25
22
|
maxLength = data['maxLength']
|
26
23
|
match data['type']:
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|