-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
update CDK airbyte protocol models to fix master
build
#12829
Conversation
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, but it will be nice to have someone more familliar with this file to do a review
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.
I guess since this is auto-generated from the Java code... this seems reasonable.
Can you test a few of the GA connectors against this update to confirm that the change really isn't breaking (use the /
commands on this PR)? AirbyteStateMessage
did gain some properties that it didn't have before.
|
||
state_type: Optional[AirbyteStateType] = None | ||
data: Optional[Dict[str, Any]] = Field(None, description="(Deprecated) the state data") | ||
global_: Optional[AirbyteStateBlob] = Field(None, alias="global") |
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.
@pedroslopez the global_
is correct?
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.
Nice catch! Yeah... global
is a reserved word in python, so the generator added the underscore, making it global_
.
@evantahler I was not able to run the |
What
The airbyte protocol was updated in #12586, which is now causing the Connectors Base build to fail due to some generated files within the CDK.
How
Re-generate the
airbyte_protocol.py
file.Since we're not using this new state structure in the CDK yet a release shouldn't be required.