git_object_handlers.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:tidyextractors 作者: networks-lab 项目源码 文件源码
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.
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号