Skip to content

Commit 7f8268c

Browse files
committed
trim docstring
1 parent ded1139 commit 7f8268c

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/sentry/identity/datadog/provider.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,7 @@ def _basic_auth_header(client_id: str, client_secret: str) -> str:
4242

4343

4444
def get_user_info(access_token: str, site: str) -> dict[str, Any]:
45-
"""Fetch the current Datadog user via ``GET /api/v2/current_user``.
46-
47-
Returns the ``data`` object containing ``id`` (user UUID) and
48-
``attributes`` (name, email, handle, etc.).
49-
"""
45+
"""Fetch the current Datadog user via ``GET /api/v2/current_user``."""
5046
url = f"https://api.{site}/api/v2/current_user"
5147
resp = safe_urlopen(url, method="GET", headers={"Authorization": f"Bearer {access_token}"})
5248
resp.raise_for_status()

0 commit comments

Comments
 (0)