Skip to content

ScriptCollection.filter

Beta: This API may change shape in 0.1.x. It is not a frozen 1.0 contract.

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

script_collection.filter()