From 32a50fa8eafa06224113c752bd2df627fe280e94 Mon Sep 17 00:00:00 2001 From: Tom Kralidis Date: Tue, 13 Aug 2024 10:34:43 -0400 Subject: [PATCH] update docstrings for base provider fields functionality --- pygeoapi/provider/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pygeoapi/provider/base.py b/pygeoapi/provider/base.py index c81c2b4f4..66cc68240 100644 --- a/pygeoapi/provider/base.py +++ b/pygeoapi/provider/base.py @@ -85,7 +85,7 @@ def get_fields(self): """ Get provider field information (names, types) - Example response: {'field1': 'string', 'field2': 'number'}} + Example response: {'field1': {'type': 'string'}, 'field2': {'type': 'number'}} :returns: dict of field names and their associated JSON Schema types """ @@ -97,7 +97,7 @@ def fields(self) -> dict: """ Store provider field information (names, types) - Example response: {'field1': {'type': 'string'}} + Example response: {'field1': {'type': 'string'}, 'field2': {'type': 'number'}} :returns: dict of dicts (field names and their associated JSON Schema definitions)