Skip to content

Commit 54e7784

Browse files
authored
Merge pull request #2 from NoPlagiarism/fix_method_docs
2 parents f9fece6 + f5aa9a4 commit 54e7784

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ A basic plugin using a function as the query method.
1414

1515
```py
1616
from pyflowlauncher import Plugin, Result, send_results
17-
from pyflowlauncher.result import, ResultResponse
17+
from pyflowlauncher.result import ResultResponse
1818

1919
plugin = Plugin()
2020

@@ -38,7 +38,7 @@ A more advanced usage using a `Method` class as the query method.
3838

3939
```py
4040
from pyflowlauncher import Plugin, Result, Method
41-
from pyflowlauncher.result import, ResultResponse
41+
from pyflowlauncher.result import ResultResponse
4242

4343
plugin = Plugin()
4444

pyflowlauncher/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
import logging
33
import os
44

5-
from .plugin import Plugin, ResultResponse
6-
from .result import JsonRPCAction, Result, send_results
5+
from .plugin import Plugin
6+
from .result import JsonRPCAction, Result, send_results, ResultResponse
7+
from .method import Method
78

89
log_level = os.environ.get("FLOW_LAUNCHER_API_LOG_LEVEL", "INFO")
910

@@ -19,6 +20,7 @@
1920
"send_results",
2021
"Result",
2122
"JsonRPCAction",
23+
"Method",
2224
]
2325

2426

0 commit comments

Comments
 (0)