Skip to content

Commit 8ba2f69

Browse files
committed
tasks: remove pending tasks in lecture files
1 parent cade12d commit 8ba2f69

File tree

26 files changed

+0
-153
lines changed

26 files changed

+0
-153
lines changed

docs/docs/05_flask_smorest/02_data_model_improvements/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ description: "Use dictionaries instead of lists for data storage, and store stor
55

66
# Data model improvements
77

8-
- [x] Set metadata above
9-
- [x] Start writing!
10-
- [x] Create `start` folder
11-
- [x] Create `end` folder
12-
- [ ] Create per-file diff between `end` and `start` (use "Compare Folders")
13-
148
## Starting code from section 4
159

1610
This is the "First REST API" project from Section 4:

docs/docs/05_flask_smorest/03_improvements_on_first_rest_api/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ description: "Add new error handling and code improvements to the REST API befor
55

66
# Improvements to our first REST API
77

8-
- [x] Set metadata above
9-
- [x] Start writing!
10-
- [x] Create `start` folder
11-
- [x] Create `end` folder
12-
- [ ] Create per-file diff between `end` and `start` (use "Compare Folders")
13-
148
## Using `flask_smorest.abort` instead of returning errors manually
159

1610
At the moment in our API we're doing things like these in case of an error:

docs/docs/05_flask_smorest/04_new_endpoints_for_api/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ description: "Let's add a few routes to our first REST API, so it better matches
55

66
# New endpoints for our REST API
77

8-
- [x] Set metadata above
9-
- [x] Start writing!
10-
- [x] Create `start` folder
11-
- [x] Create `end` folder
12-
- [ ] Create per-file diff between `end` and `start` (use "Compare Folders")
13-
148
## New endpoints
159

1610
We want to add some endpoints for added functionality:

docs/docs/05_flask_smorest/05_reload_api_docker_container/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ description: "Learn how to get your code instantly synced up to the Docker conta
55

66
# Reloading API code in Docker container
77

8-
- [x] Set metadata above
9-
- [x] Start writing!
10-
- [x] Create `start` folder
11-
- [x] Create `end` folder
12-
- [ ] Create per-file diff between `end` and `start` (use "Compare Folders")
13-
148
## Updating Dockerfile to use `requirements.txt`
159

1610
This is the Dockerfile as we've got it:

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ description: Flask-Smorest MethodViews allow us to simplify API Resources by def
55

66
# How to use Flask-Smorest MethodViews and Blueprints
77

8-
- [x] Set metadata above
9-
- [x] Start writing!
10-
- [x] Create `start` folder
11-
- [x] Create `end` folder
12-
- [ ] Create per-file diff between `end` and `start` (use "Compare Folders")
13-
148
Let's improve the structure of our code by splitting items and stores endpoints into their own files.
159

1610
Let's create a `resources` folder, and inside it create `item.py` and `store.py`.

docs/docs/05_flask_smorest/07_marshmallow_schemas/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ description: A marshmallow schema is useful for validation and serialization. Le
55

66
# Adding marshmallow schemas
77

8-
- [x] Set metadata above
9-
- [x] Start writing!
10-
- [x] Create `start` folder
11-
- [x] Create `end` folder
12-
- [ ] Create per-file diff between `end` and `start` (use "Compare Folders")
13-
148
Something that we're lacking in our API at the moment is validation. We've done a _tiny_ bit of it with this kind of code:
159

1610
```py

docs/docs/05_flask_smorest/08_validation_with_marshmallow/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ description: We can use the marshmallow library to validate request data from ou
55

66
# Validation with marshmallow
77

8-
- [x] Set metadata above
9-
- [x] Start writing!
10-
- [x] Create `start` folder
11-
- [x] Create `end` folder
12-
- [ ] Create per-file diff between `end` and `start` (use "Compare Folders")
13-
148
Now that we've got our schemas written, let's use them to validate incoming data to our API.
159

1610
With Flask-Smorest, this couldn't be easier!

docs/docs/05_flask_smorest/09_decorating_responses/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ description: Add response serialization and status code to API endpoints, and ad
55

66
# Decorating responses with Flask-Smorest
77

8-
- [x] Set metadata above
9-
- [x] Start writing!
10-
- [x] Create `start` folder
11-
- [x] Create `end` folder
12-
- [ ] Create per-file diff between `end` and `start` (use "Compare Folders")
13-
148
We can use marshmallow schemas for serialization when we respond to a client. To do so, we need to tell Flask-Smorest what Schema to use when responding.
159

1610
This will do a few things:

docs/docs/06_sql_storage_sqlalchemy/01_project_overview_sqlalchemy/README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ description: Let's look at what we'll do in this section. There are no changes t
55

66
# Project Overview (and why use SQLAlchemy)
77

8-
- [x] Set metadata above
9-
- [x] Start writing!
10-
118
In this section we'll make absolutely no changes to the API! However, we will completely change the way we store data.
129

1310
Up until now, we've been storing data in an "in-memory database": a couple of Python dictionaries. When we stop the app, the data is destroyed. This is obviously not great, so we want to move to a proper store that can keep data around between app restarts!

docs/docs/06_sql_storage_sqlalchemy/03_one_to_many_relationships_sqlalchemy/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ description: Model relationships let us easily retrieve information about a rela
55

66
# One-to-many relationships with SQLAlchemy
77

8-
- [x] Set metadata above
9-
- [x] Start writing!
10-
- [x] Create `start` folder
11-
- [x] Create `end` folder
12-
- [ ] Create per-file diff between `end` and `start` (use "Compare Folders")
13-
148
```python title="models/item.py"
159
from db import db
1610

0 commit comments

Comments
 (0)