Skip to content

Commit bcb9356

Browse files
authored
Merge pull request tecladocode#143 from LUS24/leospairani/cou-321-mistmatch-between-code-in-ebook-github-and-video
Leospairani/cou 321 mistmatch between code in ebook GitHub and video
2 parents f526a16 + 967bdc5 commit bcb9356

File tree

117 files changed

+117
-117
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+117
-117
lines changed

docs/docs/05_flask_smorest/06_api_with_method_views/README.md

Lines changed: 1 addition & 1 deletion

docs/docs/05_flask_smorest/06_api_with_method_views/end/resources/item.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from db import items
77

8-
blp = Blueprint("Items", "items", description="Operations on items")
8+
blp = Blueprint("Items", __name__, description="Operations on items")
99

1010

1111
@blp.route("/item/<string:item_id>")

docs/docs/05_flask_smorest/06_api_with_method_views/end/resources/store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from db import stores
66

77

8-
blp = Blueprint("Stores", "stores", description="Operations on stores")
8+
blp = Blueprint("Stores", __name__, description="Operations on stores")
99

1010

1111
@blp.route("/store/<string:store_id>")

docs/docs/05_flask_smorest/07_marshmallow_schemas/end/resources/item.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from db import items
77

8-
blp = Blueprint("Items", "items", description="Operations on items")
8+
blp = Blueprint("Items", __name__, description="Operations on items")
99

1010

1111
@blp.route("/item/<string:item_id>")

docs/docs/05_flask_smorest/07_marshmallow_schemas/end/resources/store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from db import stores
66

77

8-
blp = Blueprint("Stores", "stores", description="Operations on stores")
8+
blp = Blueprint("Stores", __name__, description="Operations on stores")
99

1010

1111
@blp.route("/store/<string:store_id>")

docs/docs/05_flask_smorest/07_marshmallow_schemas/start/resources/item.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from db import items
77

8-
blp = Blueprint("Items", "items", description="Operations on items")
8+
blp = Blueprint("Items", __name__, description="Operations on items")
99

1010

1111
@blp.route("/item/<string:item_id>")

docs/docs/05_flask_smorest/07_marshmallow_schemas/start/resources/store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from db import stores
66

77

8-
blp = Blueprint("Stores", "stores", description="Operations on stores")
8+
blp = Blueprint("Stores", __name__, description="Operations on stores")
99

1010

1111
@blp.route("/store/<string:store_id>")

docs/docs/05_flask_smorest/08_validation_with_marshmallow/end/resources/item.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from schemas import ItemSchema, ItemUpdateSchema
66
from db import items
77

8-
blp = Blueprint("Items", "items", description="Operations on items")
8+
blp = Blueprint("Items", __name__, description="Operations on items")
99

1010

1111
@blp.route("/item/<string:item_id>")

docs/docs/05_flask_smorest/08_validation_with_marshmallow/end/resources/store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from schemas import StoreSchema
66

77

8-
blp = Blueprint("Stores", "stores", description="Operations on stores")
8+
blp = Blueprint("Stores", __name__, description="Operations on stores")
99

1010

1111
@blp.route("/store/<string:store_id>")

docs/docs/05_flask_smorest/08_validation_with_marshmallow/start/resources/item.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from db import items
77

8-
blp = Blueprint("Items", "items", description="Operations on items")
8+
blp = Blueprint("Items", __name__, description="Operations on items")
99

1010

1111
@blp.route("/item/<string:item_id>")

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy