Skip to content

Make IO constructor signature consistent #1455

@apdavison

Description

@apdavison

Is your feature request related to a problem? Please describe.
Some IOs expect a single file name, others expect a single directory name, others expect a file basename, which is expanded to multiple file names with different extensions, others allow specifying files to include, others files to exclude from the listing in the directory.

This inconsistency is confusing.

Describe the solution you'd like
We should decide on a single policy for IO module constructors, and update IOs that don't conform (with a deprecation warning for the old keyword arguments for at least one 0.x release).

Additional context
See #1440 for an example of where not having a policy is a problem.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions