Skip to content

Allow null values in dict-ized RemoteObjects #2

@mmalone

Description

@mmalone

RemoteObjects currently exclude fields with a None value when objects are converted to dictionaries. This can be problematic for APIs that don't treat nonexistent keys and null values the same way.

Perhaps we should provide some mechanism that allows the "default" value of a field to be an AttributeError, then include all values in the dictionary (including None) only skipping those that raise an AttributeError.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions