def mysql_check_reflection_or_none(self): # succeed if: # 1. SQLAlchemy does not reflect CHECK constraints # 2. SQLAlchemy does reflect CHECK constraints, but MySQL does not. def go(config): return (not self._mysql_check_constraints_exist(config) or self.sqlalchemy_1115.enabled) return exclusions.succeeds_if(go)
def date_historic(self): """target dialect supports representation of Python datetime.datetime() objects with historic (pre 1900) values.""" return succeeds_if(['sqlite', 'postgresql', 'firebird'])
def date_historic(self): """target dialect supports representation of Python datetime.datetime() objects with historic (pre 1900) values.""" return succeeds_if(["sqlite", "postgresql", "firebird"])