From 7d967a99aac34a8f8e10f9f83f87f6d12610109d Mon Sep 17 00:00:00 2001 From: ChrisJL Date: Tue, 13 Feb 2024 21:06:27 +0000 Subject: Correct typos in Grafana API wrapper doc strings Co-authored-by: wookie184 --- arthur/apis/grafana/teams.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arthur/apis/grafana/teams.py') 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() -- cgit v1.2.3