Skip to content

Commit 426a0e0

Browse files
committed
Fix pathlib.Path usage
1 parent c8dfca4 commit 426a0e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

temporalio/worker/workflow_sandbox/_restrictions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ def __get_pydantic_core_schema__(
10651065
)
10661066
__str__ = _RestrictedProxyLookup(str) # type: ignore
10671067
__bytes__ = _RestrictedProxyLookup(bytes)
1068-
__format__ = _RestrictedProxyLookup() # type: ignore
1068+
__format__ = _RestrictedProxyLookup(format) # type: ignore
10691069
__lt__ = _RestrictedProxyLookup(operator.lt)
10701070
__le__ = _RestrictedProxyLookup(operator.le)
10711071
__eq__ = _RestrictedProxyLookup(operator.eq) # type: ignore

0 commit comments

Comments
 (0)