Skip to content

Commit 20ec543

Browse files
committed
file lost
1 parent fda1fca commit 20ec543

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

py_models_parser/types.py

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
orm_triggers = ["Column", "Field", "relationship"]
2+
3+
pony_orm_fields = ["Required", "Set", "Optional", "PrimaryKey"]
4+
5+
ormar_and_piccollo_types = [
6+
"Integer",
7+
"String",
8+
"Text",
9+
"Boolean",
10+
"BigInteger",
11+
"SmallInteger",
12+
"Float",
13+
"Decimal",
14+
"Date",
15+
"Time",
16+
"JSON",
17+
"DateTime",
18+
"LargeBinary",
19+
"ForeignKey",
20+
"Varchar",
21+
"UUID",
22+
"JSONB",
23+
"Time",
24+
"ARRAY",
25+
"Interval",
26+
"Timestamp",
27+
]
28+
orm_triggers.extend(pony_orm_fields)
29+
orm_triggers.extend(ormar_and_piccollo_types)

0 commit comments

Comments
 (0)