Skip to content

Commit ffc2f66

Browse files
committed
Avoid SDK bump until temporalio/sdk-python#1122 is released.
1 parent 35aa0f3 commit ffc2f66

File tree

3 files changed

+13
-18
lines changed

3 files changed

+13
-18
lines changed

poetry.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies = [
1616
"redis (>=6.2.0,<7.0.0)",
1717
"aiohttp (>=3.12.14,<4.0.0)",
1818
"openai-agents (>=0.2.3,<0.3.0)",
19-
"temporalio (>=1.17.0,<2.0.0)",
19+
"temporalio (>=1.15.0,<2.0.0)",
2020
]
2121

2222
[tool.poetry]

src/temporal_supervisor/claim_check/claim_check_plugin.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import os
22

3-
import temporalio
43
from temporalio.client import Plugin, ClientConfig
54
from temporalio.converter import DataConverter
65

@@ -13,9 +12,6 @@ def __init__(self):
1312
self.redisHost = os.getenv("REDIS_HOST", "localhost")
1413
self.redisPort = int(os.getenv("REDIS_PORT", "6379"))
1514

16-
def init_client_plugin(self, next: Plugin) -> None:
17-
self.next_client_plugin = next
18-
1915
def get_data_converter(self, config: ClientConfig) -> DataConverter:
2016
default_converter_class = config["data_converter"].payload_converter_class
2117
if self.useClaimCheck:
@@ -33,7 +29,6 @@ def get_data_converter(self, config: ClientConfig) -> DataConverter:
3329

3430
def configure_client(self, config: ClientConfig) -> ClientConfig:
3531
config["data_converter"] = self.get_data_converter(config)
36-
return self.next_client_plugin.configure_client(config)
32+
return super().configure_client(config)
33+
3734

38-
async def connect_service_client(self, config: temporalio.service.ConnectConfig) -> temporalio.service.ServiceClient:
39-
return await self.next_client_plugin.connect_service_client(config)

0 commit comments

Comments
 (0)