Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Empty values for branches when using list_commits() #2

Closed
RaananHadar opened this issue Aug 17, 2019 · 1 comment
Closed

Empty values for branches when using list_commits() #2

RaananHadar opened this issue Aug 17, 2019 · 1 comment

Comments

@RaananHadar
Copy link

Describe the bug
When I used client.list_commits(), the dataframe contains empty values in Branch.

To Reproduce
Steps to reproduce the behavior:

  1. I added data and created pipelines with the pachyderm tutorial
  2. get some work done on images to populate edges and stats
  3. run client.list_commits("edges", n=3)
  4. values of "Branch" columns are empty after the head value.
  5. this also happens for the "images" repo.

Expected behavior.
Values of should show the proper branch for all commits

Environment:

  • OS: ubuntu 18.04
  • Python Version: 3.6.8
  • Pachyderm Version: 1.9.0
@itssimon
Copy link
Owner

What you're describing is actually the intended behaviour. See below excerpt from the Pachyderm docs:

A Pachyderm branch is a pointer, or an alias, to a commit that moves along with new commits as they are submitted.

So in other words, a branch is only ever associated with a single commit, which is why the other commits have a blank value in the "Branch" column.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants