mcfunley / pugsql

A HugSQL-inspired database library for Python
https://pugsql.org
Apache License 2.0
673 stars 22 forks source link

Make modules iterable #21

Closed mcfunley closed 4 years ago

mcfunley commented 5 years ago

I've got an analysis script that fetches a bunch of bigquery queries and caches their results locally. It'd be nice if this worked:

for q in pugsql_module:
    data = q()
    # etc