Skip to content

Commit

Permalink
update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
agahkarakuzu committed Aug 15, 2024
1 parent 81f0405 commit 4c915a3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions api/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ class DownloadSchema(Schema):
"""
Defines schema to be used for repo2data download.
"""
id = fields.Integer(required=False,description="Issue number of the technical screening of this preprint. If this used, the response will be returned to the respective github issue.")
repository_url = fields.Str(required=False,description="Full URL of a NeuroLibre compatible repository to be used for building the book.")
email = fields.Str(required=False,description="Email address, to which the result will be returned.")
overwrite = fields.Boolean(required=False,description="Whether or not the downloaded data will overwrite, if already exists.")
id = fields.Integer(required=True,description="Issue number of the technical screening of this preprint. If this used, the response will be returned to the respective github issue.")
repository_url = fields.Str(required=False,dump_default="",description="Full URL of a NeuroLibre compatible repository to be used for building the book.")
email = fields.Str(required=False,dump_default="",description="Email address, to which the result will be returned.")
overwrite = fields.Boolean(required=False,dump_default="",description="Whether or not the downloaded data will overwrite, if already exists.")

class BuildSchema(Schema):
"""
Expand Down

0 comments on commit 4c915a3

Please sign in to comment.