Skip to content

Default type checker for 'object' seems too narrow #755

@benmaddison

Description

@benmaddison

Is there a specific reason that jsonschema._types.is_object tests for instances of dict rather than the more generic alternative of collections.abc.Mapping?

Apologies if this has been asked and answered previously - I couldn't find it in the list of closed issues.

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