Skip to content

Commit abc6c8e

Browse files
dalpassoalambare
authored andcommitted
fix: fix _uninstrument method in the metrics
TODO: the callback functions continue to be called after removing the instrumentation
1 parent bfddaca commit abc6c8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eodag/utils/instrumentation/eodag/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,7 @@ def _uninstrument(self, **kwargs) -> None:
591591
This only works if no other module also patches eodag"""
592592
patches = [
593593
(server, "search_stac_items"),
594+
(server, "download_stac_item_by_id_stream"),
594595
(QueryStringSearch, "_request"),
595596
(Download, "progress_callback_decorator"),
596597
]

0 commit comments

Comments
 (0)