Skip to content

Commit 9f81047

Browse files
authored
Merge branch 'master' into master
2 parents a0ecb28 + bcc93fc commit 9f81047

File tree

3 files changed

+33
-29
lines changed

3 files changed

+33
-29
lines changed

.devcontainer/devcontainer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@
2222
"extensions": ["learn-pack.learnpack-vscode"]
2323
}
2424
},
25+
<<<<<<< master
2526
"onCreateCommand": "pip3 install pytest==6.2.5 mock pytest-testdox toml && npm i @learnpack/[email protected] -g && learnpack plugins:install @learnpack/[email protected]"
27+
=======
28+
"onCreateCommand": "pip3 install pytest==6.2.5 mock pytest-testdox toml && npm i @learnpack/[email protected] -g && learnpack plugins:install @learnpack/[email protected]"
29+
>>>>>>> master
2630

2731
// Features to add to the dev container. More info: https://containers.dev/features.
2832
// "features": {},

.learn/exercises/07.1-test-post-todo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This is what you should have so far for the `POST /todos` endpoint. Take some ti
55
```python
66
@app.route('/todos', methods=['POST'])
77
def add_new_todo():
8-
request_body = request.json
8+
request_body = request.json()
99
print("Incoming request with the following body", request_body)
1010
return 'Response for the POST todo'
1111
```

learn.json

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
{
2-
"title": "Todo List API with Python Flask Interactive",
3-
"slug": "python-flask-api-tutorial",
4-
"status": "published",
5-
"solution": "https://github.com/breatheco-de/todo-list-api-interactive/tree/solution",
6-
"repository": "https://github.com/breatheco-de/python-flask-api-tutorial",
7-
"preview": "https://github.com/breatheco-de/python-flask-api-tutorial/blob/master/.learn/assets/preview.png?raw=true",
8-
"duration": 6,
9-
"grading": "incremental",
10-
"difficulty": "easy",
11-
"videoSolutions": false,
12-
"projectType": "tutorial",
13-
"bugsLink": "https://github.com/learnpack/learnpack/issues/new",
14-
"description": "Create a Todo list API Interactively using Python language and the Flask Framework",
15-
"technologies": [
16-
"python",
17-
"terminal",
18-
"command-line",
19-
"APIs",
20-
"REST"
21-
],
22-
"editor": {
23-
"version": "3.1.36"
24-
},
25-
"telemetry": {
26-
"batch": "https://breathecode.herokuapp.com/v1/assignment/me/telemetry"
27-
},
28-
"autoPlay": true,
29-
"projectType": "tutorial"
2+
"title": "Todo List API with Python Flask Interactive",
3+
"slug": "python-flask-api-tutorial",
4+
"status": "published",
5+
"solution": "https://github.com/breatheco-de/todo-list-api-interactive/tree/solution",
6+
"repository": "https://github.com/breatheco-de/python-flask-api-tutorial",
7+
"preview": "https://github.com/breatheco-de/python-flask-api-tutorial/blob/master/.learn/assets/preview.png?raw=true",
8+
"duration": 6,
9+
"grading": "incremental",
10+
"difficulty": "beginner",
11+
"videoSolutions": false,
12+
"projectType": "tutorial",
13+
"bugsLink": "https://github.com/learnpack/learnpack/issues/new",
14+
"description": "Create a Todo list API Interactively using Python language and the Flask Framework",
15+
"technologies": [
16+
"python",
17+
"terminal",
18+
"command-line",
19+
"APIs",
20+
"REST"
21+
],
22+
"editor": {
23+
"version": "3.1.40"
24+
},
25+
"telemetry": {
26+
"batch": "https://breathecode.herokuapp.com/v1/assignment/me/telemetry"
27+
},
28+
"autoPlay": true,
29+
"projectType": "tutorial"
3030
}

0 commit comments

Comments
 (0)