Skip to content

Commit

Permalink
Add description to examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Garulf committed Nov 17, 2023
1 parent a9259e3 commit 1dcda35
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ python -m pip install pyflowlauncher
## Usage

#### Basic plugin

A basic plugin using a function as the query method.
```
from pyflowlauncher import Plugin, Result, send_results
from pyflowlauncher.result import, ResultResponse
Expand All @@ -29,6 +31,7 @@ plugin.run()
```

#### Advanced plugin
A more advanced usage using a `Method` class as the query method.
```
from pyflowlauncher import Plugin, Result, Method
from pyflowlauncher.result import, ResultResponse
Expand Down

0 comments on commit 1dcda35

Please sign in to comment.