Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ from flask_smorest import Blueprint, abort

from db import items

blp = Blueprint("Items", "items", description="Operations on items")
blp = Blueprint("Items", __name__, description="Operations on items")


@blp.route("/item/<string:item_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from db import items

blp = Blueprint("Items", "items", description="Operations on items")
blp = Blueprint("Items", __name__, description="Operations on items")


@blp.route("/item/<string:item_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from db import stores


blp = Blueprint("Stores", "stores", description="Operations on stores")
blp = Blueprint("Stores", __name__, description="Operations on stores")


@blp.route("/store/<string:store_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from db import items

blp = Blueprint("Items", "items", description="Operations on items")
blp = Blueprint("Items", __name__, description="Operations on items")


@blp.route("/item/<string:item_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from db import stores


blp = Blueprint("Stores", "stores", description="Operations on stores")
blp = Blueprint("Stores", __name__, description="Operations on stores")


@blp.route("/store/<string:store_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from db import items

blp = Blueprint("Items", "items", description="Operations on items")
blp = Blueprint("Items", __name__, description="Operations on items")


@blp.route("/item/<string:item_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from db import stores


blp = Blueprint("Stores", "stores", description="Operations on stores")
blp = Blueprint("Stores", __name__, description="Operations on stores")


@blp.route("/store/<string:store_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from schemas import ItemSchema, ItemUpdateSchema
from db import items

blp = Blueprint("Items", "items", description="Operations on items")
blp = Blueprint("Items", __name__, description="Operations on items")


@blp.route("/item/<string:item_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from schemas import StoreSchema


blp = Blueprint("Stores", "stores", description="Operations on stores")
blp = Blueprint("Stores", __name__, description="Operations on stores")


@blp.route("/store/<string:store_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from db import items

blp = Blueprint("Items", "items", description="Operations on items")
blp = Blueprint("Items", __name__, description="Operations on items")


@blp.route("/item/<string:item_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from db import stores


blp = Blueprint("Stores", "stores", description="Operations on stores")
blp = Blueprint("Stores", __name__, description="Operations on stores")


@blp.route("/store/<string:store_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ from db import stores
from schemas import StoreSchema


blp = Blueprint("Stores", "stores", description="Operations on stores")
blp = Blueprint("Stores", __name__, description="Operations on stores")


@blp.route("/store/<string:store_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from schemas import ItemSchema, ItemUpdateSchema
from db import items

blp = Blueprint("Items", "items", description="Operations on items")
blp = Blueprint("Items", __name__, description="Operations on items")


@blp.route("/item/<string:item_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from schemas import StoreSchema


blp = Blueprint("Stores", "stores", description="Operations on stores")
blp = Blueprint("Stores", __name__, description="Operations on stores")


@blp.route("/store/<string:store_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from schemas import ItemSchema, ItemUpdateSchema
from db import items

blp = Blueprint("Items", "items", description="Operations on items")
blp = Blueprint("Items", __name__, description="Operations on items")


@blp.route("/item/<string:item_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from schemas import StoreSchema


blp = Blueprint("Stores", "stores", description="Operations on stores")
blp = Blueprint("Stores", __name__, description="Operations on stores")


@blp.route("/store/<string:store_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from models import ItemModel
from schemas import ItemSchema, ItemUpdateSchema

blp = Blueprint("Items", "items", description="Operations on items")
blp = Blueprint("Items", __name__, description="Operations on items")


@blp.route("/item/<string:item_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from schemas import StoreSchema


blp = Blueprint("Stores", "stores", description="Operations on stores")
blp = Blueprint("Stores", __name__, description="Operations on stores")


@blp.route("/store/<string:store_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from models import ItemModel
from schemas import ItemSchema, ItemUpdateSchema

blp = Blueprint("Items", "items", description="Operations on items")
blp = Blueprint("Items", __name__, description="Operations on items")


@blp.route("/item/<string:item_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from schemas import StoreSchema


blp = Blueprint("Stores", "stores", description="Operations on stores")
blp = Blueprint("Stores", __name__, description="Operations on stores")


@blp.route("/store/<string:store_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from models import ItemModel
from schemas import ItemSchema, ItemUpdateSchema

blp = Blueprint("Items", "items", description="Operations on items")
blp = Blueprint("Items", __name__, description="Operations on items")


@blp.route("/item/<string:item_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from schemas import StoreSchema


blp = Blueprint("Stores", "stores", description="Operations on stores")
blp = Blueprint("Stores", __name__, description="Operations on stores")


@blp.route("/store/<string:store_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from models import ItemModel
from schemas import ItemSchema, ItemUpdateSchema

blp = Blueprint("Items", "items", description="Operations on items")
blp = Blueprint("Items", __name__, description="Operations on items")


@blp.route("/item/<string:item_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from schemas import StoreSchema


blp = Blueprint("Stores", "stores", description="Operations on stores")
blp = Blueprint("Stores", __name__, description="Operations on stores")


@blp.route("/store/<string:store_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from models import ItemModel
from schemas import ItemSchema, ItemUpdateSchema

blp = Blueprint("Items", "items", description="Operations on items")
blp = Blueprint("Items", __name__, description="Operations on items")


@blp.route("/item/<string:item_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from schemas import StoreSchema


blp = Blueprint("Stores", "stores", description="Operations on stores")
blp = Blueprint("Stores", __name__, description="Operations on stores")


@blp.route("/store/<string:store_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from models import ItemModel
from schemas import ItemSchema, ItemUpdateSchema

blp = Blueprint("Items", "items", description="Operations on items")
blp = Blueprint("Items", __name__, description="Operations on items")


@blp.route("/item/<string:item_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from schemas import StoreSchema


blp = Blueprint("Stores", "stores", description="Operations on stores")
blp = Blueprint("Stores", __name__, description="Operations on stores")


@blp.route("/store/<string:store_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from models import ItemModel
from schemas import ItemSchema, ItemUpdateSchema

blp = Blueprint("Items", "items", description="Operations on items")
blp = Blueprint("Items", __name__, description="Operations on items")


@blp.route("/item/<string:item_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from schemas import StoreSchema


blp = Blueprint("Stores", "stores", description="Operations on stores")
blp = Blueprint("Stores", __name__, description="Operations on stores")


@blp.route("/store/<string:store_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from models import ItemModel
from schemas import ItemSchema, ItemUpdateSchema

blp = Blueprint("Items", "items", description="Operations on items")
blp = Blueprint("Items", __name__, description="Operations on items")


@blp.route("/item/<string:item_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from schemas import StoreSchema


blp = Blueprint("Stores", "stores", description="Operations on stores")
blp = Blueprint("Stores", __name__, description="Operations on stores")


@blp.route("/store/<string:store_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from models import ItemModel
from schemas import ItemSchema, ItemUpdateSchema

blp = Blueprint("Items", "items", description="Operations on items")
blp = Blueprint("Items", __name__, description="Operations on items")


@blp.route("/item/<string:item_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from schemas import StoreSchema


blp = Blueprint("Stores", "stores", description="Operations on stores")
blp = Blueprint("Stores", __name__, description="Operations on stores")


@blp.route("/store/<string:store_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from models import ItemModel
from schemas import ItemSchema, ItemUpdateSchema

blp = Blueprint("Items", "items", description="Operations on items")
blp = Blueprint("Items", __name__, description="Operations on items")


@blp.route("/item/<string:item_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from schemas import StoreSchema


blp = Blueprint("Stores", "stores", description="Operations on stores")
blp = Blueprint("Stores", __name__, description="Operations on stores")


@blp.route("/store/<string:store_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from models import ItemModel
from schemas import ItemSchema, ItemUpdateSchema

blp = Blueprint("Items", "items", description="Operations on items")
blp = Blueprint("Items", __name__, description="Operations on items")


@blp.route("/item/<string:item_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from schemas import StoreSchema


blp = Blueprint("Stores", "stores", description="Operations on stores")
blp = Blueprint("Stores", __name__, description="Operations on stores")


@blp.route("/store/<string:store_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from models import ItemModel
from schemas import ItemSchema, ItemUpdateSchema

blp = Blueprint("Items", "items", description="Operations on items")
blp = Blueprint("Items", __name__, description="Operations on items")


@blp.route("/item/<string:item_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from schemas import StoreSchema


blp = Blueprint("Stores", "stores", description="Operations on stores")
blp = Blueprint("Stores", __name__, description="Operations on stores")


@blp.route("/store/<string:store_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from models import ItemModel
from schemas import ItemSchema, ItemUpdateSchema

blp = Blueprint("Items", "items", description="Operations on items")
blp = Blueprint("Items", __name__, description="Operations on items")


@blp.route("/item/<string:item_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from schemas import StoreSchema


blp = Blueprint("Stores", "stores", description="Operations on stores")
blp = Blueprint("Stores", __name__, description="Operations on stores")


@blp.route("/store/<string:store_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from models import ItemModel
from schemas import ItemSchema, ItemUpdateSchema

blp = Blueprint("Items", "items", description="Operations on items")
blp = Blueprint("Items", __name__, description="Operations on items")


@blp.route("/item/<string:item_id>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from schemas import StoreSchema


blp = Blueprint("Stores", "stores", description="Operations on stores")
blp = Blueprint("Stores", __name__, description="Operations on stores")


@blp.route("/store/<string:store_id>")
Expand Down
Loading