Skip to content

Commit 07e810a

Browse files
committed
fix(pool_client): broaden __init__ impl area param to Any
Reordering the overloads adjacent to their impls (prior commit) surfaced a latent mismatch: the impl signature area: _AreaT did not accept overload signatures binding area to Literal[Area.CN]/_GlobalArea. Per mypy convention the overload *implementation* signature uses Any; callers still see the precise overloads.
1 parent a9ad926 commit 07e810a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/agora_agent/pool_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ def __init__(
323323
def __init__(
324324
self,
325325
*,
326-
area: _AreaT,
326+
area: typing.Any,
327327
app_id: str,
328328
app_certificate: str,
329329
customer_id: typing.Optional[str] = None,
@@ -659,7 +659,7 @@ def __init__(
659659
def __init__(
660660
self,
661661
*,
662-
area: _AreaT,
662+
area: typing.Any,
663663
app_id: str,
664664
app_certificate: str,
665665
customer_id: typing.Optional[str] = None,

0 commit comments

Comments
 (0)