Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement the CSV Dialect schema for the header #2

Closed
dalonsoa opened this issue May 19, 2022 · 1 comment · Fixed by #93
Closed

Implement the CSV Dialect schema for the header #2

dalonsoa opened this issue May 19, 2022 · 1 comment · Fixed by #93
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers Hacktoberfest
Milestone

Comments

@dalonsoa
Copy link
Collaborator

dalonsoa commented May 19, 2022

Problem

Implementing the CSV Dialect schema in the header will expose the format of the tabular data before any attempt of loading it, removing any guessing work from the suer and/or the reading functions.

Possible solution

Implement the CSV Dialect as a pydantic object.

Using this schema will be done in a separate PR.

@dalonsoa dalonsoa added the enhancement New feature or request label May 19, 2022
@dalonsoa dalonsoa added this to the v1.0.0 milestone May 19, 2022
@dalonsoa
Copy link
Collaborator Author

Rather than using jsonschema here, we could use pydantic, as it is becoming more popular and we use it in other projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers Hacktoberfest
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant