mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
chore(pylint): Reenable raise-missing-from check (#16266)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
@@ -165,9 +165,9 @@ class AsyncQueryManager:
|
||||
|
||||
try:
|
||||
return self.parse_jwt(token)
|
||||
except Exception as exc:
|
||||
logger.warning(exc)
|
||||
raise AsyncQueryTokenException("Failed to parse token")
|
||||
except Exception as ex:
|
||||
logger.warning(ex)
|
||||
raise AsyncQueryTokenException("Failed to parse token") from ex
|
||||
|
||||
def init_job(self, channel_id: str, user_id: Optional[str]) -> Dict[str, Any]:
|
||||
job_id = str(uuid.uuid4())
|
||||
|
||||
Reference in New Issue
Block a user