arkitekt-next 0.8.2__py3-none-any.whl → 0.8.3__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.

Potentially problematic release.


This version of arkitekt-next might be problematic. Click here for more details.

@@ -3,11 +3,11 @@ from arkitekt_next.cli.options import *
3
3
  import asyncio
4
4
  from arkitekt_next.cli.ui import construct_run_panel
5
5
  from importlib import import_module
6
- from rekuest.postmans.utils import arkiuse
6
+ from rekuest_next.postmans.utils import arkiuse
7
7
  from arkitekt_next.cli.utils import import_builder
8
- from rekuest.api.schema import (
8
+ from rekuest_next.api.schema import (
9
9
  NodeKind,
10
- ReserveBindsInput,
10
+ BindsInput
11
11
  )
12
12
  from rich.table import Table
13
13
  from rich.console import Console
@@ -21,45 +21,7 @@ async def call_app(
21
21
  arg: Dict[str, Any],
22
22
  ):
23
23
  async with app:
24
- await app.rekuest.agent.aregister_definitions()
25
-
26
- run_task = asyncio.create_task(app.rekuest.run())
27
-
28
- template = app.rekuest.agent.interface_template_map[template_string]
29
-
30
- async with arkiuse(
31
- hash=template.node.hash,
32
- binds=ReserveBindsInput(templates=[template.id], clients=[]),
33
- postman=app.rekuest.postman,
34
- ) as a:
35
- if template.node.kind == NodeKind.GENERATOR:
36
- async for i in a.astream(kwargs=arg):
37
- table = Table(title=f"Yields of {template.node.name}")
38
- table.add_column("key")
39
- table.add_column("value")
40
-
41
- for key, value in i.items():
42
- table.add_row(key, value)
43
-
44
- console.print(table)
45
-
46
- else:
47
- i = await a.aassign(kwargs=arg)
48
- table = Table(title=f"Returns of {template.node.name}")
49
- table.add_column("key")
50
- table.add_column("value")
51
-
52
- for key, value in i.items():
53
- table.add_row(key, value)
54
-
55
- console.print(table)
56
-
57
- run_task.cancel()
58
-
59
- try:
60
- await run_task
61
- except asyncio.CancelledError:
62
- pass
24
+ raise NotImplementedError("Not implemented yet")
63
25
 
64
26
 
65
27
  @click.command("prod")
@@ -36,13 +36,10 @@ def requirements(
36
36
  machine_readable: bool,
37
37
  builder: str = "arkitekt_next.builders.easy",
38
38
  ):
39
- """Runs the app in production mode
39
+ """Checks the requirements of the app
40
40
 
41
41
  \n
42
- You can specify the builder to use with the --builder flag. By default, the easy builder is used, which is designed to be easy to use and to get started with.
43
-
44
42
  """
45
- from rekuest.definition.registry import get_default_definition_registry
46
43
 
47
44
  manifest = get_manifest(ctx)
48
45
  console = get_console(ctx)
@@ -70,7 +67,7 @@ def requirements(
70
67
  )
71
68
 
72
69
  x = {
73
- key: item.dict(by_alias=True) for key, item in app.manifest.requirements.items()
70
+ key: item.model_dump(by_alias=True) for key, item in app.manifest.requirements.items()
74
71
  }
75
72
  if machine_readable:
76
73
  print("--START_REQUIREMENTS--" + json.dumps(x) + "--END_REQUIREMENTS--")
@@ -42,7 +42,7 @@ def templates(
42
42
  You can specify the builder to use with the --builder flag. By default, the easy builder is used, which is designed to be easy to use and to get started with.
43
43
 
44
44
  """
45
- from rekuest.definition.registry import get_default_definition_registry
45
+
46
46
 
47
47
  manifest = get_manifest(ctx)
48
48
  console = get_console(ctx)
@@ -8,8 +8,8 @@ from watchfiles.filters import PythonFilter
8
8
  import os
9
9
  import sys
10
10
  import inspect
11
- from rekuest.definition.registry import get_default_definition_registry
12
- from rekuest.agents.hooks import get_default_hook_registry
11
+ from rekuest_next.definition.registry import get_default_definition_registry
12
+ from rekuest_next.agents.hooks import get_default_hook_registry
13
13
  from typing import MutableSet, Tuple, Any, Set
14
14
  from arkitekt_next.cli.ui import construct_changes_group, construct_app_group
15
15
  from arkitekt_next.cli.commands.run.utils import import_builder
arkitekt_next/tqdm.py CHANGED
@@ -2,7 +2,7 @@
2
2
  assignation context"""
3
3
 
4
4
  from tqdm import tqdm as _tqdm
5
- from rekuest.actors.vars import current_assignation_helper
5
+ from rekuest_next.actors.vars import current_assignation_helper
6
6
 
7
7
 
8
8
  class tqdm(_tqdm):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: arkitekt-next
3
- Version: 0.8.2
3
+ Version: 0.8.3
4
4
  Summary: client for the arkitekt_next platform
5
5
  License: MIT
6
6
  Author: jhnnsrs
@@ -50,7 +50,7 @@ arkitekt_next/bloks/tailscale.py,sha256=87cJv9m7N_I3y2ZRvv5WVepRhvIZk4ftUpwa0yUd
50
50
  arkitekt_next/builders.py,sha256=mzyvhDI9u73_6sn2tGL-ZJh7PwdL_M8PIKqPqgzd4z0,7273
51
51
  arkitekt_next/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
52
52
  arkitekt_next/cli/commands/call/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
53
- arkitekt_next/cli/commands/call/local.py,sha256=YDummInGSb6lGKGiTlMSuXbE-Sz6dbfng6CsZaChCew,3338
53
+ arkitekt_next/cli/commands/call/local.py,sha256=XkNa2WGLf7YczRobjnQSWhRCtt6fs--2qeIa6tTMUvY,2114
54
54
  arkitekt_next/cli/commands/call/main.py,sha256=SdxlvSgA17-M_gwItiFU_srbh-CNdHpCTv_DkpOLojE,500
55
55
  arkitekt_next/cli/commands/call/remote.py,sha256=KNOBAg61kaapAgTl0dnv6LVD4d2p0GSuohK4r3OFxXQ,2092
56
56
  arkitekt_next/cli/commands/gen/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -62,8 +62,8 @@ arkitekt_next/cli/commands/init/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm
62
62
  arkitekt_next/cli/commands/init/main.py,sha256=1ZbZDBECZRxlcnulycdS15s-uQ5ngx4xP3T1v-gkJ3U,5435
63
63
  arkitekt_next/cli/commands/inspect/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
64
64
  arkitekt_next/cli/commands/inspect/main.py,sha256=Bu1vAZudkFCtjDnZAB8yQLDt-UKY9pJGhLBlEfDqtkw,626
65
- arkitekt_next/cli/commands/inspect/requirements.py,sha256=gQBx5OTsbLHTRwya4tMLOi8j_o28Gi4hRgvTWqGh5-4,2125
66
- arkitekt_next/cli/commands/inspect/templates.py,sha256=U99SLBYWiD-ZiIYV7pVWhQK3XWn1PLUIyTKzgSFF6MQ,2325
65
+ arkitekt_next/cli/commands/inspect/requirements.py,sha256=wj1-QTLY6rax-NxdDbctaS3tobo-W3g29FfnoM80Sr0,1894
66
+ arkitekt_next/cli/commands/inspect/templates.py,sha256=UjSqP7sirH6kG-s0h10augvUHI-sEGwgg4NNqcNCJBc,2254
67
67
  arkitekt_next/cli/commands/inspect/variables.py,sha256=LonDlbS2qH1v-jD6RfEhTv-mxmgeBMKqD3oO2iDJRjE,2698
68
68
  arkitekt_next/cli/commands/kabinet/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
69
69
  arkitekt_next/cli/commands/kabinet/build.py,sha256=JyMgvp5X0j2DE4w3aLPyM6ffSulfFZ1mNkS4--3wlZM,8671
@@ -81,7 +81,7 @@ arkitekt_next/cli/commands/manifest/scopes.py,sha256=sw0HRy8GliEcmx3Sh6cPRpBkf1v
81
81
  arkitekt_next/cli/commands/manifest/version.py,sha256=tA-a35QlcobUwoPsgGLQL9_D0E-HZvawsfO4l7DoX-Y,4832
82
82
  arkitekt_next/cli/commands/manifest/wizard.py,sha256=a8rIHgtmKuw-L4E3eO3kXwXv0TM2pN4Lq75y2QKXmcA,2498
83
83
  arkitekt_next/cli/commands/run/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
84
- arkitekt_next/cli/commands/run/dev.py,sha256=mobsKX155O6NXGzLK-c4_l2RN4vlM4-1lj2gQaX9HeA,10033
84
+ arkitekt_next/cli/commands/run/dev.py,sha256=pNl5KkMn413t7iLbkuWjA9qH_rApiODnk2CwacL6bXY,10043
85
85
  arkitekt_next/cli/commands/run/main.py,sha256=0bNO3DqwbZ4ddMsDWbCGmlPD6Cs3Jlg4yh2-zilsEbY,552
86
86
  arkitekt_next/cli/commands/run/prod.py,sha256=EqDMa_eYNaffHZOBHGQEGNJVKdq8NHCgfoqK8yH63B4,1637
87
87
  arkitekt_next/cli/commands/run/utils.py,sha256=zH-MNNEfKgyOYQvwP6Ph8KUHVqH48fw3ZI6tiQ9unwQ,325
@@ -134,10 +134,10 @@ arkitekt_next/qt/magic_bar.py,sha256=o3Z9F2QutVd6JLEY4tEQ5-vfjIBXpgfYz8HXcWgaqfc
134
134
  arkitekt_next/qt/types.py,sha256=jI9UHt1Rn-fxGZfeImTO9-yHh0zJPzk7CwvpnUXdirg,1085
135
135
  arkitekt_next/qt/utils.py,sha256=MgBPtPmCSBkIuATov3UgREESwxAHh77lWNNxyE7Qs48,773
136
136
  arkitekt_next/service_registry.py,sha256=oryaRLS2kalmV1Qf4_SWdLotBopTsdHNaVlnt1TGZyI,3607
137
- arkitekt_next/tqdm.py,sha256=FgrwpAwFTXBTEPY4rS7K4Gs8Wdjp74mUk4_OEU8hWZM,1526
137
+ arkitekt_next/tqdm.py,sha256=lQcJI5Q6Py7Gy88hOCiJujjPEEGd8G2k1mOVJJ6oYe8,1531
138
138
  arkitekt_next/utils.py,sha256=csBRBnxnErMRTilNBYAtIe0lPBb6E3uplqwsVGs5Wkk,2390
139
- arkitekt_next-0.8.2.dist-info/LICENSE,sha256=YZ2oRjC248t-GpoEyw7J13vwKYNG6zhYMaEAix6EzF0,1089
140
- arkitekt_next-0.8.2.dist-info/METADATA,sha256=5xGJosqJBHVY4l4675ZssX42wjIJEcoAeq51xmHddXs,6084
141
- arkitekt_next-0.8.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
142
- arkitekt_next-0.8.2.dist-info/entry_points.txt,sha256=-hxikQx4xZ6TiOnWVDOlTN_kcAISgGFvTHXIchsCHSc,60
143
- arkitekt_next-0.8.2.dist-info/RECORD,,
139
+ arkitekt_next-0.8.3.dist-info/LICENSE,sha256=YZ2oRjC248t-GpoEyw7J13vwKYNG6zhYMaEAix6EzF0,1089
140
+ arkitekt_next-0.8.3.dist-info/METADATA,sha256=fHlD7Znn3UZ7aIH6wakkoEVfkEOsL47TuaLKbh8K2vE,6084
141
+ arkitekt_next-0.8.3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
142
+ arkitekt_next-0.8.3.dist-info/entry_points.txt,sha256=-hxikQx4xZ6TiOnWVDOlTN_kcAISgGFvTHXIchsCHSc,60
143
+ arkitekt_next-0.8.3.dist-info/RECORD,,