From 12f00b2f19e941ea50daf06cb5f273cfac536bf3 Mon Sep 17 00:00:00 2001 From: Artur Dobrogowski Date: Tue, 5 Oct 2021 12:13:06 +0200 Subject: [PATCH] Fixed annotations tags and userid params --- grafana_api/api/annotations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grafana_api/api/annotations.py b/grafana_api/api/annotations.py index ddf2d38..d656d06 100644 --- a/grafana_api/api/annotations.py +++ b/grafana_api/api/annotations.py @@ -52,10 +52,10 @@ def get_annotation( params.append("panelId=%s" % panel_id) if user_id: - params.append("userId=%s", user_id) + params.append("userId=%s" % user_id) if ann_type: - params.append("type=%s", ann_type) + params.append("type=%s" % ann_type) if tags: for tag in tags: