ResourceCollection.first¶
Return the first item in the collection, or None if empty.
Uses the lazy iterator so only the first page is fetched.
Signature¶
first() -> T | None
Return shape¶
T | None
Permission¶
This is a local SDK helper. It does not call the CloudSprite HTTP API.
Usage¶
resource_collection.first()