Skip to content

Commit

Permalink
PlanHelper should expose workspace property
Browse files Browse the repository at this point in the history
  • Loading branch information
GeoSander committed Oct 28, 2019
1 parent 71bd141 commit 0cd1e31
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions gntools/plans.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,15 @@ def prefix(self):
"""
return self._pfx

@property
def workspace(self):
"""
Returns the Workspace instance for this PlanHelper (specified on initialization).
:rtyoe: gpf.paths.Workspace
"""
return self._workspace

def __repr__(self):
""" Returns a representation of the PlanHelper. """
return '{}({!r})'.format(PlanHelper.__name__, _const.CHAR_EMPTY.join((self._gpn, self._num)))
Expand Down

0 comments on commit 0cd1e31

Please sign in to comment.