@property
    def type(self):
        if self.request_params.get('datespan_type'):
            return int(self.request_params['datespan_type'])
        else:
            return 1
Replace constraints in the current layout system.
dataset/ETHPy150Open dimagi/commcare-hq/custom/ilsgateway/tanzania/__init__.py/MonthQuarterYearMixin.type--crossover with--dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/wx/wx_constraints_widget.py/WxConstraintsWidget.replace_constraints