From 82419790d86fe083abee7976e27d19c5b57365e1 Mon Sep 17 00:00:00 2001 From: noordsestern Date: Wed, 1 Dec 2021 21:04:08 +0100 Subject: [PATCH] document `drop fetch response` Close #47 --- CamundaLibrary/CamundaLibrary.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/CamundaLibrary/CamundaLibrary.py b/CamundaLibrary/CamundaLibrary.py index bdfe0bc..4b0c3ed 100644 --- a/CamundaLibrary/CamundaLibrary.py +++ b/CamundaLibrary/CamundaLibrary.py @@ -410,8 +410,17 @@ def get_fetch_response(self): return self.FETCH_RESPONSE.to_dict() return self.FETCH_RESPONSE - @keyword("Drop fetch response", tags=['task']) + @keyword("Drop fetch response", tags=['task', 'deprecated']) def drop_fetch_response(self): + """ + Removes last process instance from cache. + + *DEPRECATED* + + Actually this keyword does not seem to make sense. Do you have a use case for this? Then contact the project on + GitHub, otherwise the keyword will be removed. + """ + logger.warn('DEPRECATED. If you happen to have a use case for this keyword, save the keyword from deletion by contacting the project on GitHub:\thttps://github.com/MarketSquare/robotframework-camunda/issues>') self.FETCH_RESPONSE = {} @keyword("Throw BPMN Error", tags=['task'])