UserWarning: Unclosed httpx.AsyncClient object

Hello

I have upgraded to Python 3.9.7 and reinstalled the refinitiv-dataplatform package using the version

Python39\site-packages\refinitiv_dataplatform-1.0.0a10.dist-info


When using the interface to extract data I now get the following warning:

UserWarning: Unclosed <httpx.AsyncClient object at 0x0000029EBE4C9940>


This does not relate to the session ID that I get when I do the eikon data access:

eikon session:

<refinitiv.dataplatform.core.session.platform_session.PlatformSession object at 0x0000029EBE4C9400>

State.Open



Which version of the Eikon refinitiv-dataplatform should I use in combination with Python 3.9.7?


Thanks,

Eva


Best Answer

  • Hi @s.paulick

    The RDP Python library dev team are not aware of any incompatibility between version a10 and Python v3.9.7

    I understand you have already raised a support ticket that was replicated on our internal support channel. As I recommended to our support person, please provide a list of python packages e.g. 'pip list' installed in the environment you are using.

    It could be that some of your other python packages are not compatible with Python 3.9.7?

    I can share the list with our RDP Python dev team who can check for any obvious culprits. If not, you will need to identify which of your other python packages may be causing the issue - as a result of your upgrade to Python 3.9.7.