MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / create_pool_from_url

Function create_pool_from_url

lib/sqlalchemy/engine/create.py:848–860  ·  view source on GitHub ↗
(
    url: Union[str, URL],
    *,
    poolclass: Optional[Type[Pool]] = ...,
    logging_name: str = ...,
    pre_ping: bool = ...,
    size: int = ...,
    recycle: int = ...,
    reset_on_return: Optional[_ResetStyleArgType] = ...,
    timeout: float = ...,
    use_lifo: bool = ...,
    **kwargs: Any,
)

Source from the content-addressed store, hash-verified

846
847@overload
848def create_pool_from_url(
849 url: Union[str, URL],
850 *,
851 poolclass: Optional[Type[Pool]] = ...,
852 logging_name: str = ...,
853 pre_ping: bool = ...,
854 size: int = ...,
855 recycle: int = ...,
856 reset_on_return: Optional[_ResetStyleArgType] = ...,
857 timeout: float = ...,
858 use_lifo: bool = ...,
859 **kwargs: Any,
860) -> Pool: ...
861
862
863@overload

Callers 4

test_url_onlyMethod · 0.90
test_pool_argsMethod · 0.90
test_pool_creationMethod · 0.90

Calls 2

create_engineFunction · 0.85
popMethod · 0.45

Tested by 4

test_url_onlyMethod · 0.72
test_pool_argsMethod · 0.72
test_pool_creationMethod · 0.72