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

Add a new resource_table_schema_infer action #76

Open
amercader opened this issue Nov 23, 2022 · 0 comments
Open

Add a new resource_table_schema_infer action #76

amercader opened this issue Nov 23, 2022 · 0 comments
Assignees
Milestone

Comments

@amercader
Copy link
Member

amercader commented Nov 23, 2022

This action returns the inferred Table Schema from an existing resource file (upload or link)

Details:

  • Name:
  • Auth: Should defer to resource_create
  • Params:
    • resource_id: a resource uuid
    • store_schema: a boolean flag to determine if the inferred schema should be stored to the resource (using resource_patch). Defaults to True (I have no strong opinions either way)
  • Output: let's return the generated Table Schema in a separate key in case we need to add extra fields to the response: {"schema": <Table Schema descriptor>}
@amercader amercader added this to the v2 milestone Nov 23, 2022
@amercader amercader added the v2 label Nov 23, 2022
@amercader amercader changed the title Add a new table_schema_infer action Add a new resource_table_schema_infer action Dec 2, 2022
@amercader amercader added Schema Editor and removed v2 labels Dec 2, 2022
@aivuk aivuk self-assigned this Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants