You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2021/11/25 14:59:02 UTC
[superset] branch master updated: fix(lint): fix unnecessary type ignore (#17555)
This is an automated email from the ASF dual-hosted git repository.
villebro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 7429282 fix(lint): fix unnecessary type ignore (#17555)
7429282 is described below
commit 74292829726ae9c47ca00889907e9421e8dc2b56
Author: Ville Brofeldt <33...@users.noreply.github.com>
AuthorDate: Thu Nov 25 16:57:36 2021 +0200
fix(lint): fix unnecessary type ignore (#17555)
---
superset/utils/async_query_manager.py | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/superset/utils/async_query_manager.py b/superset/utils/async_query_manager.py
index 14f89a8..b197a85 100644
--- a/superset/utils/async_query_manager.py
+++ b/superset/utils/async_query_manager.py
@@ -199,9 +199,5 @@ class AsyncQueryManager:
logger.debug("********** logging event data to stream %s", scoped_stream_name)
logger.debug(event_data)
- self._redis.xadd( # type: ignore
- scoped_stream_name, event_data, "*", self._stream_limit
- )
- self._redis.xadd( # type: ignore
- full_stream_name, event_data, "*", self._stream_limit_firehose
- )
+ self._redis.xadd(scoped_stream_name, event_data, "*", self._stream_limit)
+ self._redis.xadd(full_stream_name, event_data, "*", self._stream_limit_firehose)