apache / superset

Apache Superset is a Data Visualization and Data Exploration Platform
https://superset.apache.org/
Apache License 2.0
61.59k stars 13.45k forks source link

Extend API to handle uuid #29572

Open dankor opened 1 month ago

dankor commented 1 month ago

Bug description

Long story short: I'd like to be able to read/modify uuid via API.

Right know we have uuid in databases only. Plus, exporter/importer API.

It makes sense to have this functionality in the general API. My use case is to have persistent identifier for each resource as id may change if you, say, recreate the resource, but you can always find it via uuid.

How to reproduce the bug

Expected: requests below should return uuid field.

Actual result: Only database works. The same for PUT/POST requests.

Screenshots/recordings

No response

Superset version

4.0.1

Python version

3.11

Node version

16

Browser

Firefox

Additional context

No response

Checklist

dankor commented 1 month ago

My PR.