This commit is contained in:
SwiftyOS
2025-03-02 16:49:36 +01:00
committed by Swifty
parent a04919beca
commit 8dabe6c70d
2 changed files with 1 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ from json import JSONDecodeError
from typing import Any, Dict, Optional
from backend.data.model import APIKeyCredentials
# This is a wrapper around the requests library that is used to make API requests.
from backend.util.request import Requests

View File

@@ -99,7 +99,6 @@ class ExampleBlock(Block):
response = client.create_resource(resource_data)
return f"API response: {response.get('message', 'Hello, world!')}"
def run(
self, input_data: Input, *, credentials: APIKeyCredentials, **kwargs
) -> BlockOutput: