Challenge: Safe Library Usage
Tehtävä
Swipe to start coding
Refactor the given code to follow safe third-party library usage practices.
- Pin exact versions of all third-party libraries in a
requirements.txtfile. - Document how to check for vulnerabilities in the pinned library versions.
- Update the import statements and usage patterns to reflect the pinned versions.
- Ensure the code uses only the allowed libraries.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 2. Luku 6
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Suggested prompts:
Can you explain that in simpler terms?
What are the main benefits of this?
Are there any common issues I should watch out for?
Awesome!
Completion rate improved to 5.56
Challenge: Safe Library Usage
Pyyhkäise näyttääksesi valikon
Tehtävä
Swipe to start coding
Refactor the given code to follow safe third-party library usage practices.
- Pin exact versions of all third-party libraries in a
requirements.txtfile. - Document how to check for vulnerabilities in the pinned library versions.
- Update the import statements and usage patterns to reflect the pinned versions.
- Ensure the code uses only the allowed libraries.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 2. Luku 6
single