Skip to content

Commit 0ce7a5d

Browse files
fixed schema
1 parent d6961c3 commit 0ce7a5d

File tree

1 file changed

+1
-1
lines changed
  • docs/docs/06_sql_storage_sqlalchemy/02_create_simple_sqlalchemy_model/start

1 file changed

+1
-1
lines changed

docs/docs/06_sql_storage_sqlalchemy/02_create_simple_sqlalchemy_model/start/schemas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class ItemSchema(Schema):
55
id = fields.Str(dump_only=True)
66
name = fields.Str(required=True)
77
price = fields.Float(required=True)
8-
store_id = fields.Int(required=True)
8+
store_id = fields.Str(required=True)
99

1010

1111
class ItemUpdateSchema(Schema):

0 commit comments

Comments
 (0)