def test_validate_as_ellipsis_preserves_other_steps() -> None:
    """https://github.com/pydantic/pydantic/issues/11624"""

    ta = TypeAdapter[float](Annotated[float, validate_as(str).transform(lambda v: v.split()[0]).validate_as(...)])

    assert ta.validate_python('12 ab') == 12.0
https://github.com/pydantic/pydantic/issues/11624
tests/test_pipeline.py