Skip to content

Commit

Permalink
Convert unnecessary note in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamforka authored Sep 2, 2024
1 parent f85a1c4 commit d48c9e0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,7 @@ hive.alert.update(

The code above updates the alert's title and adds a new tag to the alert in TheHive.

> [!NOTE]
> It's essential to understand that the `my_alert` object in your Python code will not automatically reflect these changes. `thehive4py` doesn't provide object relationship mapping features. To get the latest version of the alert after making modifications, you need to fetch it again:
It's essential to understand that the `my_alert` object in your Python code will not automatically reflect these changes. `thehive4py` doesn't provide object relationship mapping features. To get the latest version of the alert after making modifications, you need to fetch it again:

```python
my_alert = hive.alert.get(alert_id=my_alert["_id"])
Expand Down

0 comments on commit d48c9e0

Please sign in to comment.