Skip to content

ResourceCollection.filter

Explicit filter — equivalent to bracket notation for patterns.

Always returns a cloudsprite._resultset.ResultSet (possibly empty), never a single resource. Prefer this when you need a stable return type.

Signature

filter(arg: Any=None, **kwargs: Any) -> ResultSet[T]

Parameters

Name Type Required Default
arg Any no None
**kwargs Any no -

Fields

Field
arg
**kwargs

Return shape

ResultSet[T]

Permission

This is a local SDK helper. It does not call the CloudSprite HTTP API.

Usage

resource_collection.filter()