Skip to content
Hiroaki KAWAI edited this page Feb 21, 2018 · 3 revisions
  • sqlalchemy checks kwarg consumption in DefaultEngineStrategy.create
    • wrapped objects must have the same signature with internal
    • To create method with a specific signature, we have to eval ref
    • checks __init__ of Dialect, DBAPI, Pool and Engine.
  • Dialect.dbapi is not explained in the doc as interface. but
    • db.engine_create defaults to use DefaultEngineStrategy.create
      • DBAPI callable passed in module parameter
      • or Dialect.dbapi callable

Clone this wiki locally