arkitekt-next 0.8.75__py3-none-any.whl → 0.8.76__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.
- arkitekt_next/cli/commands/call/local.py +7 -9
- arkitekt_next/cli/commands/gen/init.py +15 -0
- {arkitekt_next-0.8.75.dist-info → arkitekt_next-0.8.76.dist-info}/METADATA +1 -1
- {arkitekt_next-0.8.75.dist-info → arkitekt_next-0.8.76.dist-info}/RECORD +7 -7
- {arkitekt_next-0.8.75.dist-info → arkitekt_next-0.8.76.dist-info}/LICENSE +0 -0
- {arkitekt_next-0.8.75.dist-info → arkitekt_next-0.8.76.dist-info}/WHEEL +0 -0
- {arkitekt_next-0.8.75.dist-info → arkitekt_next-0.8.76.dist-info}/entry_points.txt +0 -0
|
@@ -11,6 +11,7 @@ from rekuest_next.api.schema import NodeKind, BindsInput
|
|
|
11
11
|
from rich.table import Table
|
|
12
12
|
from rich.console import Console
|
|
13
13
|
from typing import Dict, Any
|
|
14
|
+
import asyncio
|
|
14
15
|
|
|
15
16
|
|
|
16
17
|
async def call_app(
|
|
@@ -25,20 +26,16 @@ async def call_app(
|
|
|
25
26
|
async with app:
|
|
26
27
|
|
|
27
28
|
rekuest: RekuestNext = app.services["rekuest"]
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
raise NotImplementedError("Not implemented yet")
|
|
28
32
|
|
|
29
|
-
registry = await rekuest.agent.extension_registry.get("default").aretrieve_registry()
|
|
30
33
|
|
|
31
|
-
|
|
32
|
-
provide_message=Provide(
|
|
33
|
-
|
|
34
|
-
)
|
|
35
|
-
)
|
|
34
|
+
t = asyncio.create_task(rekuest.arun())
|
|
36
35
|
|
|
37
|
-
|
|
36
|
+
await t
|
|
38
37
|
|
|
39
38
|
|
|
40
|
-
raise NotImplementedError("Not implemented yet")
|
|
41
|
-
|
|
42
39
|
|
|
43
40
|
@click.command("prod")
|
|
44
41
|
@click.option(
|
|
@@ -109,6 +106,7 @@ def local(
|
|
|
109
106
|
**builder_kwargs,
|
|
110
107
|
fakts=fakts,
|
|
111
108
|
)
|
|
109
|
+
|
|
112
110
|
|
|
113
111
|
panel = construct_run_panel(app)
|
|
114
112
|
console.print(panel)
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from importlib import import_module
|
|
1
2
|
import os
|
|
2
3
|
import shutil
|
|
3
4
|
from click import ClickException
|
|
@@ -37,6 +38,20 @@ def init(ctx, boring, services, config, documents, schemas, path, seperate_doc_d
|
|
|
37
38
|
generate the code.
|
|
38
39
|
|
|
39
40
|
"""
|
|
41
|
+
manifest = get_manifest(ctx)
|
|
42
|
+
console = get_console(ctx)
|
|
43
|
+
|
|
44
|
+
entrypoint = manifest.entrypoint
|
|
45
|
+
|
|
46
|
+
with console.status("Loading entrypoint module..."):
|
|
47
|
+
try:
|
|
48
|
+
import_module(entrypoint)
|
|
49
|
+
except ModuleNotFoundError as e:
|
|
50
|
+
console.print(f"Could not find entrypoint module {entrypoint}")
|
|
51
|
+
raise e
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
40
55
|
app_directory = os.getcwd()
|
|
41
56
|
|
|
42
57
|
app_api_path = os.path.join(app_directory, path)
|
|
@@ -56,12 +56,12 @@ arkitekt_next/bloks/tailscale.py,sha256=87cJv9m7N_I3y2ZRvv5WVepRhvIZk4ftUpwa0yUd
|
|
|
56
56
|
arkitekt_next/builders.py,sha256=di4zl2fU4Dw6_NSnszmBj32lhmGuz59DLRtP84rH0hs,7939
|
|
57
57
|
arkitekt_next/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
58
58
|
arkitekt_next/cli/commands/call/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
59
|
-
arkitekt_next/cli/commands/call/local.py,sha256=
|
|
59
|
+
arkitekt_next/cli/commands/call/local.py,sha256=uU406Glk26EIj-_QlIcN7bGW_xSqMMj1Axp-QM6kvu4,2514
|
|
60
60
|
arkitekt_next/cli/commands/call/main.py,sha256=SdxlvSgA17-M_gwItiFU_srbh-CNdHpCTv_DkpOLojE,500
|
|
61
61
|
arkitekt_next/cli/commands/call/remote.py,sha256=Id6t1nUdXmERx9wbutEhvryUMAM80_G4HVHkhYZosTE,2097
|
|
62
62
|
arkitekt_next/cli/commands/gen/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
63
63
|
arkitekt_next/cli/commands/gen/compile.py,sha256=lygqut1fIiopa4MbBXkv1X-45g6UBxDxpGP7R6h-b7U,1445
|
|
64
|
-
arkitekt_next/cli/commands/gen/init.py,sha256=
|
|
64
|
+
arkitekt_next/cli/commands/gen/init.py,sha256=7DqABT1Ob7rRM5Qc0veV4wo7YE66k_KWrYL8dXjd55M,5316
|
|
65
65
|
arkitekt_next/cli/commands/gen/main.py,sha256=_BdkcsXoWY5_3gmboq2e0pGYM6lAnwqQgBAyxmvdf6U,947
|
|
66
66
|
arkitekt_next/cli/commands/gen/watch.py,sha256=nf4QckdTJOWxvKoeNRwvC4rXQ4xhIx8LCDDJzpPhcY8,1189
|
|
67
67
|
arkitekt_next/cli/commands/init/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -142,8 +142,8 @@ arkitekt_next/qt/utils.py,sha256=MgBPtPmCSBkIuATov3UgREESwxAHh77lWNNxyE7Qs48,773
|
|
|
142
142
|
arkitekt_next/service_registry.py,sha256=gMXyFftwuSoda9V13QEiNqFuwSBB2ss62dOjnXOetK0,4973
|
|
143
143
|
arkitekt_next/tqdm.py,sha256=lQcJI5Q6Py7Gy88hOCiJujjPEEGd8G2k1mOVJJ6oYe8,1531
|
|
144
144
|
arkitekt_next/utils.py,sha256=Cf7B1-E7_NgBnV2vxIIfZRStiCYPopQqNJFjJwU3Uog,2403
|
|
145
|
-
arkitekt_next-0.8.
|
|
146
|
-
arkitekt_next-0.8.
|
|
147
|
-
arkitekt_next-0.8.
|
|
148
|
-
arkitekt_next-0.8.
|
|
149
|
-
arkitekt_next-0.8.
|
|
145
|
+
arkitekt_next-0.8.76.dist-info/LICENSE,sha256=YZ2oRjC248t-GpoEyw7J13vwKYNG6zhYMaEAix6EzF0,1089
|
|
146
|
+
arkitekt_next-0.8.76.dist-info/METADATA,sha256=oE7YVEPOwd9YyR9NkGSSReIzEU-gli1DUcuPXrdZY0Q,6639
|
|
147
|
+
arkitekt_next-0.8.76.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
148
|
+
arkitekt_next-0.8.76.dist-info/entry_points.txt,sha256=-hxikQx4xZ6TiOnWVDOlTN_kcAISgGFvTHXIchsCHSc,60
|
|
149
|
+
arkitekt_next-0.8.76.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|