Challenge: Safe Library Usage
Tâche
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.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 2. Chapitre 6
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Awesome!
Completion rate improved to 5.56
Challenge: Safe Library Usage
Glissez pour afficher le menu
Tâche
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.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 2. Chapitre 6
single