get_json.py 文件源码

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

项目:demo-day-vikings 作者: Mester 项目源码 文件源码
def is_json_unique(db, json_object):
    """
    Checks if the url of this post is present in 
    the database already
    """
    q = Query()
    if len(db.search(q.url == json_object['url'])) == 0:
        return True
    return False
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号