Skip to content

Commit

Permalink
Make RunGetDetailed.token optional. (#52)
Browse files Browse the repository at this point in the history
Addresses NA-417.
  • Loading branch information
alexpearce authored Feb 23, 2022
1 parent 53058d6 commit ef45bf2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pipeline/schemas/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ class RunGetDetailed(RunGet):
tags: List[TagGet] = []
inputs: List[RunIOGet] = []
outputs: List[RunIOGet] = []
token: TokenGet
#: The Token which was used to create this Run, if that Token has not been
#: deleted in the meantime
token: Optional[TokenGet]


class RunUpdate(BaseModel):
Expand Down

0 comments on commit ef45bf2

Please sign in to comment.