Skip to content

How to convert Commit object to dictionary #1197

Answered by Byron
mayurjs26 asked this question in Q&A
Discussion options

You must be logged in to vote

Probably one can be built like this…

d = {message: commit.message} # add more fields as needed

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Byron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants