python-libmaas icon indicating copy to clipboard operation
python-libmaas copied to clipboard

Attributes contain exception

Open rvalle opened this issue 1 year ago • 1 comments

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?

rvalle avatar Nov 29 '24 07:11 rvalle