mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
Pylint disabled rule pointless-string-statement
is not raising warining anymore - removing (#10975)
This commit is contained in:
parent
9d7b3536e1
commit
88a671153b
@ -39,11 +39,11 @@ class BaseDAO:
|
|||||||
"""
|
"""
|
||||||
Child classes need to state the Model class so they don't need to implement basic
|
Child classes need to state the Model class so they don't need to implement basic
|
||||||
create, update and delete methods
|
create, update and delete methods
|
||||||
""" # pylint: disable=pointless-string-statement
|
"""
|
||||||
base_filter: Optional[BaseFilter] = None
|
base_filter: Optional[BaseFilter] = None
|
||||||
"""
|
"""
|
||||||
Child classes can register base filtering to be aplied to all filter methods
|
Child classes can register base filtering to be aplied to all filter methods
|
||||||
""" # pylint: disable=pointless-string-statement
|
"""
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def find_by_id(cls, model_id: int) -> Model:
|
def find_by_id(cls, model_id: int) -> Model:
|
||||||
|
Loading…
Reference in New Issue
Block a user