🔧 chore(GetRequest.py): refactor GetRequest class to store the returned documents in a repr_value attribute for debugging purposes
This commit is contained in:
parent
62b9bb523c
commit
6e18e795ff
1 changed files with 3 additions and 1 deletions
|
|
@ -67,4 +67,6 @@ class GetRequest(CustomComponent):
|
||||||
headers = {}
|
headers = {}
|
||||||
if not isinstance(url, list):
|
if not isinstance(url, list):
|
||||||
url = [url]
|
url = [url]
|
||||||
return [self.get_document(u, headers) for u in url]
|
documents = [self.get_document(u, headers) for u in url]
|
||||||
|
self.repr_value = documents
|
||||||
|
return documents
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue