Skip to content

Commit 3c49883

Browse files
committed
bump version
1 parent 94cda72 commit 3c49883

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
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.6.6"
3+
version = "0.6.7"
44
description = "Distributed Async Await by Resonate HQ, Inc"
55
readme = "README.md"
66
authors = [{ name = "Resonate HQ, Inc", email = "contact@resonatehq.io" }]

resonate/scheduler.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import uuid
55
from dataclasses import dataclass, field
66
from inspect import isgeneratorfunction
7-
from typing import TYPE_CHECKING, Any, Final, Literal
7+
from typing import TYPE_CHECKING, Any, Final, Literal, override
88

99
from resonate import utils
1010
from resonate.conventions import Base
@@ -64,8 +64,8 @@ def __init__(
6464
self.pid = pid or uuid.uuid4().hex
6565

6666
# unicast / anycast
67-
self.unicast = unicast or f"poll://uni@default/{pid}"
68-
self.anycast = anycast or f"poll://any@default/{pid}"
67+
self.unicast: str = unicast or f"poll://uni@default/{pid}"
68+
self.anycast: str = anycast or f"poll://any@default/{pid}"
6969

7070
# computations
7171
self.computations: dict[str, Computation] = {}
@@ -107,6 +107,7 @@ class Info:
107107
def __init__(self, func: Lfnc | Coro) -> None:
108108
self._func = func
109109

110+
@override
110111
def __repr__(self) -> str:
111112
return f"Info(attempt={self.attempt}, ikey={self.idempotency_key} tags={self.tags}, timeout={self.timeout})"
112113

0 commit comments

Comments
 (0)