'_Cursor' object has no attribute 'cancel'

Issue #2 resolved
Anonymous created an issue

The pytds repository removed the cancel method from the Cursor object here: https://github.com/denisenkom/pytds/commit/20bc3d4a4cf3e5c82e467ebf5a16ecb3a44d5074

Comments (4)

  1. Ross Peoples

    No, I don't need it directly, but using the trunk version of this code with the trunk version of pytds will result in these errors occuring during normal database operations.

    Once I rolled pytds back to version 1.5, django-pytds worked normally. The reason I created this issue was to let you know that you need to remove all calls to cancel() from django-pytds, otherwise you will get the above error.

  2. Log in to comment