Skip to content

Commit

Permalink
Mcscript Task Property (nyu-mll#1219)
Browse files Browse the repository at this point in the history
* mcscript

* black

* add mcscript to documentation

* removed task property method

* added back task property

Co-authored-by: jeswan <57466294+jeswan@users.noreply.github.com>
  • Loading branch information
wh629 and jeswan committed Oct 28, 2020
1 parent a45aacd commit b5faf51
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jiant/tasks/lib/mcscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@

@dataclass
class Example(mc_template.Example):
pass
@property
def task(self):
return MCScriptTask


@dataclass
Expand Down

0 comments on commit b5faf51

Please sign in to comment.