Skip to content

Commit

Permalink
Mcscript Task Property (#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 authored Oct 28, 2020
1 parent 820f7de commit 76e2826
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 76e2826

Please sign in to comment.