aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2024-02-13 21:06:27 +0000
committerGravatar GitHub <[email protected]>2024-02-13 21:06:27 +0000
commit7d967a99aac34a8f8e10f9f83f87f6d12610109d (patch)
tree246805bdecafcf618fc3098395f8eb4ae2d02ff4
parentFix path of docker-compose volume (diff)
Correct typos in Grafana API wrapper doc strings
Co-authored-by: wookie184 <[email protected]>
-rw-r--r--arthur/apis/grafana/teams.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/arthur/apis/grafana/teams.py b/arthur/apis/grafana/teams.py
index 5d582b5..cea2d5f 100644
--- a/arthur/apis/grafana/teams.py
+++ b/arthur/apis/grafana/teams.py
@@ -40,7 +40,7 @@ async def remove_user_from_team(
team_id: int,
session: aiohttp.ClientSession,
) -> dict[str, str]:
- """AdRemove a Grafana user from a team."""
+ """Remove a Grafana user from a team."""
endpoint = CONFIG.grafana_url + f"/api/teams/{team_id}/members/{user_id}"
async with session.delete(endpoint, headers=AUTH_HEADER) as response:
response.raise_for_status()
@@ -48,7 +48,7 @@ async def remove_user_from_team(
async def get_all_users(session: aiohttp.ClientSession) -> list[dict[str, str]]:
- """Get a grafana users."""
+ """Get all Grafana users."""
endpoint = CONFIG.grafana_url + "/api/org/users/lookup"
async with session.get(endpoint, headers=AUTH_HEADER) as response:
response.raise_for_status()