Skip to content

Commit a5a086d

Browse files
committed
Allow for positional arguments in lf options
1 parent e3f8f5a commit a5a086d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "resonate-sdk"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
description = "Distributed Async Await by Resonate HQ, Inc"
55
authors = [
66
{ name = "Resonate HQ, Inc", email = "[email protected]" }

src/resonate/actions.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ class LFC:
6363

6464
def with_options(
6565
self,
66-
*,
67-
durable: bool = True,
6866
promise_id: str | None = None,
6967
retry_policy: RetryPolicy | None = None,
68+
*,
69+
durable: bool = True,
7070
) -> Self:
7171
if retry_policy is not None:
7272
assert not isinstance(
@@ -108,10 +108,10 @@ class LFI:
108108

109109
def with_options(
110110
self,
111-
*,
112-
durable: bool = True,
113111
promise_id: str | None = None,
114112
retry_policy: RetryPolicy | None = None,
113+
*,
114+
durable: bool = True,
115115
) -> Self:
116116
if retry_policy is not None:
117117
assert not isinstance(

0 commit comments

Comments
 (0)