Front End Web Developer Question: Download Questions PDF
Please tell me what is a Thread-Local object in Python Flask?
![Front End Web Developer Interview Answer Front End Web Developer Interview Question](https://globalguideline.com/public/images/interview/17.png)
Answer:
Flask uses thread local objects internally so that user don’t have to pass objects around from function to function within a request in order to stay threadsafe. This approach is useful, but it requires a valid request context for dependency injection or when attempting to reuse code which uses a value pegged to the request.
Download Front End Web Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Tell me some Common Ie6 Bugs And How You Dealt With Them? | Tell me a time that you used Prototypal OO in JavaScript? |