<s> """<STR_LIT>""" <EOL> from . kinterbasdb import FBDialect_kinterbasdb <EOL> from ... import util <EOL> class FBDialect_fdb ( FBDialect_kinterbasdb ) : <EOL> def __init__ ( self , enable_rowcount = True , <EOL> retaining = False , ** kwargs ) : <EOL> super ( FBDialect_fdb , self ) . __init__ ( <EOL> enable_rowcount = enable_rowcount , <EOL> retaining = retaining , ** kwargs ) <EOL> @ classmethod <EOL> def dbapi ( cls ) : <EOL> return __import__ ( '<STR_LIT>' ) <EOL> def create_connect_args ( self , url ) : <EOL> opts = url . translate_connect_args ( username = '<STR_LIT:user>' ) <EOL> if opts . get ( '<STR_LIT:port>' ) : <EOL> opts [ '<STR_LIT:host>' ] = "<STR_LIT>" % ( opts [ '<STR_LIT:host>' ] , opts [ '<STR_LIT:port>' ] ) <EOL> del opts [ '<STR_LIT:port>' ] <EOL> opts . update ( url . query ) <EOL> util . coerce_kw_type ( opts , '<STR_LIT>' , int ) <EOL> return ( [ ] , opts ) <EOL> def _get_server_version_info ( self , connection ) : <EOL> """<STR_LIT>""" <EOL> isc_info_firebird_version = <NUM_LIT> <EOL> fbconn = connection . connection <EOL> version = fbconn . db_info ( isc_info_firebird_version ) <EOL> return self . _parse_version_info ( version ) <EOL> dialect = FBDialect_fdb </s>
