iterative / dvc-studio-client

Client to interact with DVC Studio
http://docs.iterative.ai/dvc-studio-client/
Apache License 2.0
6 stars 6 forks source link

Rename initiate_authentication to get_access_token #120

Closed amritghimire closed 11 months ago

amritghimire commented 11 months ago

Enhanced token authorization tests for DVC Studio client with improved error checking and exception handling. Introduced get_access_token method to retrieve the Access Token from DVC Server. Added test cases for authorization expiry and error handling. Also added functionality to validate required scopes, which prominently include 'EXPERIMENTS', 'DATASETS', and 'MODELS'. Updated README with relevant changes.

codecov-commenter commented 11 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (f041a6b) 100.00% compared to head (7f7bfe7) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #120 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 4 4 Lines 254 292 +38 Branches 11 16 +5 ========================================= + Hits 254 292 +38 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.