-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
AIP-44 Migrate to new serializer #31213
Comments
Might still be a good idea actually. It should not be that hard. |
This is one of the remainin points for AIP-44, and I think we might consider using the "serde" serializer instead the "DAG" serializer still. The code to wire it up should be just moved to a "Pydantic" module, I guess and since we are going to have automated tests running in Database Isolation mode #41067 - it should be still safe to change it while we are preparing for 2.10.0rc1. If anyone of the assigned people would like to take care about it - I think it's also a good opportunity to learn about the serializer. @gyli - maybe as preparation and getting to understand more about the scope of #41067 that might be good task for you? |
Yeah I can try that, and hopefully I can co-own this issue with someone who's familiar with internal_api_call and rpc server. Still trying to figure out how I can test it other than unit tests right now. |
Sure. It's all rather well defined. Let me describe the options of testing. Might be also useful for others:
This one will start Breeze container (the first time image might need to be build if you've never done it). Then once you enter the container it will run airflow in multiple tereminals (it splits terminal using Breeze is mounting the code from your project to the container, so once you modify the code, it's enough to Ctrl-C the component, press up arrow to see last command and run it again. This is the single most useful tool to test things end-to-end
One tests that fully works for now is
serialized_objcects to make internal_api works and it all should be done via serde module. For now running the end-to-end start-airflow is the easiest way to test it - once we complete the "db-isolated tests` #41067 we will be able to verify it in regular CI PR.
|
Use new serializer in place BaseSerizalization for
@internal_api_call
and rpc serverThe text was updated successfully, but these errors were encountered: