#1458 Flytekit Auth system overhaul and pretty printing upgrade
Pull request opened by
kumare3
TL;DR
This PR introduces a new Oauth2 handling system in flytekit, that can be used in non flytekit python libraries that wish to use a standardized flow for flytekit. The standard flow is as defined in the RFC and a few additional supported methods.
The system uses client side -
grpc.Interceptors. for fine control on the auth flow. It also introduces exception wrapping and retrying interceptor.
As a last time, it improves the terminal output when using pyflyte. All the output is not distilled and the error is traced correctly. Eventually we could link to docs for the errors.
Type
☐ Bug Fix
☑︎ Feature
☐ Plugin
Are all requirements met?
☑︎ Code completed
☑︎ Smoke tested
☑︎ Unit tests added
☑︎ Code documentation added
☑︎ Any pending items have an associated Issue
flyteorg/flytekit
Codecov: 69.28% (-0.05%) compared to b3ad158
Codecov: 53.21% of diff hit (target 69.32%)
✅ 28 other checks have passed
28/30 successful checks