Skip to content

Commit

Permalink
Fix description of get all protocols return
Browse files Browse the repository at this point in the history
  • Loading branch information
brianbolt committed Oct 22, 2024
1 parent d11ac5b commit 4f843f3
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions acasclient/acasclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -979,14 +979,23 @@ def get_protocol_by_code(self, protocol_code):
return resp.json()

def get_all_protocols(self):
"""Get all protocols
"""Get all protocol code stubs
Get an array of all protocols
Args:
None
Returns: Returns an array of protocols
list of dict: Returns an array of protocol stubs in the format:
[
{
'id': int,
'code': str,
'name': str,
'ignored': str
},
...
]
"""
resp = self.session.get("{}/api/protocolCodes"
.format(self.url))
Expand Down

0 comments on commit 4f843f3

Please sign in to comment.