def add_resource(endpoint, pk_def, import_name): return add_api_rule(bp, endpoint, pk_def, 'flamaster.account.api.{}'.format(import_name))
def add_resource(endpoint, pk_def, import_name): return add_api_rule(product, endpoint, pk_def, 'flamaster.product.api.{}'.format(import_name))
def add_resource(endpoint, pk_def, import_name): return add_api_rule(bp, endpoint, pk_def, import_name)