Challenge: Safe Library Usage
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 2. Kapittel 6
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Fantastisk!
Completion rate forbedret til 5.56
Challenge: Safe Library Usage
Sveip for å vise menyen
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 2. Kapittel 6
single