Skip to content

Commit

Permalink
Merge pull request #143 from LUS24/leospairani/cou-321-mistmatch-betw…
Browse files Browse the repository at this point in the history
…een-code-in-ebook-github-and-video

Leospairani/cou 321 mistmatch between code in ebook GitHub and video
  • Loading branch information
jslvtr authored Nov 3, 2023
2 parents f526a16 + 967bdc5 commit bcb9356
Show file tree
Hide file tree
Showing 117 changed files with 117 additions and 117 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,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 @@ -123,7 +123,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

1 comment on commit bcb9356

@vercel
Copy link

@vercel vercel bot commented on bcb9356 Nov 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.