Commit 7748b9b9 authored by Raphaël Hertzog's avatar Raphaël Hertzog

vendor: fix documentation of get_tables_for_team_page()

parent e4604a9a
Pipeline #50295 passed with stages
in 11 minutes and 3 seconds
......@@ -561,14 +561,12 @@ def get_bug_display_manager_class():
def get_tables_for_team_page(team, limit):
"""
The function must return a list of :class:`BaseTableField` objects
to be displayed in the main page of teams
The function must return a list of :class:`BasePackageTable` objects
to be displayed in the main page of teams.
:param team: The team for which the tables must be added.
:type package: :class:`Team
<distro_tracker.core.models.Team>`
:param limit: The number of packages to be displayed in the tables
:type limit: Integer
:type package: :class:`Team <distro_tracker.core.models.Team>`
:param int limit: The number of packages to be displayed in the tables.
"""
return [
create_table(slug='general', scope=team, limit=limit),
......
......@@ -322,13 +322,11 @@ def get_bug_display_manager_class():
def get_tables_for_team_page(team, limit):
"""
The function must return a list of :class:`BaseTableField` objects
to be displayed in the main page of teams
The function must return a list of :class:`BasePackageTable` objects
to be displayed in the main page of teams.
:param team: The team for which the tables must be added.
:type package: :class:`Team
<distro_tracker.core.models.Team>`
:param limit: The number of packages to be displayed in the tables
:type limit: Integer
:type package: :class:`Team <distro_tracker.core.models.Team>`
:param int limit: The number of packages to be displayed in the tables.
"""
pass
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment