Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug (4.2.0): New __del__ method in transport.py #1347

Closed
daaniam opened this issue Nov 9, 2022 · 1 comment
Closed

bug (4.2.0): New __del__ method in transport.py #1347

daaniam opened this issue Nov 9, 2022 · 1 comment

Comments

@daaniam
Copy link

daaniam commented Nov 9, 2022

The version of zeep: 4.2.0

After the upgrade from 4.1.0 > 4.2.0 there is an error following each successful request:

Exception ignored in: <function Transport.__del__ at 0x7f9d829c7c40>
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/zeep/transports.py", line 159, in __del__
    if self.__close_session:
       ^^^^^^^^^^^^^^^^^^^^
AttributeError: 'AsyncTransport' object has no attribute '_Transport__close_session'
Exception ignored in: <function Transport.__del__ at 0x7f9d829c7c40>
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/zeep/transports.py", line 159, in __del__
AttributeError: 'AsyncTransport' object has no attribute '_Transport__close_session'

There is no self.__close_session on AsyncTransport class.

Thanks for you work!

@theStygianArchitect
Copy link

theStygianArchitect commented Nov 10, 2022

Any word on when this will hit pypi?

Really appreciate your work on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants