iterative / iterative/PyDrive2

SaveCredentialsFile() does not store anything

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

Beschreibung

Calling the `SaveCredentialsFile()` method with a filename does nothing

I followed to calls inside until oauth2client.client.Storage.locked_put at which point I see:

```
def locked_put(self, credentials):
"""Write a credential.

The Storage lock must be held when this is called.

Args:
credentials: Credentials, the credentials to store.
"""
raise NotImplementedError
```

I also see that oauth2client is deprecated for a while now. Is this a functionality that was removed or am I doing something wrong?

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start with SaveCredentialsFile() and trace the call into oauth2client.client.Storage.locked_put, as described in the report. Reproduce the call with a filename and determine whether the credentials should be persisted; done means the expected storage behavior is established or the reported failure is fixed and covered by an appropriate test.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
authentication
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

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