ml6team / fondant

Production-ready data processing made easy and shareable
https://fondant.ai/en/stable/
Apache License 2.0
339 stars 26 forks source link

Outdated documentation on custom components page #798

Open picousse opened 9 months ago

picousse commented 9 months ago

I have using a custom component, based on:

https://fondant.ai/en/latest/components/components/#custom-components

dataset = dataset.apply(
    component_dir="components/biopython",
    arguments={
        "sequences": "Sequence"
    }
)

But this errors:

image

RobbeSneyders commented 9 months ago

Thanks @picousse

This is outdated in the documentation. You can provide it as a positional argument instead:

dataset = dataset.apply(
    "components/biopython",
    arguments={
        "sequences": "Sequence"
    }
)
picousse commented 9 months ago

Just found it myself as well. thx for the swift response