From 5d088ad69c59cd82ad54f73614842c44369de80d Mon Sep 17 00:00:00 2001 From: Dan Homola Date: Tue, 1 Oct 2024 12:50:39 +0200 Subject: [PATCH] chore: remove obsolete executionRequest It was replaced by the report- or labelElements-specific versions everywhere, so let's get rid of it. JIRA: CQ-812 risk: low --- .../gooddata_flexfun/flexfun/flex_fun_execution_context.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gooddata-flexfun/gooddata_flexfun/flexfun/flex_fun_execution_context.py b/gooddata-flexfun/gooddata_flexfun/flexfun/flex_fun_execution_context.py index e4b25d1f..c75dd205 100644 --- a/gooddata-flexfun/gooddata_flexfun/flexfun/flex_fun_execution_context.py +++ b/gooddata-flexfun/gooddata_flexfun/flexfun/flex_fun_execution_context.py @@ -520,12 +520,6 @@ class ExecutionContext: The start of the week. Either "monday" or "sunday". """ - execution_request: ExecutionRequest - """ - The execution request that the FlexFun should process. - DEPRECATED: Use ReportExecutionRequest or LabelElementsExecutionRequest instead. - """ - attributes: list[ExecutionContextAttribute] """ All the attributes that are part of the execution request. @@ -563,7 +557,6 @@ def from_dict(d: dict) -> "ExecutionContext": timestamp=d.get("timestamp"), timezone=d.get("timezone"), week_start=d.get("weekStart"), - execution_request=ExecutionRequest.from_dict(d["executionRequest"]), report_execution_request=ReportExecutionRequest.from_dict(d.get("reportExecutionRequest")), label_elements_execution_request=LabelElementsExecutionRequest.from_dict( d.get("labelElementsExecutionRequest")