Skip to content

Commit

Permalink
Merge pull request #2 from NoPlagiarism/fix_method_docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Garulf authored Jan 4, 2024
2 parents f9fece6 + f5aa9a4 commit 54e7784
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ A basic plugin using a function as the query method.

```py
from pyflowlauncher import Plugin, Result, send_results
from pyflowlauncher.result import, ResultResponse
from pyflowlauncher.result import ResultResponse

plugin = Plugin()

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

```py
from pyflowlauncher import Plugin, Result, Method
from pyflowlauncher.result import, ResultResponse
from pyflowlauncher.result import ResultResponse

plugin = Plugin()

Expand Down
6 changes: 4 additions & 2 deletions pyflowlauncher/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
import logging
import os

from .plugin import Plugin, ResultResponse
from .result import JsonRPCAction, Result, send_results
from .plugin import Plugin
from .result import JsonRPCAction, Result, send_results, ResultResponse
from .method import Method

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

Expand All @@ -19,6 +20,7 @@
"send_results",
"Result",
"JsonRPCAction",
"Method",
]


Expand Down

0 comments on commit 54e7784

Please sign in to comment.