grafana-toolbox / grafana-client

Python client library for accessing the Grafana HTTP API.
MIT License
107 stars 30 forks source link

Enable user #131

Closed szuro closed 1 year ago

szuro commented 1 year ago

Description

Add method to enable/disable a given user. While not in Grafana docs, methods for enabling and disabling can be found in the source code

Checklist

codecov[bot] commented 1 year ago

Codecov Report

Merging #131 (69de715) into main (0481e06) will increase coverage by 0.03%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #131      +/-   ##
==========================================
+ Coverage   94.14%   94.18%   +0.03%     
==========================================
  Files          25       25              
  Lines        1623     1633      +10     
==========================================
+ Hits         1528     1538      +10     
  Misses         95       95              
Files Coverage Δ
grafana_client/elements/admin.py 100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes

:mega: Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

amotl commented 1 year ago

Dear Robert,

thanks a stack for your contribution.

With kind regards, Andreas.