Skip to content

Commit fbb631d

Browse files
authored
fix: fixing the docstring
1 parent 6aeb50d commit fbb631d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

openedx_filters/learning/filters.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1468,7 +1468,7 @@ class AccountSettingsReadOnlyFieldsRequested(OpenEdxPublicFilter):
14681468
filter_type = "org.openedx.learning.account.settings.read_only_fields.requested.v1"
14691469

14701470
@classmethod
1471-
def run_filter(cls, readonly_fields: set, user: Any) -> tuple[Any, Any]:
1471+
def run_filter(cls, readonly_fields: set, user: Any) -> tuple[set, Any]:
14721472
"""
14731473
Process the readonly_fields set using the configured pipeline steps.
14741474
@@ -1479,7 +1479,9 @@ def run_filter(cls, readonly_fields: set, user: Any) -> tuple[Any, Any]:
14791479
user (User): the Django User whose account settings are being updated.
14801480
14811481
Returns:
1482-
set: the (possibly expanded) set of read-only field names.
1482+
tuple[set | Any]:
1483+
set: the (possibly expanded) set of read-only field names.
1484+
Any: the Django User object.
14831485
"""
14841486
data = super().run_pipeline(readonly_fields=readonly_fields, user=user)
14851487
return (data.get("readonly_fields"), data.get("user"))

0 commit comments

Comments
 (0)