api.py 文件源码

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

项目:papermill 作者: nteract 项目源码 文件源码
def record(name, value):
    """
    Records the value as part of the executing cell's output to be retrieved
    during inspection.

    Args:
        name (str): Name of the value
        value: The value to record.

    """
    # IPython.display.display takes a tuple of objects as first parameter
    # `http://ipython.readthedocs.io/en/stable/api/generated/IPython.display.html#IPython.display.display`
    ip_display(({RECORD_OUTPUT_TYPE: {name: value}},), raw=True)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号