Skip to content

Add validation between input_col and fn for Callable DataPipes #362

@ejguan

Description

@ejguan

🚀 The feature

Using inspect to validate the input_col matching fn input for Mapper, Flatmapper and other DataPipe using both input_col and fn as the arguments.

Motivation, pitch

This would help users to identify the wrong arguments at the construction time for such IterDataPipe rather than at iteration time.

Alternatives

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions