-
Notifications
You must be signed in to change notification settings - Fork 44.7k
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
refactor(backend): Simplify CredentialsField
usage + use ProviderName
globally
#8725
Conversation
Haven't reviewed or tested yet - but is this going to be a breaking change for ppls existing blocks at all? |
Nope, this is purely a refactor for DX purposes. Serialization and validation of existing objects shouldn't be affected. |
c415bd0
to
397ae0b
Compare
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly. |
✅ Deploy Preview for auto-gpt-docs canceled.
|
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly. |
Changes 🏗️
credentials
inputscredentials
sub-schema validation fromCredentialsField
toCredentialsMetaInput.validate_credentials_field_schema(..)
, which is called inBlockSchema.__pydantic_init_subclass__
ProviderName
enum globally