📚 docs(GetRequest.py): add documentation link for the GET Request component
📚 docs(JSONDocumentBuilder.py): add documentation link for the JSON Document Builder component 📚 docs(PostRequest.py): add documentation link for the POST Request component 📚 docs(UpdateRequest.py): add documentation link for the Update Request component
This commit is contained in:
parent
7dc258d580
commit
c22a792a7f
4 changed files with 7 additions and 1 deletions
|
|
@ -6,9 +6,10 @@ from typing import Optional
|
|||
|
||||
|
||||
class GetRequest(CustomComponent):
|
||||
display_name: str = "Get Request"
|
||||
display_name: str = "GET Request"
|
||||
description: str = "Make a GET request to the given URL."
|
||||
output_types: list[str] = ["Document"]
|
||||
documentation: str = "https://docs.langflow.org/components/utilities#get-request"
|
||||
beta = True
|
||||
field_config = {
|
||||
"url": {
|
||||
|
|
|
|||
|
|
@ -21,6 +21,9 @@ class JSONDocumentBuilder(CustomComponent):
|
|||
description: str = "Build a Document containing a JSON object using a key and another Document page content."
|
||||
output_types: list[str] = ["Document"]
|
||||
beta = True
|
||||
documentation: str = (
|
||||
"https://docs.langflow.org/components/utilities#json-document-builder"
|
||||
)
|
||||
|
||||
field_config = {
|
||||
"key": {"display_name": "Key"},
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ class PostRequest(CustomComponent):
|
|||
display_name: str = "Post Request"
|
||||
description: str = "Make a POST request to the given URL."
|
||||
output_types: list[str] = ["Document"]
|
||||
documentation: str = "https://docs.langflow.org/components/utilities#post-request"
|
||||
beta = True
|
||||
field_config = {
|
||||
"url": {"display_name": "URL", "info": "The URL to make the request to."},
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ class UpdateRequest(CustomComponent):
|
|||
display_name: str = "Update Request"
|
||||
description: str = "Make a PATCH request to the given URL."
|
||||
output_types: list[str] = ["Document"]
|
||||
documentation: str = "https://docs.langflow.org/components/utilities#update-request"
|
||||
beta = True
|
||||
field_config = {
|
||||
"url": {"display_name": "URL", "info": "The URL to make the request to."},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue