mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
style(mypy): Enforcing typing for superset.views (#9939)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
@@ -143,7 +143,7 @@ class PrestoDBSQLValidator(BaseSQLValidator):
|
||||
|
||||
@classmethod
|
||||
def validate(
|
||||
cls, sql: str, schema: str, database: Any
|
||||
cls, sql: str, schema: Optional[str], database: Database
|
||||
) -> List[SQLValidationAnnotation]:
|
||||
"""
|
||||
Presto supports query-validation queries by running them with a
|
||||
|
||||
Reference in New Issue
Block a user