import ggrc_gdrive_integration.views from oauth2client import client blueprint = Blueprint( 'gdrive', __name__, template_folder='templates', static_folder='static', static_url_path='/static/ggrc_gdrive_integration', ) Program.__bases__ = (Folderable, ) + Program.__bases__ Program.late_init_folderable() Audit.__bases__ = (Folderable, ) + Audit.__bases__ Audit.late_init_folderable() Control.__bases__ = (Folderable, ) + Control.__bases__ Control.late_init_folderable() Document.__bases__ = (Fileable, ) + Document.__bases__ Document.late_init_fileable() Meeting.__bases__ = (Eventable, ) + Meeting.__bases__ Meeting.late_init_eventable() # TODO: now the Gdrive module is dependant on the Workflows module. it used to # be the other way around but none of them are actually okay Workflow.__bases__ = (Folderable, ) + Workflow.__bases__ Workflow.late_init_folderable() # Initialize views def init_extra_views(application): ggrc_gdrive_integration.views.init_extra_views(application)
from oauth2client import client blueprint = Blueprint( 'gdrive', __name__, template_folder='templates', static_folder='static', static_url_path='/static/ggrc_gdrive_integration', ) Program.__bases__ = (Folderable,) + Program.__bases__ Program.late_init_folderable() Audit.__bases__ = (Folderable,) + Audit.__bases__ Audit.late_init_folderable() Control.__bases__ = (Folderable,) + Control.__bases__ Control.late_init_folderable() Document.__bases__ = (Fileable,) + Document.__bases__ Document.late_init_fileable() Meeting.__bases__ = (Eventable,) + Meeting.__bases__ Meeting.late_init_eventable() # TODO: now the Gdrive module is dependant on the Workflows module. it used to # be the other way around but none of them are actually okay Workflow.__bases__ = (Folderable,) + Workflow.__bases__ Workflow.late_init_folderable() # Initialize views def init_extra_views(application): ggrc_gdrive_integration.views.init_extra_views(application)