Skip to content

Allow aggregation of queryables across collections #505

@gadomski

Description

@gadomski

It can be useful to find the set of queryables available across collections. Here's one possible usage:

client = Client.open("https://pystac-client.test")

# GET /queryables
_: Set[str] = client.queryables()

# GET /queryables/collection-a/queryables
# GET /queryables/collection-b/queryables
# Put all queryables in a set and return
_: Set[str] = client.queryables(["collection-a", "collection-b"])

There's a question to resolve around whether queryables() should hit /queryables or do an aggregation of all collections.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions