2 Matching Annotations
  1. Mar 2018
    1. if session_factory is None: session_factory = _get_session

      I'm pretty sure we have multiple code challenges on this. It doesn't do what you think it does! And regardless it wouldn't do that anyway because the engine and pool are created outside of this statement.

    2. _get_session

      This is the function that creates a connection pool.