What is the role of Flask's g object?

Instruction: Describe the purpose and use of Flask's global `g` object.

Context: This question probes the candidate's understanding of Flask's `g` object, used for storing and sharing data during an application context.

Upgrade to view answer

Related Questions