pylint: Fix errors of unimplemented abstract methods
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>merge-requests/777/head
parent
41c2697760
commit
8084263697
|
@ -20,7 +20,6 @@ disable=
|
|||
R0914,
|
||||
R0915,
|
||||
W0201,
|
||||
W0223,
|
||||
W0612,
|
||||
W0613,
|
||||
W0621,
|
||||
|
|
|
@ -2,7 +2,7 @@ import requests
|
|||
from social_core.backends.oauth import BaseOAuth2
|
||||
|
||||
|
||||
class Auth0(BaseOAuth2):
|
||||
class Auth0(BaseOAuth2): # pylint: disable=W0223
|
||||
"""Auth0 OAuth authentication backend"""
|
||||
name = 'auth0'
|
||||
SCOPE_SEPARATOR = ' '
|
||||
|
|
|
@ -169,6 +169,9 @@ class NewObservationListSerializer(serializers.ListSerializer):
|
|||
|
||||
return new_observations
|
||||
|
||||
def update(self, instance, validated_data):
|
||||
return None
|
||||
|
||||
|
||||
class NewObservationSerializer(serializers.Serializer):
|
||||
start = serializers.DateTimeField(
|
||||
|
@ -240,6 +243,9 @@ class NewObservationSerializer(serializers.Serializer):
|
|||
only lists of observations"
|
||||
)
|
||||
|
||||
def update(self, instance, validated_data):
|
||||
return None
|
||||
|
||||
class Meta:
|
||||
list_serializer_class = NewObservationListSerializer
|
||||
|
||||
|
|
Loading…
Reference in New Issue