Skip to content

Commit 8d89cb5

Browse files
author
Nathan Lee
committed
Added context property to PyRunner
1 parent ee1de6a commit 8d89cb5

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

pyrunner/core/pyrunner.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ def proc_file(self, value):
101101
self._init_params['proc_file'] = value
102102
return self
103103

104+
@property
105+
def context(self):
106+
return self.engine.context
107+
104108
def reset_env(self):
105109
os.environ.clear()
106110
os.environ.update(self._environ)

pyrunner/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '4.0.0'
1+
__version__ = '4.0.1'

0 commit comments

Comments
 (0)