From 2681b6628b681bd388e61fa7ec77ceafaf1f4844 Mon Sep 17 00:00:00 2001 From: costero-e Date: Tue, 22 Oct 2024 10:16:50 +0200 Subject: [PATCH] adding integer values allowed for alphanumeric filters --- beacon/request/parameters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon/request/parameters.py b/beacon/request/parameters.py index c81b9ad..35c66e1 100644 --- a/beacon/request/parameters.py +++ b/beacon/request/parameters.py @@ -56,7 +56,7 @@ class OntologyFilter(CamelModel): class AlphanumericFilter(CamelModel): id: str - value: Union[str, List[int]] + value: Union[str, int, List[int]] scope: Optional[str] =None operator: Operator = Operator.EQUAL