Skip to content

Commit

Permalink
Add variable for flatten keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Jan 10, 2025
1 parent 0ac2412 commit 5c4d5b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions robotframework_reportportal/variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ class Variables:
client_type: ClientType
http_timeout: Optional[Union[Tuple[float, float], float]]
remove_keywords: bool
flatten_keywords: bool

def __init__(self) -> None:
"""Initialize instance attributes."""
Expand Down Expand Up @@ -112,6 +113,7 @@ def __init__(self) -> None:
self.http_timeout = connect_timeout or read_timeout

self.remove_keywords = to_bool(get_variable("RP_REMOVE_KEYWORDS", default="False"))
self.flatten_keywords = to_bool(get_variable("RP_FLATTEN_KEYWORDS", default="False"))

self.api_key = get_variable("RP_API_KEY")
if not self.api_key:
Expand Down

0 comments on commit 5c4d5b8

Please sign in to comment.