Showing 1 of 2 total issues
Function create
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def create(shop_id, type):
"""Create an article."""
shop = _get_shop_or_404(shop_id)
type_ = _get_article_type_or_400(type)