Skip to content

Commit ba42085

Browse files
authored
Return tagged observables when bulk adding them (#1033)
1 parent 1a7c306 commit ba42085

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/schemas/observable.py

+1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ def add_text(cls, text: str, tags: list[str] = []) -> "ObservableTypes": # noqa
9494
value=refanged,
9595
created=datetime.datetime.now(datetime.timezone.utc),
9696
).save()
97+
observable.get_tags()
9798
if tags:
9899
observable = observable.tag(tags)
99100
return observable

0 commit comments

Comments
 (0)