Join Slack
Powered by
Is there a way to use the Python SDK to retrieved ...
# ingestion
b
better-orange-49102
09/13/2022, 2:21 PM
Is there a way to use the Python SDK to retrieved
past
versions of an aspect? I mean I could go to RDBMS to retrieve the stored string but thats not very ideal. iirc I can use curl commands
g
gentle-camera-33498
09/13/2022, 4:41 PM
Today, I don't know how. But, changing the graphql client to add a "version" parameter on get_aspect_v2 maybe bring this possibility.
https://github.com/datahub-project/datahub/blob/d60f789519479f106a23e91070db530000[…]c19314/metadata-ingestion/src/datahub/ingestion/graph/client.py
b
better-orange-49102
09/13/2022, 11:11 PM
Ah thanks for pointing it out. I can roll with this. Anyways I know I can get past versions via restli, just that it's a pain to use
g
gray-shoe-75895
09/14/2022, 4:55 AM
Let’s support it properly
https://github.com/datahub-project/datahub/pull/5934
🙂
2
Views
Open in Slack
Previous
Next