Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Client.me() method to get current permissions #62

Merged
merged 5 commits into from
Dec 22, 2022
Merged

Conversation

atimin
Copy link
Member

@atimin atimin commented Dec 22, 2022

Closes #57

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • CHANGELOG.md have been updated (for bug fixes / features / docs)

What kind of change does this PR introduce?

Feature

What is the current behavior?

See #57

What is the new behavior?

I added the Client.me() method which returns the name and permission for the current API token by using GET /api/v1/me endpoint.

Does this PR introduce a breaking change?

No

Other information:

@atimin atimin merged commit e4c3ecb into main Dec 22, 2022
@atimin atimin deleted the reduct-py-57 branch December 22, 2022 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support ReductStore HTTP API v1.2
1 participant