You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
@gabrieldemarmiesse how should we handle the backwards incompatible change? Do we need to continue to accept Dict[str,str] on all these APIs and emit deprecation warnings?
The new API looks good! Though I believe we shouldn't pull the rug on our users if we can avoid it, so as you say backward compatibility + depreciation warning seems the way to go here.
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 plainDict[str,str]
is used. In either case, this does not support something likedocker 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.
The text was updated successfully, but these errors were encountered: