Change sqlalchemy lazy property dynamic to select