diff --git a/pyodk/_endpoints/submissions.py b/pyodk/_endpoints/submissions.py index 1073f02..c59e74b 100644 --- a/pyodk/_endpoints/submissions.py +++ b/pyodk/_endpoints/submissions.py @@ -139,6 +139,7 @@ def get_table( wkt: bool | None = None, filter: str | None = None, expand: str | None = None, + select: str | None = None, ) -> dict: """ Read Submission data. @@ -158,6 +159,7 @@ def get_table( built-in functions now, year, month, day, hour, minute, second. :param expand: Repetitions, which should get expanded. Currently, only `*` (star) is implemented, which expands all repetitions. + :param select: If provided, will return only the selected fields. :return: A dictionary representation of the OData JSON document. """ @@ -174,6 +176,7 @@ def get_table( "$wkt": wkt, "$filter": filter, "$expand": expand, + "$select": select, }.items() if v is not None }