Skip to content

Commit

Permalink
Docstring clarifications
Browse files Browse the repository at this point in the history
Co-authored-by: Padraic Shafer <76011594+padraic-shafer@users.noreply.github.com>
  • Loading branch information
danielballan and padraic-shafer authored Dec 13, 2023
1 parent 75777a2 commit 618ff73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tiled/client/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -769,15 +769,15 @@ def create_api_key_other_principal(
self, uuid, scopes=None, expires_in=None, note=None
):
"""
Generate a new API for another user or service.
Generate a new API key for another user or service.
Parameters
----------
uuid : str
Identify the user or service
Identify the principal -- the user or service
scopes : Optional[List[str]]
Restrict the access available to the API key by listing specific scopes.
By default, this will have the same access as the user.
By default, this will have the same access as the principal.
expires_in : Optional[int]
Number of seconds until API key expires. If None,
it will never expire or it will have the maximum lifetime
Expand Down

0 comments on commit 618ff73

Please sign in to comment.