Skip to content

Commit

Permalink
file lost
Browse files Browse the repository at this point in the history
  • Loading branch information
xnuinside committed Aug 17, 2021
1 parent fda1fca commit 20ec543
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions py_models_parser/types.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
orm_triggers = ["Column", "Field", "relationship"]

pony_orm_fields = ["Required", "Set", "Optional", "PrimaryKey"]

ormar_and_piccollo_types = [
"Integer",
"String",
"Text",
"Boolean",
"BigInteger",
"SmallInteger",
"Float",
"Decimal",
"Date",
"Time",
"JSON",
"DateTime",
"LargeBinary",
"ForeignKey",
"Varchar",
"UUID",
"JSONB",
"Time",
"ARRAY",
"Interval",
"Timestamp",
]
orm_triggers.extend(pony_orm_fields)
orm_triggers.extend(ormar_and_piccollo_types)

0 comments on commit 20ec543

Please sign in to comment.