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

Extend API to handle uuid #29572

Open
3 tasks done
dankor opened this issue Jul 12, 2024 · 1 comment
Open
3 tasks done

Extend API to handle uuid #29572

dankor opened this issue Jul 12, 2024 · 1 comment
Labels
api Related to the REST API

Comments

@dankor
Copy link

dankor commented Jul 12, 2024

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

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
@dosubot dosubot bot added the api Related to the REST API label Jul 12, 2024
@dankor
Copy link
Author

dankor commented Jul 12, 2024

My PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Related to the REST API
Projects
None yet
Development

No branches or pull requests

1 participant