Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Semprini/pyMDG
Browse files Browse the repository at this point in the history
  • Loading branch information
Semprini committed Jul 1, 2024
2 parents 81695a3 + caf8467 commit ae9f9ad
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions mdg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@
generation_fields = {
"default": {
"bool": "boolean",
"Boolean": "boolean",
"Bool": "boolean",
"Date": "date",
"dateTime": "date-time",
"timestamp": "date-time",
"Timestamp": "date-time",
"decimal": "number",
"Decimal": "number",
"enum": "enum",
Expand All @@ -16,8 +20,13 @@
},
"avro": {
"bool": "boolean",
"Bool": "boolean",
"Boolean": "boolean",
"Date": "date",
"dateTime": "date-time",
"datetime": "date-time",
"timestamp": "date-time",
"Timestamp": "date-time",
"decimal": "number",
"Decimal": "number",
"enum": "enum",
Expand All @@ -43,9 +52,12 @@
},
"django": {
"boolean": "BooleanField",
"Boolean": "BooleanField",
"bool": "BooleanField",
"int": "IntegerField",
"Integer": "IntegerField",
"bigint": "BigIntegerField",
"long": "BigIntegerField",
"decimal": "DecimalField",
"string": "CharField",
"str": "CharField",
Expand Down Expand Up @@ -90,6 +102,7 @@
"date_time": "DateTime",
},
"python": {
"long": "int",
"Integer": "int",
"String": "str",
"string": "str",
Expand Down

0 comments on commit ae9f9ad

Please sign in to comment.