Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to convert Commit object to dictionary #1197

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

Need to convert Commit object to dictionary, to use it in multiprocessing. Please let me know how can it be done.

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

Probably one can be built like this...

d = {message: commit.message} # add more fields as needed
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

AltStyle によって変換されたページ (->オリジナル) /