From 5ee707781d4201ccb895f211ffe09214871adf2a Mon Sep 17 00:00:00 2001 From: Dan Homola Date: Wed, 4 Sep 2024 11:44:05 +0200 Subject: [PATCH] fix: type ExecutionContext attribute filter values properly The attribute filter values can contain None values so reflect that in the typings appropriately. JIRA: CQ-743 risk: low --- .../flexfun/flex_fun_execution_context.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gooddata-flight-server/gooddata_flight_server/flexfun/flex_fun_execution_context.py b/gooddata-flight-server/gooddata_flight_server/flexfun/flex_fun_execution_context.py index cb35530b6..ee491b432 100644 --- a/gooddata-flight-server/gooddata_flight_server/flexfun/flex_fun_execution_context.py +++ b/gooddata-flight-server/gooddata_flight_server/flexfun/flex_fun_execution_context.py @@ -83,7 +83,7 @@ class ExecutionContextPositiveAttributeFilter: Identifier of the label used. """ - values: list[str] + values: list[Optional[str]] """ Values of the filter. """ @@ -100,7 +100,7 @@ class ExecutionContextNegativeAttributeFilter: Identifier of the label used. """ - values: list[str] + values: list[Optional[str]] """ Values of the filter. """