rats-apps 0.6.0__py3-none-any.whl → 0.6.0.dev20250218162538__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 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[[Any], Any])
28
+ T = TypeVar("T", bound=Callable[..., Any])
29
29
 
30
30
 
31
- def command(command_id: CommandId = AUTO_COMMAND) -> Callable[..., apps.Executable]:
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 # type: ignore[reportReturnType]
58
+ return decorator
59
59
 
60
60
 
61
61
  def group(command_id: CommandId = AUTO_COMMAND) -> Callable[..., apps.Executable]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: rats-apps
3
- Version: 0.6.0
3
+ Version: 0.6.0.dev20250218162538
4
4
  Summary: research analysis tools for building applications
5
5
  License: MIT
6
6
  Keywords: pipelines,machine learning,research
@@ -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=TCjs2b7o6kUSseFwrHm63o9QurwGDO7YsK56ZNMQPGg,3014
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.dist-info/METADATA,sha256=WLgHbk_7vAv1lsvKAPEsfMzFHBktcm3lhLSovTmGZik,761
39
- rats_apps-0.6.0.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
40
- rats_apps-0.6.0.dist-info/RECORD,,
38
+ rats_apps-0.6.0.dev20250218162538.dist-info/METADATA,sha256=SA73ejYcflivbNSAJYOJasqCpWN56jSTjbmGkNhrbZs,779
39
+ rats_apps-0.6.0.dev20250218162538.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
40
+ rats_apps-0.6.0.dev20250218162538.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.0.1
2
+ Generator: poetry-core 2.1.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any