mirror of
https://github.com/apache/superset.git
synced 2026-04-23 10:04:45 +00:00
chore(pylint): Reenable too-few-public-methods check (#16264)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
@@ -22,7 +22,7 @@ from sqlalchemy import TypeDecorator
|
||||
from sqlalchemy_utils import EncryptedType
|
||||
|
||||
|
||||
class AbstractEncryptedFieldAdapter(ABC):
|
||||
class AbstractEncryptedFieldAdapter(ABC): # pylint: disable=too-few-public-methods
|
||||
@abstractmethod
|
||||
def create(
|
||||
self,
|
||||
@@ -33,7 +33,9 @@ class AbstractEncryptedFieldAdapter(ABC):
|
||||
pass
|
||||
|
||||
|
||||
class SQLAlchemyUtilsAdapter(AbstractEncryptedFieldAdapter):
|
||||
class SQLAlchemyUtilsAdapter( # pylint: disable=too-few-public-methods
|
||||
AbstractEncryptedFieldAdapter
|
||||
):
|
||||
def create(
|
||||
self,
|
||||
app_config: Optional[Dict[str, Any]],
|
||||
|
||||
@@ -27,7 +27,7 @@ except ModuleNotFoundError:
|
||||
Profiler = None
|
||||
|
||||
|
||||
class SupersetProfiler:
|
||||
class SupersetProfiler: # pylint: disable=too-few-public-methods
|
||||
"""
|
||||
WSGI middleware to instrument Superset.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user