feat: add field is_hidden_weight
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,14 +1,17 @@
|
||||
from apiflask import Schema
|
||||
from apiflask.fields import String, Float, URL
|
||||
from apiflask.fields import String, Float, URL, Boolean
|
||||
|
||||
|
||||
class UserInfoIn(Schema):
|
||||
nickname = String()
|
||||
height = Float()
|
||||
is_hidden_weight = Boolean()
|
||||
|
||||
|
||||
class UserInfoOut(Schema):
|
||||
user_id = String(attribute='_id')
|
||||
nickname = String()
|
||||
avatar_id = String()
|
||||
avatar_url = URL()
|
||||
height = Float(allow_nan=True)
|
||||
height = Float(allow_nan=True)
|
||||
is_hidden_weight = Boolean()
|
Reference in New Issue
Block a user