Skip to content

Commit

Permalink
update to avoid pydantic bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanbhughes committed Jan 3, 2025
1 parent 649216c commit 9ed3ee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prefect/_experimental/sla/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def set_deployment_id(self, deployment_id: UUID):

@computed_field
@property
def owner_resource(self) -> str | None:
def owner_resource(self) -> Union[str, None]:
if self._deployment_id:
return f"prefect.deployment.{self._deployment_id}"
return None
Expand Down

0 comments on commit 9ed3ee7

Please sign in to comment.