Skip to content

Commit

Permalink
chore: remove obsolete executionRequest
Browse files Browse the repository at this point in the history
It was replaced by the report- or labelElements-specific versions everywhere, so let's get rid of
 it.

JIRA: CQ-812
risk: low
  • Loading branch information
no23reason committed Oct 1, 2024
1 parent 0f110df commit 5d088ad
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 5d088ad

Please sign in to comment.