Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Commit

Permalink
docs: Add versionadded tags
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed Dec 6, 2018
1 parent 3592d12 commit 0232881
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ai/backend/client/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ def __init__(self, agent_id):
async def info(self, fields: Iterable[str] = None) -> dict:
'''
Returns the agent's information including resource capacity and usage.
.. versionadded:: 18.12
'''
if fields is None:
fields = (
Expand Down
2 changes: 2 additions & 0 deletions src/ai/backend/client/keypair.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ async def info(self, fields: Iterable[str] = None) -> dict:
Returns the keypair's information such as resource limits.
:param fields: Additional per-agent query fields to fetch.
.. versionadded:: 18.12
'''
if fields is None:
fields = (
Expand Down

0 comments on commit 0232881

Please sign in to comment.