docs(access): correct doc warnings

!28
This commit is contained in:
2024-06-17 23:33:18 +09:30
parent 27b62d1018
commit 8abbf2ff9e
2 changed files with 4 additions and 7 deletions

View File

@ -25,7 +25,7 @@ class OrganizationMixin():
Requires attribute `parent_model` within the view with the value of the parent's model class
Returns:
parent_model: with PK from kwargs['pk']
parent_model (Model): with PK from kwargs['pk']
"""
return self.parent_model.objects.get(pk=self.kwargs['pk'])
@ -127,11 +127,8 @@ class OrganizationMixin():
Get All groups the user is part of, fetch the associated team,
iterate over the results adding the organization ID to a list to be returned.
Args:
request (_type_): Current http request
Returns:
_type_: _description_
_type_: User Organizations.
"""
user_organizations = []