Challenge: Safe Library Usage
Aufgabe
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ösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 2. Kapitel 6
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen
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
Swipe um das Menü anzuzeigen
Aufgabe
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ösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 2. Kapitel 6
single