sqlalchemy query date current month code example
Example: sqlalchemy query bilter by current month
from sqlalchemy import extract
session.query(Event).filter(extract('year', Event.date)==2018).filter(extract('month', Event.date)==7).all()
from sqlalchemy import extract
session.query(Event).filter(extract('year', Event.date)==2018).filter(extract('month', Event.date)==7).all()