async def METHOD_NAME(tmp_path):
    # Test that a sequence of objects doesn't fail.
    # In this case, we're using Container.export's
    # platform_variants which is a Sequence[Container].
    variants = [
        dagger.container(platform=dagger.Platform(platform))
        .from_("alpine:3.16.2")
        .with_exec(["uname", "-m"])
        for platform in ("linux/amd64", "linux/arm64")
    ]
    await dagger.container().export(
        path=str(tmp_path / "export.tar.gz"),
        platform_variants=variants,
    )