-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.py
More file actions
34 lines (29 loc) · 888 Bytes
/
test.py
File metadata and controls
34 lines (29 loc) · 888 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
from typing import Dict, Any
public_description = "A test script created by Scripty"
async def function(args: Dict[str, Any]) -> Dict[str, Any]:
"""
This is a test script that demonstrates the basic structure.
Args:
args: Dictionary containing input parameters
Returns:
Dictionary containing the results
"""
original_message = args["fein"]
return {
"original": original_message,
"modified": original_message.upper() + "!!!",
"timestamp": "FEIN TEST EDIT WORKED!"
}
object = {
"name": "Test Script",
"description": "A simple test script to demonstrate Scripty's capabilities",
"parameters": {
"type": "object",
"properties": {
"fein": {
"type": "string",
"description": "The message to display"
}
}
}
}