amoghrajesh commented on code in PR #76575:
URL: https://github.com/apache/airflow/pull/76575#discussion_r4520292926


##########
dev/registry/registry_contract_models.py:
##########
@@ -146,6 +146,11 @@ class ModuleContract(BaseModel):
     provider_name: str | None = None
     supports_durable_execution: bool = False
     supports_deferrable: bool = False
+    durable_mechanism: Literal["marker", "resumable_mixin"] | None = None

Review Comment:
   Done. `ModuleContract` now has only `durable_gating_provider`, 
`durable_since_version` and `durable_opt_in`. The two internal fields moved to 
a new `ExtractedModuleContract` subclass, used by the extractor and the merge 
step only.
   
   `fill_durable_versions.py` drops them once it has the version, including on 
a tagless checkout where it dates nothing but still has to strip. Re-ran the 
full extraction: 0 of 654 modules carry them, and they are gone from 
`registry/schemas/openapi.json`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to