CitiusTech Interview Question

Decorator working How'd you fetch data from postgres and store in python.