Fixed weakref async credential close when self.credential is None
The PR #328 included a weakref to close async credential, to avoid the Unclosed Client Session warning.
This PR aims to fix the case that we can have self.credential = None after passing the self.do_connect.
Lines 470-471 of spec.py is the fix: https://github.com/gabrieldaiha/adlfs/blob/d2a5be68af7934025f884d2dc523f1708738c6d7/adlfs/spec.py#L470-L471
Tests are claiming an error about resource name size that it does not have relationship with this PR. @hayesgb anything happened with yesterday's MR in these tests?
- test_fetch_entire_blob
- test_fetch_first_half
- test_fetch_middle
Not that I'm aware of, but I'll check. Its interesting that its only failing in DEV
Not that I'm aware of, but I'll check. Its interesting that its only failing in DEV
Any news?