Skip to content

Commit

Permalink
feat(telegram): 优化 API 和 Event 的代码生成
Browse files Browse the repository at this point in the history
  • Loading branch information
YiNakaD committed Sep 22, 2024
1 parent 855ccfb commit 2fd8c12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ async def call_api(
if response_type is None:
return_type_adapter = TypeAdapter(Response[Any])
else:
return_type_adapter = TypeAdapter(Response[response_type])
return_type_adapter = TypeAdapter(Response[response_type]) # type: ignore

data = self._format_telegram_api_params(**params)
if isinstance(data, aiohttp.FormData):
Expand Down

0 comments on commit 2fd8c12

Please sign in to comment.