We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f251426 commit 4df65cdCopy full SHA for 4df65cd
python.json
@@ -58,10 +58,10 @@
58
},
59
60
"ormar": {
61
- "prefix": "freenitormar",
+ "prefix": "freenitsql",
62
"body": [
63
"import ormar",
64
- "from freenit.models.ormar.base import (",
+ "from freenit.models.sql.base import (",
65
" OrmarBaseModel,",
66
" generate_optional,",
67
" ormar_config,",
@@ -71,7 +71,7 @@
71
"class ${1}(OrmarBaseModel):",
72
" ormar_config = ormar_config.copy()",
73
"",
74
- " id: int = ormar.Integer(primary_key=True)",
+ " id = ormar.Integer(primary_key=True)",
75
" ${0}",
76
77
"${1}Optional = generate_optional(${1})"
0 commit comments