Skip to content

Missing support for passing multiple filters of the same type #629

@LewisGaul

Description

@LewisGaul

Filtering can be performed when listing objects or pruning objects. In some components a TypedDict is used to indicate the supported filter types, while in other components a plain Dict[str,str] is used. In either case, this does not support something like docker ps --filter label=foo=1 --filter label=bar.

This was originally brought up in #590, which specifically attempts to address the case of filtering by multiple labels, but the problem is wider than that (see discussion thread #590 (comment)).

This issue tracks fully resolving the root of the issue, which involves needing to change the APIs, as well as adding better typing to all components' filters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions