def handle_actor(name, obj):
"""
Actor object handler.
:param name: Unused String
:param obj: GitPython Actor
:return: Dictionary of attributes.
"""
return {'author_name': obj.name,
'author_email': obj.email}
# Handler functions to turn objects into usable attributes.
# Functions return a dictionary of attributes, which
# will appear in a row of the pandas dataframe.
git_object_handlers.py 文件源码
python
阅读 20
收藏 0
点赞 0
评论 0
评论列表
文章目录