Skip to content

Datasets create API - params validation #2016

@ihsaan-ullah

Description

@ihsaan-ullah

There are two fields in the datasets create api that are passed but not checked

  1. name
  2. file_name

There is no validation on these fields and seems important for the API. We need to check this in detail.

Also check the test in test_datasets: test_cannot_create_dataset_with_missing_fields to play with the test and do not pass name and file_name to see what happens.

NOTE

This api is used for competition, submission, programs, datasets creation so this should be checked with caution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Post-itInternal ideas

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions