Exemple #1
0
 def load_dialect_impl(self, dialect):
     if dialect.name == "postgresql":
         return dialect.type_descriptor(pg_UUID())
     else:
         return dialect.type_descriptor(CHAR(32))
Exemple #2
0
 def load_dialect_impl(self, dialect):
     if dialect.name == 'postgresql':
         assert pg_UUID is not None
         return dialect.type_descriptor(pg_UUID())
     else:
         return dialect.type_descriptor(types.CHAR(32))
Exemple #3
0
 def load_dialect_impl(self, dialect):
     if dialect.name == 'postgresql':
         assert pg_UUID is not None
         return dialect.type_descriptor(pg_UUID())
     else:
         return dialect.type_descriptor(types.CHAR(32))
Exemple #4
0
 def load_dialect_impl(self, dialect):
     if dialect.name == "postgresql":
         return dialect.type_descriptor(pg_UUID())
     else:
         return dialect.type_descriptor(CHAR(32))