Skip to content

Document expected schema for generic components #795

Open
@picousse

Description

@picousse

hi,
some minor stuff I encountered running locally.

Current code:

import pyarrow as pa
pipeline = Pipeline(
    name="protein_pipeline",
    base_path="./data",
)

dataset = pipeline.read(
    "load_from_parquet",
    arguments={
        "dataset_uri": "/data/proteins.parquet",
    },
)

from fondant.pipeline.runner import DockerRunner

runner = DockerRunner()
runner.run(input=pipeline)

what was unclear for me:

  • data path. This the path in the docker (/data/...). This is unclear based on the documentation (or I might have missed it)
  • for load_from_parquet, the produces values are crucial. there is no type inference.

I read https://fondant.ai/en/latest/pipeline/ and both issue did not seem clear to me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions