Skip to content

Commit 219bb32

Browse files
committed
Use the supported ProcessParams type argument in cache example
1 parent cf34e61 commit 219bb32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎examples/cache_worker.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class Meta:
7575
description = "Exchange rates from a slow upstream, cacheable for 5 minutes"
7676

7777
@classmethod
78-
def process(cls, params: ProcessParams[RatesArgs, None], state: None, out: OutputCollector) -> None:
78+
def process(cls, params: ProcessParams[RatesArgs], state: None, out: OutputCollector) -> None:
7979
"""Answer the scan — or, if the client's copy is still current, say so."""
8080
vgi_out = cast(VgiOutputCollector, out)
8181

0 commit comments

Comments
 (0)