arkitekt-next 0.8.8__tar.gz → 0.8.9__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.8 → arkitekt_next-0.8.9}/PKG-INFO +1 -1
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/__init__.py +3 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/apps/service/fakts_next.py +1 -1
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/apps/service/fakts_qt.py +1 -1
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/apps/service/herre.py +1 -1
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/apps/service/herre_qt.py +1 -1
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/apps/types.py +1 -2
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/builders.py +1 -1
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/call/local.py +1 -4
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/inspect/requirements.py +2 -1
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/inspect/templates.py +0 -1
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/kabinet/build.py +1 -1
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/kabinet/init.py +4 -5
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/types.py +1 -2
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/qt/builders.py +2 -2
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/qt/magic_bar.py +3 -3
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/qt/types.py +23 -20
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/service_registry.py +1 -1
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/utils.py +1 -1
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/pyproject.toml +1 -1
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/LICENSE +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/README.md +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/__blok__.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/apps/__init__.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/apps/service/__init__.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/apps/service/grant_registry.py +0 -0
- /arkitekt_next-0.8.8/arkitekt_next/model.py → /arkitekt_next-0.8.9/arkitekt_next/base_models.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/__init__.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/admin.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/arkitekt.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/base.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/config.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/fluss.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/gateway.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/internal_docker.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/kabinet.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/livekit.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/lok.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/mikro.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/minio.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/mount.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/namegen.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/orkestrator.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/postgres.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/redis.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/rekuest.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/secret.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/services/__init__.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/services/admin.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/services/config.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/services/db.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/services/gateway.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/services/livekit.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/services/lok.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/services/mount.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/services/name.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/services/redis.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/services/s3.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/services/secret.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/services/socket.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/socket.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/bloks/tailscale.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/__init__.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/call/__init__.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/call/main.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/call/remote.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/gen/__init__.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/gen/compile.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/gen/init.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/gen/main.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/gen/watch.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/init/__init__.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/init/main.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/inspect/__init__.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/inspect/main.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/inspect/variables.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/kabinet/__init__.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/kabinet/main.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/kabinet/publish.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/kabinet/stage.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/kabinet/utils.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/kabinet/validate.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/kabinet/wizard.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/manifest/__init__.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/manifest/inspect.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/manifest/main.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/manifest/scopes.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/manifest/version.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/manifest/wizard.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/run/__init__.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/run/dev.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/run/main.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/run/prod.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/run/utils.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/configs/base.yaml +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/constants.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/dockerfiles/vanilla.dockerfile +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/errors.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/inspect.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/io.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/main.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/options.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/schemas/fluss.schema.graphql +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/schemas/gucker.schema.graphql +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/schemas/kabinet.schema.graphql +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/schemas/kluster.schema.graphql +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/schemas/konviktion.schema.graphql +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/schemas/kuay.schema.graphql +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/schemas/mikro.schema.graphql +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/schemas/mikro_next.schema.graphql +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/schemas/napari.schema.graphql +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/schemas/omero_ark.schema.graphql +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/schemas/port.schema.graphql +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/schemas/rekuest.schema.graphql +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/schemas/rekuest_next.schema.graphql +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/schemas/unlok.schema.graphql +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/templates/filter.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/templates/simple.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/texts.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/ui.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/utils.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/validators.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/vars.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/versions/v1.yaml +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/constants.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/qt/__init__.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/qt/assets/dark/gear.png +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/qt/assets/dark/green pulse.gif +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/qt/assets/dark/orange pulse.gif +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/qt/assets/dark/pink pulse.gif +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/qt/assets/dark/red pulse.gif +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/qt/assets/light/gear.png +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/qt/assets/light/green pulse.gif +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/qt/assets/light/orange pulse.gif +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/qt/assets/light/pink pulse.gif +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/qt/assets/light/red pulse.gif +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/qt/utils.py +0 -0
- {arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/tqdm.py +0 -0
|
@@ -15,6 +15,9 @@ try:
|
|
|
15
15
|
from rekuest_next.state.state import state
|
|
16
16
|
from rekuest_next.actors.reactive.api import progress, aprogress
|
|
17
17
|
from rekuest_next.actors.reactive.api import log, alog
|
|
18
|
+
from rekuest_next.register import test, benchmark
|
|
19
|
+
from rekuest_next.structures.model import model
|
|
20
|
+
from rekuest_next.define import define
|
|
18
21
|
except ImportError as e:
|
|
19
22
|
raise e
|
|
20
23
|
register = missing_install("rekuest_next", e)
|
|
@@ -11,7 +11,7 @@ from fakts.grants.remote.demanders.device_code import DeviceCodeDemander
|
|
|
11
11
|
from fakts.grants.remote.claimers.post import ClaimEndpointClaimer
|
|
12
12
|
from fakts.grants.remote.demanders.redeem import RedeemDemander
|
|
13
13
|
|
|
14
|
-
from arkitekt_next.
|
|
14
|
+
from arkitekt_next.base_models import Manifest
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
class ArkitektNextFaktsQt(Fakts):
|
|
@@ -3,7 +3,7 @@ from fakts import Fakts
|
|
|
3
3
|
from herre.grants.oauth2.refresh import RefreshGrant
|
|
4
4
|
from herre.fakts.fakts_endpoint_fetcher import FaktsUserFetcher
|
|
5
5
|
from herre.fakts.grant import FaktsGrant
|
|
6
|
-
from arkitekt_next.
|
|
6
|
+
from arkitekt_next.base_models import User
|
|
7
7
|
from arkitekt_next.apps.service.grant_registry import ARKITEKT_GRANT_REGISTRY
|
|
8
8
|
|
|
9
9
|
|
|
@@ -7,7 +7,7 @@ from herre.fakts.fakts_qt_store import FaktsQtStore
|
|
|
7
7
|
from herre.grants.auto_login import AutoLoginGrant
|
|
8
8
|
from herre.grants.qt.auto_login import AutoLoginWidget
|
|
9
9
|
from herre.fakts.fakts_endpoint_fetcher import FaktsUserFetcher
|
|
10
|
-
from arkitekt_next.
|
|
10
|
+
from arkitekt_next.base_models import Manifest, User
|
|
11
11
|
from arkitekt_next.apps.service.grant_registry import ARKITEKT_GRANT_REGISTRY
|
|
12
12
|
|
|
13
13
|
|
|
@@ -12,7 +12,7 @@ an import exception to the app.
|
|
|
12
12
|
|
|
13
13
|
import logging
|
|
14
14
|
from typing import TYPE_CHECKING, Any, Dict
|
|
15
|
-
from arkitekt_next.
|
|
15
|
+
from arkitekt_next.base_models import Manifest
|
|
16
16
|
from koil.composition import Composition
|
|
17
17
|
from fakts import Fakts
|
|
18
18
|
from herre import Herre
|
|
@@ -36,7 +36,6 @@ class App(Composition):
|
|
|
36
36
|
"""Register a service"""
|
|
37
37
|
self.services["rekuest"].register(*args, **kwargs)
|
|
38
38
|
|
|
39
|
-
|
|
40
39
|
async def __aenter__(self):
|
|
41
40
|
await super().__aenter__()
|
|
42
41
|
for service in self.services.values():
|
|
@@ -9,7 +9,7 @@ from arkitekt_next.apps.service.fakts_next import (
|
|
|
9
9
|
)
|
|
10
10
|
from arkitekt_next.apps.service.herre import build_arkitekt_next_herre
|
|
11
11
|
from .utils import create_arkitekt_next_folder
|
|
12
|
-
from .
|
|
12
|
+
from .base_models import Manifest
|
|
13
13
|
from .apps.types import App
|
|
14
14
|
from .service_registry import ServiceBuilderRegistry, check_and_import_services
|
|
15
15
|
from arkitekt_next.constants import DEFAULT_ARKITEKT_URL
|
|
@@ -5,10 +5,7 @@ from arkitekt_next.cli.ui import construct_run_panel
|
|
|
5
5
|
from importlib import import_module
|
|
6
6
|
from rekuest_next.postmans.utils import arkiuse
|
|
7
7
|
from arkitekt_next.cli.utils import import_builder
|
|
8
|
-
from rekuest_next.api.schema import
|
|
9
|
-
NodeKind,
|
|
10
|
-
BindsInput
|
|
11
|
-
)
|
|
8
|
+
from rekuest_next.api.schema import NodeKind, BindsInput
|
|
12
9
|
from rich.table import Table
|
|
13
10
|
from rich.console import Console
|
|
14
11
|
from typing import Dict, Any
|
{arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/commands/inspect/requirements.py
RENAMED
|
@@ -67,7 +67,8 @@ def requirements(
|
|
|
67
67
|
)
|
|
68
68
|
|
|
69
69
|
x = {
|
|
70
|
-
key: item.model_dump(by_alias=True)
|
|
70
|
+
key: item.model_dump(by_alias=True)
|
|
71
|
+
for key, item in app.manifest.requirements.items()
|
|
71
72
|
}
|
|
72
73
|
if machine_readable:
|
|
73
74
|
print("--START_REQUIREMENTS--" + json.dumps(x) + "--END_REQUIREMENTS--")
|
|
@@ -10,7 +10,7 @@ from arkitekt_next.cli.types import Flavour, Inspection
|
|
|
10
10
|
import yaml
|
|
11
11
|
from typing import Dict, Optional
|
|
12
12
|
import json
|
|
13
|
-
from arkitekt_next.
|
|
13
|
+
from arkitekt_next.base_models import Requirement
|
|
14
14
|
from arkitekt_next.utils import create_arkitekt_next_folder
|
|
15
15
|
from rekuest_next.api.schema import TemplateInput
|
|
16
16
|
|
|
@@ -87,14 +87,13 @@ def init(
|
|
|
87
87
|
dockerfile="Dockerfile",
|
|
88
88
|
)
|
|
89
89
|
|
|
90
|
-
|
|
91
90
|
try:
|
|
92
|
-
package_version = arkitekt_version or version(
|
|
91
|
+
package_version = arkitekt_version or version("arkitekt_next")
|
|
93
92
|
print(f"Detected Arkitekt Package version: {package_version}")
|
|
94
93
|
except:
|
|
95
|
-
raise click.ClickException(
|
|
96
|
-
|
|
97
|
-
|
|
94
|
+
raise click.ClickException(
|
|
95
|
+
"Could not detect the Arkitekt package version (maybe you are running a dev version). Please provide it with the --arkitekt-version flag"
|
|
96
|
+
)
|
|
98
97
|
|
|
99
98
|
with open(config_file, "w") as file:
|
|
100
99
|
yaml.dump(fl.dict(), file)
|
|
@@ -5,7 +5,7 @@ from typing import List, Optional, Union, Literal, Dict
|
|
|
5
5
|
from enum import Enum
|
|
6
6
|
import semver
|
|
7
7
|
import uuid
|
|
8
|
-
from arkitekt_next.
|
|
8
|
+
from arkitekt_next.base_models import Requirement
|
|
9
9
|
from string import Formatter
|
|
10
10
|
import os
|
|
11
11
|
|
|
@@ -247,7 +247,6 @@ class Flavour(BaseModel):
|
|
|
247
247
|
def generate_build_command(self, tag: str, relative_dir: str):
|
|
248
248
|
"""Generates the build command for this flavour"""
|
|
249
249
|
|
|
250
|
-
|
|
251
250
|
dockerfile = os.path.join(relative_dir, self.dockerfile)
|
|
252
251
|
|
|
253
252
|
return [v.format(tag=tag, dockerfile=dockerfile) for v in self.build_command]
|
|
@@ -4,7 +4,7 @@ from arkitekt_next.apps.service.fakts_next import (
|
|
|
4
4
|
from arkitekt_next.apps.service.fakts_qt import build_arkitekt_next_qt_fakts
|
|
5
5
|
from arkitekt_next.apps.service.herre_qt import build_arkitekt_next_qt_herre
|
|
6
6
|
from arkitekt_next.utils import create_arkitekt_next_folder
|
|
7
|
-
from arkitekt_next.
|
|
7
|
+
from arkitekt_next.base_models import Manifest
|
|
8
8
|
from arkitekt_next.apps.types import App
|
|
9
9
|
from arkitekt_next.service_registry import (
|
|
10
10
|
ServiceBuilderRegistry,
|
|
@@ -26,7 +26,7 @@ from arkitekt_next.apps.service.fakts_next import (
|
|
|
26
26
|
)
|
|
27
27
|
from arkitekt_next.apps.service.herre import build_arkitekt_next_herre
|
|
28
28
|
from arkitekt_next.utils import create_arkitekt_next_folder
|
|
29
|
-
from arkitekt_next.
|
|
29
|
+
from arkitekt_next.base_models import Manifest
|
|
30
30
|
from arkitekt_next.apps.types import App
|
|
31
31
|
from arkitekt_next.service_registry import (
|
|
32
32
|
ServiceBuilderRegistry,
|
|
@@ -63,7 +63,9 @@ class Logo(QtWidgets.QWidget):
|
|
|
63
63
|
data = await resp.read()
|
|
64
64
|
return data
|
|
65
65
|
else:
|
|
66
|
-
logger.error(
|
|
66
|
+
logger.error(
|
|
67
|
+
f"Failed to download the image. Status code: {resp.status}"
|
|
68
|
+
)
|
|
67
69
|
return None
|
|
68
70
|
|
|
69
71
|
|
|
@@ -154,8 +156,6 @@ class ArkitektNextLogs(QtWidgets.QDialog):
|
|
|
154
156
|
def log_level(self) -> str:
|
|
155
157
|
"""The log level in use."""
|
|
156
158
|
return self.settings.value(self.log_level_key, "INFO", str)
|
|
157
|
-
|
|
158
|
-
|
|
159
159
|
|
|
160
160
|
|
|
161
161
|
class Profile(QtWidgets.QDialog):
|
|
@@ -2,7 +2,6 @@ from arkitekt_next.apps.types import App, Fakts, Herre, Manifest
|
|
|
2
2
|
from typing import List, Callable, Dict, Any
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
class QtApp(App):
|
|
7
6
|
"""An app that is built with the easy builder"""
|
|
8
7
|
|
|
@@ -25,36 +24,35 @@ class QtApp(App):
|
|
|
25
24
|
"""Register a hook"""
|
|
26
25
|
self.hooks[hook_name].append(hook)
|
|
27
26
|
|
|
28
|
-
|
|
29
27
|
def register(self, *args, **kwargs):
|
|
30
|
-
"""
|
|
28
|
+
"""Register a function with the app (not in the Qt event loop)
|
|
31
29
|
|
|
32
30
|
This is useful for functions that do not need access to the Qt event loop
|
|
33
31
|
and can be run in a separate thread. This is the default behavior for
|
|
34
32
|
functions registered with the app.
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"""
|
|
38
|
-
self.services["rekuest"].register(*args, **kwargs)
|
|
39
33
|
|
|
40
34
|
|
|
35
|
+
"""
|
|
36
|
+
self.services["rekuest"].register(*args, **kwargs)
|
|
41
37
|
|
|
42
38
|
def register_in_qt_loop(self, function: Callable, **kwargs):
|
|
43
39
|
"""Register a function in the Qt event loop
|
|
44
|
-
|
|
40
|
+
|
|
45
41
|
This is useful for functions that need to be resolved in the Qt event loop and are
|
|
46
42
|
able to block the main thread (e.g. when prompting a necessary user input, or
|
|
47
43
|
when displaying a blocking dialog).
|
|
48
|
-
|
|
44
|
+
|
|
49
45
|
"""
|
|
50
46
|
|
|
51
47
|
from rekuest_next.qt.builders import qtinloopactifier
|
|
52
|
-
|
|
53
|
-
return self.services["rekuest"].register(
|
|
54
|
-
|
|
48
|
+
|
|
49
|
+
return self.services["rekuest"].register(
|
|
50
|
+
function, actifier=qtinloopactifier, **kwargs
|
|
51
|
+
)
|
|
52
|
+
|
|
55
53
|
def register_with_qt_future(self, function: Callable, **kwargs):
|
|
56
|
-
"""
|
|
57
|
-
|
|
54
|
+
"""Register a function with a future that can be resolved in the Qt event loop
|
|
55
|
+
|
|
58
56
|
This is useful for functions that need to be resolved in the Qt event loop, but
|
|
59
57
|
might cause a blocking call if they are run in the same thread.
|
|
60
58
|
|
|
@@ -63,7 +61,7 @@ class QtApp(App):
|
|
|
63
61
|
```python
|
|
64
62
|
|
|
65
63
|
class MyWidget(QtWidgets.QWidget):
|
|
66
|
-
|
|
64
|
+
|
|
67
65
|
def __init__(self, app: QtApp):
|
|
68
66
|
super().__init__()
|
|
69
67
|
self.my_widget = QtWidgets.QWidget()
|
|
@@ -93,16 +91,21 @@ class QtApp(App):
|
|
|
93
91
|
|
|
94
92
|
def on_reject(self):
|
|
95
93
|
self.current_future.set_result(False)
|
|
96
|
-
|
|
97
|
-
|
|
94
|
+
|
|
95
|
+
|
|
98
96
|
"""
|
|
99
97
|
from rekuest_next.qt.builders import qtwithfutureactifier
|
|
100
|
-
|
|
98
|
+
|
|
99
|
+
return self.services["rekuest"].register(
|
|
100
|
+
function, actifier=qtwithfutureactifier, **kwargs
|
|
101
|
+
)
|
|
101
102
|
|
|
102
103
|
def register_with_qt_generator(self, function: Callable, **kwargs):
|
|
103
104
|
from rekuest_next.qt.builders import qtwithgeneratoractifier
|
|
104
|
-
|
|
105
|
-
|
|
105
|
+
|
|
106
|
+
return self.services["rekuest"].register(
|
|
107
|
+
function, actifier=qtwithgeneratoractifier, **kwargs
|
|
108
|
+
)
|
|
106
109
|
|
|
107
110
|
def run(self):
|
|
108
111
|
"""Run the app"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/arkitekt_next-0.8.8/arkitekt_next/model.py → /arkitekt_next-0.8.9/arkitekt_next/base_models.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
|
|
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.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/dockerfiles/vanilla.dockerfile
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
|
{arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/schemas/kabinet.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/schemas/kluster.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/schemas/konviktion.schema.graphql
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/schemas/mikro_next.schema.graphql
RENAMED
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/schemas/omero_ark.schema.graphql
RENAMED
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/schemas/rekuest.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.8.8 → arkitekt_next-0.8.9}/arkitekt_next/cli/schemas/rekuest_next.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|