Skip to content

Commit

Permalink
update Task class to support callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalpha01 committed Sep 6, 2022
1 parent a9ac295 commit 8005509
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tes/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,12 @@ class Task(Base):
description = attrib(
default=None, converter=strconv, validator=optional(instance_of(str))
)

# This feature is not yet added to the TES specification
# To be done in a future release (probably 1.2)
callback_url = attrib(
default=None, converter=strconv, validator=optional(instance_of(str))
)
inputs = attrib(
default=None, validator=optional(list_of(Input))
)
Expand Down

0 comments on commit 8005509

Please sign in to comment.