Skip to content

Commit

Permalink
Fix internal typing annotation for XsdElement.max_occurs and add_valu…
Browse files Browse the repository at this point in the history
…e_reference()
  • Loading branch information
vdboor committed Dec 11, 2024
1 parent 94df9cd commit 7b31d38
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gisserver/parsers/fes20/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ def add_sort_by(self, sort_by: sorting.SortBy):
"""Read the desired result ordering from a ``<fes:SortBy>`` element."""
self.ordering += sort_by.build_ordering(self.feature_type)

def add_value_reference(self, value_reference: expressions.ValueReference) -> str:
def add_value_reference(
self, value_reference: expressions.ValueReference
) -> expressions.RhsTypes:
"""Add a reference that should be returned by the query.
This includes the XPath expression to the query, in case that adds
Expand Down

0 comments on commit 7b31d38

Please sign in to comment.