rats-apps 0.6.0.dev20250207152453__py3-none-any.whl → 0.6.0.dev20250218170831__py3-none-any.whl
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.
- rats/cli/_annotations.py +3 -3
- {rats_apps-0.6.0.dev20250207152453.dist-info → rats_apps-0.6.0.dev20250218170831.dist-info}/METADATA +1 -1
- {rats_apps-0.6.0.dev20250207152453.dist-info → rats_apps-0.6.0.dev20250218170831.dist-info}/RECORD +4 -4
- {rats_apps-0.6.0.dev20250207152453.dist-info → rats_apps-0.6.0.dev20250218170831.dist-info}/WHEEL +1 -1
rats/cli/_annotations.py
CHANGED
@@ -25,10 +25,10 @@ Causes command names to be generated from the method names in [rats.cli.Containe
|
|
25
25
|
This is the default option for [rats.cli.command][] and [rats.cli.group][] and typically does not
|
26
26
|
need to be used directly.
|
27
27
|
"""
|
28
|
-
T = TypeVar("T", bound=Callable[
|
28
|
+
T = TypeVar("T", bound=Callable[..., Any])
|
29
29
|
|
30
30
|
|
31
|
-
def command(command_id: CommandId = AUTO_COMMAND) -> Callable[
|
31
|
+
def command(command_id: CommandId = AUTO_COMMAND) -> Callable[[T], T]:
|
32
32
|
"""
|
33
33
|
Mark a method in [rats.cli.Container][] instances as a [click.Command][].
|
34
34
|
|
@@ -55,7 +55,7 @@ def command(command_id: CommandId = AUTO_COMMAND) -> Callable[..., apps.Executab
|
|
55
55
|
return anns.annotation("commands", CommandId(cmd_name))(fn)
|
56
56
|
return anns.annotation("commands", command_id)(fn)
|
57
57
|
|
58
|
-
return decorator
|
58
|
+
return decorator
|
59
59
|
|
60
60
|
|
61
61
|
def group(command_id: CommandId = AUTO_COMMAND) -> Callable[..., apps.Executable]:
|
{rats_apps-0.6.0.dev20250207152453.dist-info → rats_apps-0.6.0.dev20250218170831.dist-info}/RECORD
RENAMED
@@ -18,7 +18,7 @@ rats/apps/_static_container.py,sha256=KH4AwRMX5QPIwYrD9W_HayIpQIrbVn7clEMx44LFAG
|
|
18
18
|
rats/apps/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
19
19
|
rats/cli/__init__.py,sha256=0VDmmNP4JOW-hNjufYwO-e38kLpquWb_fo95geuNv5w,564
|
20
20
|
rats/cli/__main__.py,sha256=WeldAKjA3Kmz9ZRnZVd3G8Ud66Y_gSRDLIPNE1JyhV0,1418
|
21
|
-
rats/cli/_annotations.py,sha256
|
21
|
+
rats/cli/_annotations.py,sha256=-B2Y1bYjPbeTNTBMZzMdAU92qu9AyutKHN_NdFy-xhA,2964
|
22
22
|
rats/cli/_app.py,sha256=4z2jiRHafCAN7S-cbMhfQJhLGwl6ljFS3r6P1COgR00,1454
|
23
23
|
rats/cli/_container.py,sha256=FIQBqi9PTNpE2P52qkfGET51BczdD-JvcWXLTjCNPDI,3512
|
24
24
|
rats/cli/_plugin.py,sha256=BNmgWVquQUEqJAYsed_l8vLnlLP7u3XC1TDyEFI1AiU,1552
|
@@ -35,6 +35,6 @@ rats_e2e/apps/inputs/_app.py,sha256=FiaLgOZc-d1ryKSwKnL5XBNGcOP1bHbxxeMJqoU_RJg,
|
|
35
35
|
rats_e2e/apps/minimal/__init__.py,sha256=bUR6Oexx6Jsouxor0cL9emXoVha4cm3WqyhU1pgchsI,521
|
36
36
|
rats_e2e/apps/minimal/__main__.py,sha256=Mf-a2iQKTTgh9hMd6AeuzmU9araMIyf1AtdWkh_L07E,117
|
37
37
|
rats_e2e/apps/minimal/_app.py,sha256=CQ09LVTNRarz7Pb1wiSuNHrZ_2KGcgH8nUqy4BjxMUY,849
|
38
|
-
rats_apps-0.6.0.
|
39
|
-
rats_apps-0.6.0.
|
40
|
-
rats_apps-0.6.0.
|
38
|
+
rats_apps-0.6.0.dev20250218170831.dist-info/METADATA,sha256=RoQiYMoEdygZ7Q3hVavblFvkcjEvz3YEG_5wfanxYpU,779
|
39
|
+
rats_apps-0.6.0.dev20250218170831.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
40
|
+
rats_apps-0.6.0.dev20250218170831.dist-info/RECORD,,
|