Skip to content

Commit

Permalink
style(pylint): rename arguments to reflect overridden argument
Browse files Browse the repository at this point in the history
  • Loading branch information
stvstnfrd committed Aug 10, 2021
1 parent cb8e687 commit 1e17937
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lti_consumer/lti_1p3/extensions/rest_framework/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,11 @@ class UsageKeyField(serializers.Field):
from the platform like so:
`from openedx.core.lib.api.serializers import UsageKeyField`
"""
# pylint: disable=arguments-differ
def to_representation(self, data):
def to_representation(self, value):
"""
Convert a usage key to unicode.
"""
return str(data)
return str(value)

def to_internal_value(self, data):
"""
Expand Down

0 comments on commit 1e17937

Please sign in to comment.