Skip to content

Commit 92b9462

Browse files
committed
env setter checks for int type
1 parent 4b929a7 commit 92b9462

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/psij/job_spec.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ def environment(self, env: Optional[Dict[str, Union[str, int]]]) -> None:
170170
else:
171171
self._environment[k] = v
172172

173+
@property
173174
def directory(self) -> Optional[pathlib.Path]:
174175
"""The directory, on the compute side, in which the executable is to be run."""
175176
return self._directory

0 commit comments

Comments
 (0)