These changes relate to changes in PB Mock ticket 273, where we removed Q_COMPLETE as a column in the PB Mock Study table. It is now a relationship.
Here, we removed Q_COMPLETE from ProtocolBuilderStudy and ProtocolBuilderStudySchema definitions to accommodate the PB Mock changes. ***This push will need to be coordinated with ticket 273***
This commit is contained in:
parent
b5d4df595f
commit
d7894f43b6
|
@ -41,13 +41,12 @@ class ProtocolBuilderStatus(enum.Enum):
|
|||
class ProtocolBuilderStudy(object):
|
||||
def __init__(
|
||||
self, STUDYID: int, HSRNUMBER: str, TITLE: str, NETBADGEID: str,
|
||||
Q_COMPLETE: bool, DATE_MODIFIED: str
|
||||
DATE_MODIFIED: str
|
||||
):
|
||||
self.STUDYID = STUDYID
|
||||
self.HSRNUMBER = HSRNUMBER
|
||||
self.TITLE = TITLE
|
||||
self.NETBADGEID = NETBADGEID
|
||||
self.Q_COMPLETE = Q_COMPLETE
|
||||
self.DATE_MODIFIED = DATE_MODIFIED
|
||||
|
||||
|
||||
|
@ -56,7 +55,7 @@ class ProtocolBuilderStudySchema(ma.Schema):
|
|||
model = ProtocolBuilderStudy
|
||||
unknown = INCLUDE
|
||||
fields = ["STUDYID", "HSRNUMBER", "TITLE", "NETBADGEID",
|
||||
"Q_COMPLETE", "DATE_MODIFIED"]
|
||||
"DATE_MODIFIED"]
|
||||
|
||||
@post_load
|
||||
def make_pbs(self, data, **kwargs):
|
||||
|
|
Loading…
Reference in New Issue