canonical / canonical/python-libmaas

Attributes contain exception

Open
#309 1 comment 0 reactions 0 assignees View on GitHub
stale
Dominant language
Python
Stars
65
Forks
71
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.