mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
chore(ci): bump pylint to 2.10.2 (#16463)
This commit is contained in:
@@ -77,7 +77,7 @@ class CreateDatabaseCommand(BaseCommand):
|
||||
return database
|
||||
|
||||
def validate(self) -> None:
|
||||
exceptions: List[ValidationError] = list()
|
||||
exceptions: List[ValidationError] = []
|
||||
sqlalchemy_uri: Optional[str] = self._properties.get("sqlalchemy_uri")
|
||||
database_name: Optional[str] = self._properties.get("database_name")
|
||||
if not sqlalchemy_uri:
|
||||
|
||||
@@ -69,7 +69,7 @@ class UpdateDatabaseCommand(BaseCommand):
|
||||
return database
|
||||
|
||||
def validate(self) -> None:
|
||||
exceptions: List[ValidationError] = list()
|
||||
exceptions: List[ValidationError] = []
|
||||
# Validate/populate model exists
|
||||
self._model = DatabaseDAO.find_by_id(self._model_id)
|
||||
if not self._model:
|
||||
|
||||
Reference in New Issue
Block a user