arkitekt-next 0.8.55__tar.gz → 0.8.56__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.
Potentially problematic release.
This version of arkitekt-next might be problematic. Click here for more details.
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/PKG-INFO +1 -1
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/inspect/templates.py +12 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/kabinet/build.py +14 -6
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/main.py +0 -2
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/pyproject.toml +1 -1
- arkitekt_next-0.8.55/arkitekt_next/cli/commands/delegate/main.py +0 -20
- arkitekt_next-0.8.55/arkitekt_next/cli/commands/delegate/script.py +0 -92
- arkitekt_next-0.8.55/arkitekt_next/cli/commands/run/__init__.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/LICENSE +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/README.md +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/__blok__.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/__init__.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/apps/__init__.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/apps/service/__init__.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/apps/service/fakts_next.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/apps/service/fakts_qt.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/apps/service/grant_registry.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/apps/service/herre.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/apps/service/herre_qt.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/apps/types.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/base_models.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/__init__.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/admin.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/arkitekt.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/base.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/config.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/fluss.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/gateway.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/internal_docker.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/kabinet.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/kraph.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/livekit.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/lok.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/mikro.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/minio.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/mount.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/namegen.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/ollama.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/orkestrator.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/postgres.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/redis.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/rekuest.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/secret.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/self_signed.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/services/__init__.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/services/admin.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/services/certer.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/services/config.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/services/db.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/services/gateway.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/services/livekit.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/services/lok.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/services/mount.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/services/name.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/services/ollama.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/services/redis.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/services/s3.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/services/secret.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/services/socket.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/socket.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/bloks/tailscale.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/builders.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/__init__.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/call/__init__.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/call/local.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/call/main.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/call/remote.py +0 -0
- {arkitekt_next-0.8.55/arkitekt_next/cli/commands/delegate → arkitekt_next-0.8.56/arkitekt_next/cli/commands/gen}/__init__.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/gen/compile.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/gen/init.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/gen/main.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/gen/watch.py +0 -0
- {arkitekt_next-0.8.55/arkitekt_next/cli/commands/gen → arkitekt_next-0.8.56/arkitekt_next/cli/commands/init}/__init__.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/init/main.py +0 -0
- {arkitekt_next-0.8.55/arkitekt_next/cli/commands/init → arkitekt_next-0.8.56/arkitekt_next/cli/commands/inspect}/__init__.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/inspect/main.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/inspect/requirements.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/inspect/variables.py +0 -0
- {arkitekt_next-0.8.55/arkitekt_next/cli/commands/inspect → arkitekt_next-0.8.56/arkitekt_next/cli/commands/kabinet}/__init__.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/kabinet/init.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/kabinet/main.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/kabinet/publish.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/kabinet/stage.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/kabinet/utils.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/kabinet/validate.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/kabinet/wizard.py +0 -0
- {arkitekt_next-0.8.55/arkitekt_next/cli/commands/kabinet → arkitekt_next-0.8.56/arkitekt_next/cli/commands/manifest}/__init__.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/manifest/inspect.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/manifest/main.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/manifest/scopes.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/manifest/version.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/manifest/wizard.py +0 -0
- {arkitekt_next-0.8.55/arkitekt_next/cli/commands/manifest → arkitekt_next-0.8.56/arkitekt_next/cli/commands/run}/__init__.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/run/dev.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/run/main.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/run/prod.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/run/utils.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/configs/base.yaml +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/constants.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/dockerfiles/vanilla.dockerfile +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/errors.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/inspect.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/io.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/options.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/schemas/fluss.schema.graphql +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/schemas/gucker.schema.graphql +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/schemas/kabinet.schema.graphql +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/schemas/kluster.schema.graphql +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/schemas/konviktion.schema.graphql +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/schemas/kuay.schema.graphql +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/schemas/mikro.schema.graphql +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/schemas/mikro_next.schema.graphql +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/schemas/napari.schema.graphql +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/schemas/omero_ark.schema.graphql +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/schemas/port.schema.graphql +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/schemas/rekuest.schema.graphql +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/schemas/rekuest_next.schema.graphql +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/schemas/unlok.schema.graphql +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/templates/filter.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/templates/simple.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/texts.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/types.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/ui.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/utils.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/validators.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/vars.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/versions/v1.yaml +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/constants.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/init_registry.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/qt/__init__.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/qt/assets/dark/gear.png +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/qt/assets/dark/green pulse.gif +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/qt/assets/dark/orange pulse.gif +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/qt/assets/dark/pink pulse.gif +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/qt/assets/dark/red pulse.gif +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/qt/assets/light/gear.png +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/qt/assets/light/green pulse.gif +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/qt/assets/light/orange pulse.gif +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/qt/assets/light/pink pulse.gif +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/qt/assets/light/red pulse.gif +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/qt/builders.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/qt/magic_bar.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/qt/types.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/qt/utils.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/service_registry.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/tqdm.py +0 -0
- {arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/utils.py +0 -0
{arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/inspect/templates.py
RENAMED
|
@@ -9,6 +9,8 @@ from arkitekt_next.cli.options import with_builder
|
|
|
9
9
|
import json
|
|
10
10
|
import os
|
|
11
11
|
|
|
12
|
+
from arkitekt_next.constants import DEFAULT_ARKITEKT_URL
|
|
13
|
+
|
|
12
14
|
|
|
13
15
|
async def run_app_inspection(app):
|
|
14
16
|
async with app:
|
|
@@ -31,12 +33,20 @@ async def run_app_inspection(app):
|
|
|
31
33
|
is_flag=True,
|
|
32
34
|
default=False,
|
|
33
35
|
)
|
|
36
|
+
@click.option(
|
|
37
|
+
"--url",
|
|
38
|
+
"-u",
|
|
39
|
+
help="The fakts_next server to use",
|
|
40
|
+
type=str,
|
|
41
|
+
default=DEFAULT_ARKITEKT_URL,
|
|
42
|
+
)
|
|
34
43
|
@with_builder
|
|
35
44
|
def templates(
|
|
36
45
|
ctx,
|
|
37
46
|
pretty: bool,
|
|
38
47
|
machine_readable: bool,
|
|
39
48
|
builder: str = "arkitekt_next.builders.easy",
|
|
49
|
+
url: str = DEFAULT_ARKITEKT_URL,
|
|
40
50
|
):
|
|
41
51
|
"""Runs the app in production mode
|
|
42
52
|
|
|
@@ -68,6 +78,8 @@ def templates(
|
|
|
68
78
|
identifier=identifier,
|
|
69
79
|
version="dev",
|
|
70
80
|
logo=manifest.logo,
|
|
81
|
+
url=url,
|
|
82
|
+
headless=True,
|
|
71
83
|
)
|
|
72
84
|
|
|
73
85
|
|
|
@@ -11,6 +11,7 @@ import yaml
|
|
|
11
11
|
from typing import Dict, Optional
|
|
12
12
|
import json
|
|
13
13
|
from arkitekt_next.base_models import Requirement
|
|
14
|
+
from arkitekt_next.constants import DEFAULT_ARKITEKT_URL
|
|
14
15
|
from arkitekt_next.utils import create_arkitekt_next_folder
|
|
15
16
|
from rekuest_next.api.schema import TemplateInput
|
|
16
17
|
|
|
@@ -91,11 +92,11 @@ def inspect_docker_container(build_id: str) -> InspectionInput:
|
|
|
91
92
|
raise InspectionError(f"An error occurred: {e.stdout + e.stderr}") from e
|
|
92
93
|
|
|
93
94
|
|
|
94
|
-
def inspect_templates(build_id: str) -> list[TemplateInput]:
|
|
95
|
+
def inspect_templates(build_id: str, url:str) -> list[TemplateInput]:
|
|
95
96
|
try:
|
|
96
97
|
# Run 'docker inspect' with the container ID or name
|
|
97
98
|
result = subprocess.run(
|
|
98
|
-
["docker", "run", build_id, "arkitekt-next", "inspect", "templates", "-mr"],
|
|
99
|
+
["docker", "run", "--network", "host", build_id, "arkitekt-next", "inspect", "templates", "-mr", "--url", url],
|
|
99
100
|
stdout=subprocess.PIPE,
|
|
100
101
|
stderr=subprocess.PIPE,
|
|
101
102
|
check=True,
|
|
@@ -173,9 +174,9 @@ def inspect_requirements(build_id: str) -> Dict[str, Requirement]:
|
|
|
173
174
|
raise InspectionError(f"An error occurred: {e.stdout + e.stderr}") from e
|
|
174
175
|
|
|
175
176
|
|
|
176
|
-
def inspect_build(build_id: str) -> InspectionInput:
|
|
177
|
+
def inspect_build(build_id: str, url: str) -> InspectionInput:
|
|
177
178
|
size, size_root_fs = inspect_docker_container(build_id)
|
|
178
|
-
templates = inspect_templates(build_id)
|
|
179
|
+
templates = inspect_templates(build_id, url)
|
|
179
180
|
requirements = inspect_requirements(build_id)
|
|
180
181
|
|
|
181
182
|
return InspectionInput(size=size, templates=templates, requirements=requirements)
|
|
@@ -241,8 +242,15 @@ def get_flavours(ctx: Context, select: Optional[str] = None) -> Dict[str, Flavou
|
|
|
241
242
|
default=None,
|
|
242
243
|
required=False,
|
|
243
244
|
)
|
|
245
|
+
@click.option(
|
|
246
|
+
"--url",
|
|
247
|
+
"-u",
|
|
248
|
+
help="The fakts_next server to use",
|
|
249
|
+
type=str,
|
|
250
|
+
default=DEFAULT_ARKITEKT_URL,
|
|
251
|
+
)
|
|
244
252
|
@click.pass_context
|
|
245
|
-
def build(ctx: Context, flavour: str, no_inspect: bool, tag: str = None) -> None:
|
|
253
|
+
def build(ctx: Context, flavour: str, no_inspect: bool, tag: str = None, url: str = DEFAULT_ARKITEKT_URL) -> None:
|
|
246
254
|
"""Builds the arkitekt_next app to docker"""
|
|
247
255
|
|
|
248
256
|
manifest = get_manifest(ctx)
|
|
@@ -276,7 +284,7 @@ def build(ctx: Context, flavour: str, no_inspect: bool, tag: str = None) -> None
|
|
|
276
284
|
|
|
277
285
|
inspection = None
|
|
278
286
|
if not no_inspect:
|
|
279
|
-
inspection = inspect_build(build_tag)
|
|
287
|
+
inspection = inspect_build(build_tag, url)
|
|
280
288
|
|
|
281
289
|
generate_build(build_run, build_tag, key, flavour, manifest, inspection)
|
|
282
290
|
|
|
@@ -21,7 +21,6 @@ from arkitekt_next.cli.commands.init.main import init
|
|
|
21
21
|
from arkitekt_next.cli.commands.manifest.main import manifest
|
|
22
22
|
from arkitekt_next.cli.commands.inspect.main import inspect
|
|
23
23
|
from arkitekt_next.cli.commands.call.main import call
|
|
24
|
-
from arkitekt_next.cli.commands.delegate.main import delegate
|
|
25
24
|
from arkitekt_next.cli.io import load_manifest
|
|
26
25
|
from arkitekt_next.utils import create_arkitekt_next_folder
|
|
27
26
|
|
|
@@ -77,7 +76,6 @@ cli.add_command(kabinet, "kabinet")
|
|
|
77
76
|
cli.add_command(manifest, "manifest")
|
|
78
77
|
cli.add_command(inspect, "inspect")
|
|
79
78
|
cli.add_command(call, "call")
|
|
80
|
-
cli.add_command(delegate, "delegate")
|
|
81
79
|
|
|
82
80
|
if __name__ == "__main__":
|
|
83
81
|
cli()
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import rich_click as click
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import rich_click as click
|
|
5
|
-
from .script import script
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
@click.group()
|
|
9
|
-
@click.pass_context
|
|
10
|
-
def delegate(ctx):
|
|
11
|
-
"""Inspects your arkitekt_next app
|
|
12
|
-
|
|
13
|
-
Inspects various parts of your arkitekt_next app. This is useful for debugging
|
|
14
|
-
and development. It also represents methods that are called by the arkitekt_next
|
|
15
|
-
server when you run your app in production mode.
|
|
16
|
-
|
|
17
|
-
"""
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
delegate.add_command(script, "script")
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import rich_click as click
|
|
2
|
-
from arkitekt_next.cli.options import *
|
|
3
|
-
import asyncio
|
|
4
|
-
from arkitekt_next.cli.ui import construct_run_panel
|
|
5
|
-
from importlib import import_module
|
|
6
|
-
from arkitekt_next.cli.utils import import_builder
|
|
7
|
-
from rekuest_next.agents.extensions.delegating.extension import CLIExtension
|
|
8
|
-
from rekuest_next.api.schema import NodeKind, BindsInput
|
|
9
|
-
from rich.table import Table
|
|
10
|
-
from rich.console import Console
|
|
11
|
-
from typing import Dict, Any
|
|
12
|
-
|
|
13
|
-
from rekuest_next.rekuest import RekuestNext
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
async def call_app(
|
|
17
|
-
console: Console,
|
|
18
|
-
app: App,
|
|
19
|
-
template_string: str,
|
|
20
|
-
arg: Dict[str, Any],
|
|
21
|
-
):
|
|
22
|
-
async with app:
|
|
23
|
-
await app.services.get("rekuest").agent.aprovide()
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
@click.command("prod")
|
|
27
|
-
@click.argument("script_name", type=str, required=True, nargs=-1)
|
|
28
|
-
@click.option(
|
|
29
|
-
"--url",
|
|
30
|
-
help="The fakts_next url for connection",
|
|
31
|
-
default=DEFAULT_ARKITEKT_URL,
|
|
32
|
-
envvar="FAKTS_URL",
|
|
33
|
-
)
|
|
34
|
-
@with_builder
|
|
35
|
-
@with_token
|
|
36
|
-
@with_instance_id
|
|
37
|
-
@with_headless
|
|
38
|
-
@with_log_level
|
|
39
|
-
@with_skip_cache
|
|
40
|
-
@click.pass_context
|
|
41
|
-
@click.option(
|
|
42
|
-
"--arg",
|
|
43
|
-
"-a",
|
|
44
|
-
"args",
|
|
45
|
-
help="Key Value pairs for the setup",
|
|
46
|
-
type=(str, str),
|
|
47
|
-
multiple=True,
|
|
48
|
-
)
|
|
49
|
-
@click.option(
|
|
50
|
-
"--template",
|
|
51
|
-
"-t",
|
|
52
|
-
"template",
|
|
53
|
-
help="The template to run",
|
|
54
|
-
type=str,
|
|
55
|
-
)
|
|
56
|
-
def script(
|
|
57
|
-
ctx,
|
|
58
|
-
script_name,
|
|
59
|
-
entrypoint=None,
|
|
60
|
-
builder=None,
|
|
61
|
-
args=None,
|
|
62
|
-
template: str = None,
|
|
63
|
-
**builder_kwargs,
|
|
64
|
-
):
|
|
65
|
-
"""Runs the app in production mode
|
|
66
|
-
|
|
67
|
-
\n
|
|
68
|
-
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.
|
|
69
|
-
|
|
70
|
-
"""
|
|
71
|
-
|
|
72
|
-
manifest = get_manifest(ctx)
|
|
73
|
-
console = get_console(ctx)
|
|
74
|
-
entrypoint = entrypoint or manifest.entrypoint
|
|
75
|
-
|
|
76
|
-
kwargs = dict(args or [])
|
|
77
|
-
|
|
78
|
-
builder = import_builder(builder)
|
|
79
|
-
|
|
80
|
-
app = builder(
|
|
81
|
-
**manifest.to_builder_dict(),
|
|
82
|
-
**builder_kwargs,
|
|
83
|
-
)
|
|
84
|
-
|
|
85
|
-
rekuest: RekuestNext = app.services.get("rekuest")
|
|
86
|
-
|
|
87
|
-
rekuest.agent.register_extension("cli", CLIExtension(" ".join(script_name)))
|
|
88
|
-
|
|
89
|
-
panel = construct_run_panel(app)
|
|
90
|
-
console.print(panel)
|
|
91
|
-
|
|
92
|
-
asyncio.run(call_app(console, app, template, kwargs))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/inspect/requirements.py
RENAMED
|
File without changes
|
{arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/inspect/variables.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/kabinet/validate.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/manifest/inspect.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/commands/manifest/version.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/dockerfiles/vanilla.dockerfile
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/schemas/fluss.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/schemas/gucker.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/schemas/kabinet.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/schemas/kluster.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/schemas/konviktion.schema.graphql
RENAMED
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/schemas/mikro.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/schemas/mikro_next.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/schemas/napari.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/schemas/omero_ark.schema.graphql
RENAMED
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/schemas/rekuest.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/schemas/rekuest_next.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/cli/schemas/unlok.schema.graphql
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.8.55 → arkitekt_next-0.8.56}/arkitekt_next/qt/assets/light/orange pulse.gif
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|