Skip to content

Conversation

@jh-RLI
Copy link
Contributor

@jh-RLI jh-RLI commented Jul 30, 2025

Summary of the discussion

Since oemetadata v2 was released, we introduced datasets. Currently only the metadata supports creating them, there is no API or UI which could be used to create a dataset, list availabale datasets or even edit datasets.

This PR implements datasets in the OEP and adds a REST-API as first step. Later on the Upload-Wizard will reworked and enhanced for dataset support.

Type of change (CHANGELOG.md)

Features

  • Add Dataset rest-api and metadata based concept as specified in oemetadata / frictionless (#2071)

    • Resource metadata is stored for each created table.
    • Dataset objects can be listed, created, edited and existing tables can be assigned as resource
    • Datasets and assigned Resources are stored in the django database using a m:n relation with tables to read the oemetadata.
    • Rest api implementation

Documentation updates

Workflow checklist

Automation

Closes #1971

PR-Assignee

Reviewer

  • 🐙 Follow the Reviewer Guidelines
  • 🐙 Provided feedback and show sufficient appreciation for the work done

@jh-RLI jh-RLI changed the title Add oep-datasets Add oep-datasets rest-api Jul 30, 2025
jh-RLI added 9 commits August 1, 2025 09:47
- Add model to dataedit app which n:m relation to tables
- Add  hybrid api endpoint for read and create datasets
- Use DRF serializer to handle client data from request
- add service to handle dataset creation
- add migration
- add serializer to process table assignment client request data
- add serializer to list dataset resource with data from table model
- Add views to edit  / delete datasets, assign tables as ressources to a dataset
- list dataset resources (tables)
- Make sure every table got a minimal set of oemetadata resource information in case the user did not provide any info
- Adding oemetadata on table creation from latest template if no metadata is provided
- Auto set some values: name, topics, fields(name, data type and nullable)
…esource metadata by only reading out the resources[0] element and add it to the dataset metadata
@jh-RLI jh-RLI marked this pull request as ready for review August 4, 2025 10:24
@jh-RLI jh-RLI self-assigned this Aug 4, 2025
@jh-RLI jh-RLI requested a review from wingechr August 4, 2025 12:33
@jh-RLI jh-RLI changed the base branch from develop to schema-dissolve-1356-phase2 October 21, 2025 12:27
@jh-RLI jh-RLI changed the base branch from schema-dissolve-1356-phase2 to develop October 21, 2025 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement datasets API

2 participants