Skip to content

Commit 134e21a

Browse files
committed
feat: add polywrap-result package
1 parent e5e688f commit 134e21a

10 files changed

Lines changed: 1534 additions & 2 deletions

File tree

packages/polywrap-client/polywrap_client/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ async def load_wrapper(
9898
TryResolveUriOptions(uri=uri, resolution_context=resolution_context)
9999
)
100100

101-
if result.is_ok is True and result.ok is None:
101+
if result.is_ok() == True and result.ok is None:
102102
# FIXME: add other info
103103
return Err(RuntimeError(f'Error resolving URI "{uri.uri}"'))
104-
if result.is_err is True:
104+
if result.is_err() == True:
105105
return Err(result.unwrap_err())
106106

107107
uri_package_or_wrapper = result.unwrap()

packages/polywrap-result/README.md

Whitespace-only changes.

0 commit comments

Comments
 (0)