:wave: Hey folks, I'm fairly new to Datahub. I'm t...
# advice-metadata-modeling
c
👋 Hey folks, I'm fairly new to Datahub. I'm trying to use the VersionInfo aspect because I want to record links to git commits that affect a data job. I see it exists in entity-registry.yml, but not in DataJobAspect.pdl. Do I need to add it to the union?
I was able to construct a
MetadataChangeProposalWrapper
with a
VersionInfoClass
and use the Python emitter to submit a
versionInfo
to a DataJob. Confirmed with the
/entitiesV2/<urn>
endpoint that the
versionInfo
aspect is present and updated
A couple of questions at this point: 1. How do you fetch arbitrary aspects with the GraphQL API, if they're only added via
entity-registry.yml
and not anywhere else? 2. I'd like to fetch the 10-20 most recent versions of this aspect for a given datajob. The "Get a range of Versioned Aspects" api section says it's coming soon...is such an API available now?