Files
langflow/src
Hamza Rashid 9012a5476a feat: revise deployment schemas (#12150)
* checkout schema revisions

* fix: harden deployment schema validation and close coverage gaps
- Add exactly-one validation to ConfigDeploymentBindingUpdate (both layers)
  using model_fields_set XOR for config_id vs raw_payload
- Add raw_payload field to service-layer ConfigDeploymentBindingUpdate for
  symmetry with the snapshot passthrough pattern
- Add deployment_type routing hint to execution methods (protocol, ABC, service)
- Unify duplicate handling: silent dedup everywhere (dict.fromkeys)
- Fix broken API tests after FlowVersionsAttach/Patch str→UUID migration
- Restore deleted test coverage (blank ids, order-preserving dedup) and add
  new tests for raw_payload, mutual exclusion, snapshot_ids, and noop rejection
- Add clarifying comments: overlap check ID domains, post-validation types,
  deployment_type scope in protocol docstring

* tighten update payload validation and add provider_data

* add validation for None fields and harden tests

* use explicit boolean to unbind config
2026-03-11 21:40:10 +00:00
..