It would be helpful if DataOps exposed the resolved version used by load operations such as BlobEndpoint.get_dataframe().
Right now callers can pass a version_spec like <=2026-07-09T00-00-00, and DataOps resolves that internally via _get_version_blobs(...). However, the public return value is only the loaded dataframe. Downstream pipeline code that needs to record data freshness or provenance has to reimplement version resolution separately, or call lower-level/private APIs, to know which version was actually selected.
A backwards-compatible way to support this would be to add an optional flag that returns metadata alongside the existing result.
df, metadata = endpoint.load.get_dataframe(
output="pl",
version_spec="<=2026-07-09T00-00-00",
include_metadata=True,
)
Then metadata might look like
{
"version": "2026-07-08T00-00-00",
"version_spec": "<=2026-07-09T00-00-00",
"selection": "newest",
...
}
Alternatively, we could alter the return type for include_metadata=True. Then you could access the object with
result = endpoint.load.get_dataframe(..., incldue_metadata=True)
result.dataframe
result.version
result.version_spec
result.blob_names
It would be helpful if DataOps exposed the resolved version used by load operations such as
BlobEndpoint.get_dataframe().Right now callers can pass a
version_speclike<=2026-07-09T00-00-00, and DataOps resolves that internally via_get_version_blobs(...). However, the public return value is only the loaded dataframe. Downstream pipeline code that needs to record data freshness or provenance has to reimplement version resolution separately, or call lower-level/private APIs, to know which version was actually selected.A backwards-compatible way to support this would be to add an optional flag that returns metadata alongside the existing result.
Then
metadatamight look likeAlternatively, we could alter the return type for
include_metadata=True. Then you could access the object with