https://prefect.io logo
Title
a

aaron

08/04/2022, 6:09 PM
Hello! Is there a reason the credentials implementation in prefect-github is a Python dataclass and not a Prefect block (as it is in prefect-aws.credentials, for instance)?
k

Khuyen Tran

08/04/2022, 6:11 PM
Credentials implementation in prefect-github is created before the concept of Prefect block is introduced. Do you prefer to specify the credentials through s block?
a

aaron

08/04/2022, 6:12 PM
Well it seems as though that is the preferred mechanism for storing configuration or secrets in 2.0. Is that not the case?
k

Khuyen Tran

08/04/2022, 6:17 PM
yes that is correct
a

alex

08/04/2022, 6:25 PM
Hey @aaron! As a matter of fact, we have a PR open to convert
GitHubCredentials
into a block! I expect we’ll have a release for
prefect-github
introducing this new functionality it a couple of days!
:upvote: 1
🙌 2
a

aaron

08/04/2022, 7:55 PM
thank you!