Skip to content

devices() raises InvalidFieldValue exception because hair_pinning is missing from ClientSupports #1262

@DouweM

Description

@DouweM

Exception:

mashumaro.exceptions.InvalidFieldValue: Field "devices" of type dict[str, Device] in Devices has invalid value {'...': {...,  'clientSupports': {'ipv6': False, 'pcp': False, 'pmp': False, 'udp': True, 'upnp': False}}, ... }

caused by:

mashumaro.exceptions.MissingField: Field "hair_pinning" of type Optional[bool] is missing in ClientSupports instance

This started happening today. I haven’t checked yet if this key is gone from the API entirely or if it’s just missing from some devices.

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleThere has not been activity on this issue or PR for quite some time.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions