Skip to content

Commit

Permalink
cast destination to str type
Browse files Browse the repository at this point in the history
  • Loading branch information
masonmenges committed Jun 18, 2024
1 parent 949413f commit 5731738
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/prefect/runner/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ class LocalStorage:
def __init__(
self,
path: str,
pull_interval: Optional[int] = 60,
pull_interval: Optional[int] = None,
):
self._path = Path(path).resolve()
self._logger = get_logger("runner.storage.local-storage")
Expand Down Expand Up @@ -616,7 +616,7 @@ def to_pull_step(self) -> dict:
"""
step = {
"prefect.deployments.steps.set_working_directory": {
"directory": self.destination
"directory": str(self.destination)
}
}
return step
Expand Down

0 comments on commit 5731738

Please sign in to comment.