Skip to content

Function create_pool not allowing pool_alias argument #445

@ThomasDeudon

Description

@ThomasDeudon

1. What versions are you using?

Latest version (2.5.1)

2. Is it an error or a hang or a crash?

It's an error

3. What error(s) or behavior you are seeing?

TypeError: create_pool() got an unexpected keyword argument 'pool_alias'

4. Does your application call init_oracle_client()?

No

5. Include a runnable Python script that shows the problem.

Irrelevant

Details about the issue :

Using the documentation : https://python-oracledb.readthedocs.io/en/latest/user_guide/connection_handling.html#using-the-connection-pool-cache and https://python-oracledb.readthedocs.io/en/latest/user_guide/connection_handling.html#using-the-connection-pool-cache

We should be able to name a pool through the argument pool_alias in the function create_pool so that we can then use it to create connections.
This seems to not be available anymore (pool_alias not being a valid argument of create_pool anymore).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions