pipen-cli-ref 1.0.0__tar.gz → 1.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pipen-cli-ref
3
- Version: 1.0.0
3
+ Version: 1.0.2
4
4
  Summary: Make API reference documentation for pipen pipeline/processes
5
5
  License: MIT
6
6
  License-File: LICENSE
@@ -15,6 +15,7 @@ Classifier: Programming Language :: Python :: 3.11
15
15
  Classifier: Programming Language :: Python :: 3.12
16
16
  Classifier: Programming Language :: Python :: 3.13
17
17
  Classifier: Programming Language :: Python :: 3.14
18
+ Requires-Dist: pipen (==1.1.*)
18
19
  Requires-Dist: pipen-annotate (>=1.0,<2.0)
19
20
  Description-Content-Type: text/markdown
20
21
 
@@ -13,19 +13,18 @@ from __future__ import annotations
13
13
  from typing import TYPE_CHECKING, Type
14
14
 
15
15
  import sys
16
- import asyncio
17
16
  import textwrap
18
17
 
19
18
  import argx
20
19
  from pipen.utils import load_pipeline
21
- from pipen.cli import CLIPlugin
20
+ from pipen.cli import AsyncCLIPlugin
22
21
  from pipen_annotate import annotate
23
22
 
24
23
  if TYPE_CHECKING:
25
24
  from pipen import Proc
26
25
  from pipen_annotate.sections import Mixin
27
26
 
28
- __version__ = "1.0.0"
27
+ __version__ = "1.0.2"
29
28
 
30
29
  args = argx.ArgumentParser(
31
30
  description=("Make API reference documentation for pipen pipeline/processes.")
@@ -121,7 +120,7 @@ async def main(args: argx.Namespace) -> None:
121
120
  generate_doc(proc, args, i + 1, total)
122
121
 
123
122
 
124
- class PipenCliRefPlugin(CLIPlugin):
123
+ class PipenCliRefPlugin(AsyncCLIPlugin):
125
124
  """Make API reference documentation for pipen pipeline/processes."""
126
125
 
127
126
  version = __version__
@@ -182,6 +181,6 @@ class PipenCliRefPlugin(CLIPlugin):
182
181
  help="Replace placeholders in the docstring in the format of `old=new`."
183
182
  )
184
183
 
185
- def exec_command(self, args: argx.Namespace) -> None:
184
+ async def exec_command(self, args: argx.Namespace) -> None:
186
185
  """Execute the command"""
187
- asyncio.run(main(args))
186
+ await main(args)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pipen-cli-ref"
3
- version = "1.0.0"
3
+ version = "1.0.2"
4
4
  description = "Make API reference documentation for pipen pipeline/processes"
5
5
  authors = ["pwwang <1188067+pwwang@users.noreply.github.com>"]
6
6
  license = "MIT"
@@ -9,6 +9,7 @@ readme = "README.md"
9
9
  [tool.poetry.dependencies]
10
10
  python = "^3.9"
11
11
  pipen-annotate = "^1.0"
12
+ pipen = {version = "1.1.*", allow-prereleases = true}
12
13
 
13
14
  [tool.poetry.group.mkdocs.dependencies]
14
15
  mkdocs = "^1.6"
File without changes
File without changes