Skip to content

Commit

Permalink
update docstrings for base provider fields functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis authored Aug 13, 2024
1 parent c1b90dc commit 32a50fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pygeoapi/provider/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'}}

Check failure on line 88 in pygeoapi/provider/base.py

View workflow job for this annotation

GitHub Actions / flake8_py3

pygeoapi/provider/base.py#L88

[E501] line too long
:returns: dict of field names and their associated JSON Schema types
"""
Expand All @@ -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'}}

Check failure on line 100 in pygeoapi/provider/base.py

View workflow job for this annotation

GitHub Actions / flake8_py3

pygeoapi/provider/base.py#L100

[E501] line too long
:returns: dict of dicts (field names and their
associated JSON Schema definitions)
Expand Down

0 comments on commit 32a50fa

Please sign in to comment.