iterative / iterative/PyDrive2

expose close methods

Open
#44 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
670
Forks
75
PR merge metrics
No merged PRs in 30d

Description

There should be a `close` method exposed (for example for `MediaIoReadable`) to close the underlying connection.

The underlying `httplib2` library (https://github.com/httplib2/httplib2/blob/master/python3/httplib2/__init__.py) seems to auto-`close()` on `Exception` or on `HEAD` requests but not otherwise (i.e. not on deletion).

- related #20

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.