fix firmware build serialization
This commit is contained in:
parent
317ff66c76
commit
ebfdf1d69f
1 changed files with 4 additions and 0 deletions
|
@ -122,6 +122,10 @@ class UploadFirmwareBuildSchema(Schema):
|
||||||
project_description: dict = APIField(..., title='project_description.json contents')
|
project_description: dict = APIField(..., title='project_description.json contents')
|
||||||
uploaded_filename: str = APIField(..., example="firmware.bin")
|
uploaded_filename: str = APIField(..., example="firmware.bin")
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def resolve_boards(obj):
|
||||||
|
return list(obj.boards)
|
||||||
|
|
||||||
|
|
||||||
class UploadFirmwareSchema(Schema):
|
class UploadFirmwareSchema(Schema):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue