From 1dc514f2bc9e8e49aa87044efeb88034ee5dcd87 Mon Sep 17 00:00:00 2001 From: Agah Date: Fri, 6 Sep 2024 21:54:59 -0400 Subject: [PATCH] Change schema --- api/schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/schema.py b/api/schema.py index 5ca03ce..ebd7b09 100644 --- a/api/schema.py +++ b/api/schema.py @@ -44,7 +44,7 @@ class MystBuildSchema(Schema): """ id = fields.Integer(required=True,description="Issue number of the technical screening of this preprint.") repository_url = fields.Str(required=True,description="Full URL of a NeuroLibre compatible repository to be used for building the book.") - commit_hash = fields.String(required=True,dump_default="HEAD",description="Commit SHA to be checked out for building the book. Defaults to HEAD.") + commit_hash = fields.String(required=False,dump_default="HEAD",description="Commit SHA to be checked out for building the book. Defaults to HEAD.") binder_hash = fields.String(required=False,dump_default="HEAD",description="Commit SHA at which a binder image was built successfully.") class BuildTestSchema(Schema):