Skip to content

Tree __get__ is inconsistent with __contains__ #864

Closed
@imbuedhope

Description

@imbuedhope

Since #316 Tree.__contains__() checks subdirectories but this is at odds with Tree.__get__() since it does not return objects for qeries that return True for Tree.__contains__().

This is inconsistent. Tree.__get__() should also return objects from subdirectories if Tree.__contains__() returns True.

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