Add loading submenus from config or Falyx object, more examples

This commit is contained in:
2025-05-13 23:19:29 -04:00
parent 2bdca72e04
commit bba473047c
9 changed files with 151 additions and 15 deletions

14
examples/single_http.py Normal file
View File

@ -0,0 +1,14 @@
import asyncio
from falyx.action import HTTPAction
http_action = HTTPAction(
name="Get Example",
method="GET",
url="https://jsonplaceholder.typicode.com/posts/1",
headers={"Accept": "application/json"},
retry=True,
)
if __name__ == "__main__":
asyncio.run(http_action())