A convenience hook called before returning the final :class:`_engine.Engine`. If the dialect returned a different class from the :meth:`.get_dialect_cls` method, then the hook is called on both classes, first on the dialect class returned by the :meth:`.get_d
(cls, engine: Engine)
| 2682 | |
| 2683 | @classmethod |
| 2684 | def engine_created(cls, engine: Engine) -> None: |
| 2685 | """A convenience hook called before returning the final |
| 2686 | :class:`_engine.Engine`. |
| 2687 | |
| 2688 | If the dialect returned a different class from the |
| 2689 | :meth:`.get_dialect_cls` |
| 2690 | method, then the hook is called on both classes, first on |
| 2691 | the dialect class returned by the :meth:`.get_dialect_cls` method and |
| 2692 | then on the class on which the method was called. |
| 2693 | |
| 2694 | The hook should be used by dialects and/or wrappers to apply special |
| 2695 | events to the engine or its components. In particular, it allows |
| 2696 | a dialect-wrapping class to apply dialect-level events. |
| 2697 | |
| 2698 | """ |
| 2699 | |
| 2700 | def get_driver_connection(self, connection: DBAPIConnection) -> Any: |
| 2701 | """Returns the connection object as returned by the external driver |
no outgoing calls