Skip to content

Var.outconverter() is not writable #360

@leo-b

Description

@leo-b

Hi!

The latest oracledb documentation states that Variable.outconverter is a read-write attribute.
https://python-oracledb.readthedocs.io/en/latest/api_manual/variable.html#Variable.outconverter

However this doesn't seem to be true:

v = cursor.var(oracledb.DB_TYPE_NUMBER)
v.outconverter = lambda x: x
# AttributeError: property 'outconverter' of 'Var' object has no setter

Is the setter property missing or is the documentation wrong?

Cheers,
--leo

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions