mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
[format] Using Black (#7769)
This commit is contained in:
@@ -22,6 +22,4 @@ from .base import SQLValidationAnnotation # noqa
|
||||
|
||||
|
||||
def get_validator_by_name(name: str) -> Optional[base.BaseSQLValidator]:
|
||||
return {
|
||||
'PrestoDBSQLValidator': presto_db.PrestoDBSQLValidator,
|
||||
}.get(name)
|
||||
return {"PrestoDBSQLValidator": presto_db.PrestoDBSQLValidator}.get(name)
|
||||
|
||||
Reference in New Issue
Block a user