Skip to content

Commit

Permalink
docs: queryables
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunato committed Jan 8, 2024
1 parent 03fc66f commit 6398e50
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/api_reference/core.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ Misc
:members: set_preferred_provider, get_preferred_provider, update_providers_config, list_product_types,
available_providers, search, search_all, search_iter_page, crunch, download, download_all, serialize,
deserialize, deserialize_and_register, load_stac_items, group_by_extent, guess_product_type, get_cruncher,
update_product_types_list, fetch_product_types_list, discover_product_types
update_product_types_list, fetch_product_types_list, discover_product_types, list_queryables
1 change: 1 addition & 0 deletions docs/api_reference/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ The Python API Reference provides an overview of all public objects, functions a
eoproduct
utils
exceptions
types
call_graphs
6 changes: 6 additions & 0 deletions docs/api_reference/types.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
=====
Types
=====

.. automodule:: eodag.types.__init__
:members:
6 changes: 4 additions & 2 deletions eodag/api/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2090,8 +2090,10 @@ def list_queryables(
:type provider: str
:param product_type: (optional) The EODAG product type.
:type product_type: str
:returns: A dict containing the EODAG queryable properties.
:rtype: dict
:returns: A dict containing the EODAG queryable properties, associatiating
parameters to a tuple containings their annotaded type and default
value
:rtype: Dict[str, Tuple[Annotated, Any]]
"""
# unknown product type
if product_type is not None and product_type not in self.list_product_types(
Expand Down

0 comments on commit 6398e50

Please sign in to comment.