iterative / iterative/PyDrive2

expose close methods

Offen
#44 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Python
Sterne
670
Forks
75
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start with MediaIoReadable and related issue #20, then inspect how the httplib2 connection is held and how deletion requests are handled. Done means the relevant readable resource exposes a close method that closes the underlying connection; compare this with httplib2's documented behavior.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
api
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
42/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.