canonical / canonical/python-libmaas

Attributes contain exception

Aperta
#309 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
stale
Lingua principale
Python
Stelle
65
Fork
71
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

When requesting machines.list() I am getting exceptions as attribute values.

For example `client.machines.list()[0].owner.email` is returned as `maas.client.errors.ObjectNotLoaded: cannot access attribute 'email' of object 'User'`

Not that it matters much, but the owner user has in fact an email value set.

There are many other attributes with the same behaviour.

I am using python 3.10 and latest maas stable (3.5.2)

Any idea what this could be related to?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.