Challenge: Safe Library Usage
Uppgift
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.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 2. Kapitel 6
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Awesome!
Completion rate improved to 5.56
Challenge: Safe Library Usage
Svep för att visa menyn
Uppgift
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.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 2. Kapitel 6
single