Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
john-bodley committed Aug 25, 2023
1 parent b5691c3 commit f85b109
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions superset/utils/async_query_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,5 +192,16 @@ def update_job(
logger.debug("********** logging event data to stream %s", scoped_stream_name)
logger.debug(event_data)

self._redis.xadd(scoped_stream_name, event_data, "*", self._stream_limit)
self._redis.xadd(full_stream_name, event_data, "*", self._stream_limit_firehose)
self._redis.xadd(
scoped_stream_name,
event_data, # type: ignore
"*",
self._stream_limit,
)

self._redis.xadd(
full_stream_name,
event_data, # type: ignore
"*",
self._stream_limit_firehose,
)

0 comments on commit f85b109

Please sign in to comment.