Th2-data-services

Latest version: v1.3.1

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

0.38

2. Added vulnerabilities scanning

0.6.3

BugFixes

1. [TH2-3168] Fixed iterations in nested loops for Data object with limit.
2. [TH2-3336] Url now uses the utf-8 encoding.
3. [TH2-3700] Filter iterate values only once - fixed.

0.6.2

BugFixes

1. [TH2-2922] Fixed infinite loop in events tree.

0.6.1

BugFixes

1. [TH2-2858] Resolved HTTP error 414 on a client side.
2. [TH2-2851] UnicodeDecodeError is raised during events extracting if not utf-8 character in the byte stream. The user will get the original byte now.

0.6.0

User impact and migration instructions

1. [I] The "metadataOnly" query parameter will now always be set to False in the get_X_from_data_provider methods. It’s
the option for Report Viewer front-end only.
[M] (Optional) Remove "metadataOnly" parameter in your requests to get more logical and clean code.

Improvements

1. [TH2-2471] The "metadataOnly" query parameter will now always be set to False in the get_X_from_data_provider
methods.

Features

1. You can import classes directly from th2_data_services now.
E.g. `from th2_data_services import Data, DataSource, Filter`
2. [TH2-2755] Added new parameters to DataSource methods.
1. get_X_from_data_provider:
- sse_adapter=True. If True, all data will go through SSE adapter and yield dicts. Otherwise adapter will yield
SSE Events.
2. get_messages_from_data_provider and find_messages_by_id_from_data_provider:
- provider_adapter=adapter_provider5. Adapter function for rpt-data-provider. If None, Data object will yield
object from previous map function.
3. [TH2-2283] Implemented rpt-data-provider Filters API.
4. [TH2-2656] Added new optional parameter to EventsTree (ParentEventsTree) classes.
- Set "preserve_body=True" to keep event bodies during tree building.
- Otherwise events bodies will be omitted.

0.5.3

BugFixes

1. [TH2-2756] Changed adapter for messages from pipeline.
2. Fixed a situation when messages were not opened from the list when we use map more that once.

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.