def insert_brands():
    brand_name = request.json.get('brand_name')
    shopkeeper_id = request.json.get('shopkeeper_id')
    own_brand = request.json.get("own_brand")
    #print("This is ownbrand",own_brand)
    b = Brands(brand_name, shopkeeper_id, own_brand)
    res = OPP.process_insert_brands(b)
    return res
def insert_brands():
    brand_name = request.json.get('brand_name')
    shopkeeper_id = request.json.get('shopkeeper_id')
    b = Brands(brand_name,shopkeeper_id)
    res =OPP.process_insert_brands(b)
    return res