Skip to content

Commit 39a85ec

Browse files
authored
Merge pull request #23 from Charlytoc/master
Update to the latest LearnPack verisons
2 parents 8b6eb7b + c484f39 commit 39a85ec

File tree

8 files changed

+8
-6
lines changed

8 files changed

+8
-6
lines changed

.devcontainer/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"extensions": ["learn-pack.learnpack-vscode"]
2222
}
2323
},
24-
"onCreateCommand": "pip3 install pytest==6.2.5 pytest-testdox mock toml requests && npm i @learnpack/learnpack@2.1.20 -g && learnpack plugins:install @learnpack/python@1.0.0"
24+
"onCreateCommand": "pip3 install pytest==6.2.5 pytest-testdox mock toml requests && npm i @learnpack/learnpack@2.1.39 -g && learnpack plugins:install @learnpack/python@1.0.3"
2525

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

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@
2121
!/.learn/resets/**
2222
!/.learn/assets
2323
!/.learn/assets/**
24+
25+
__pycache_

exercises/01-what-is-a-request/README.es.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 02 Creando una solicitud (request)
1+
# 01 Creando una solicitud (request)
22

33
Python tiene un [paquete de solicitud (requests package)](https://requests.readthedocs.io/en/master/) eso permite a los desarrolladores crear solicitudes HTTP con bastante facilidad.
44

exercises/01-what-is-a-request/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 02 Creating a request
1+
# 01 Creating a request
22

33
Python has a [requests package](https://requests.readthedocs.io/en/master/) that allows developers to create HTTP request pretty easily.
44

exercises/01-what-is-a-request/app.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import requests
22

33
url = "https://assets.breatheco.de/apis/fake/sample/404-example.php"
4+
# url = "https://assets.breatheco.de/apis/fake/sample/hello.php"
45
response = requests.get(url)
56

67
print("The response status is: "+str(response.status_code))

learn.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"slug": "python-http-requests-api-tutorial-exercises",
88
"description": {
9-
"us": "Learn interactively to consume and create HTTP requests to API's using Python",
9+
"us": "Learn interactively to consume and create HTTP requests to APIs using Python",
1010
"es": "Aprende interactivamente cómo consumir APIs y hacer requests HTTP con Python"
1111
},
1212
"repository": "https://github.com/4GeeksAcademy/python-http-requests-api-tutorial-exercises",
@@ -19,7 +19,6 @@
1919
"autoPlay": true,
2020
"bugsLink": "https://github.com/learnpack/learnpack/issues/new",
2121
"editor": {
22-
"version": "1.0.73"
22+
"version": "3.1.23"
2323
}
24-
2524
}

0 commit comments

Comments
 (0)