arkitekt-next 0.12.2__tar.gz → 0.13.0__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.12.2 → arkitekt_next-0.13.0}/PKG-INFO +1 -1
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/__init__.py +3 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/builders.py +5 -6
- arkitekt_next-0.13.0/arkitekt_next/inspect.py +29 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/protocols.py +5 -12
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/pyproject.toml +1 -1
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/.gitignore +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/LICENSE +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/README.md +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/__blok__.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/apps/__init__.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/apps/protocols.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/apps/service/__init__.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/apps/service/fakts_next.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/apps/service/fakts_qt.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/apps/service/grant_registry.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/apps/service/herre.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/apps/service/herre_qt.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/apps/service/local_fakts.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/base_models.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/__init__.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/admin.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/alpaka.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/arkitekt.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/base.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/channel.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/config.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/elektro.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/fluss.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/gateway.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/internal_docker.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/kabinet.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/kraph.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/livekit.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/lok.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/mikro.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/minio.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/mount.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/namegen.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/ollama.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/orkestrator.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/postgres.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/redis.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/rekuest.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/secret.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/self_signed.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/services/__init__.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/services/admin.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/services/certer.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/services/channel.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/services/config.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/services/db.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/services/gateway.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/services/livekit.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/services/lok.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/services/mount.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/services/name.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/services/ollama.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/services/redis.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/services/s3.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/services/secret.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/services/socket.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/socket.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/bloks/tailscale.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/__init__.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/call/__init__.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/call/local.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/call/main.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/call/remote.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/gen/__init__.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/gen/compile.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/gen/init.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/gen/main.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/gen/watch.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/init/__init__.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/init/main.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/inspect/__init__.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/inspect/implementations.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/inspect/main.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/inspect/requirements.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/inspect/variables.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/kabinet/__init__.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/kabinet/build.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/kabinet/init.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/kabinet/io.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/kabinet/main.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/kabinet/publish.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/kabinet/stage.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/kabinet/types.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/kabinet/utils.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/kabinet/validate.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/manifest/__init__.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/manifest/inspect.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/manifest/main.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/manifest/scopes.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/manifest/version.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/run/__init__.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/run/dev.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/run/main.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/run/prod.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/run/utils.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/constants.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/dockerfiles/vanilla.dockerfile +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/errors.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/inspect.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/io.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/main.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/options.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/schemas/fluss.schema.graphql +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/schemas/gucker.schema.graphql +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/schemas/kabinet.schema.graphql +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/schemas/kluster.schema.graphql +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/schemas/konviktion.schema.graphql +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/schemas/kuay.schema.graphql +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/schemas/mikro.schema.graphql +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/schemas/mikro_next.schema.graphql +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/schemas/napari.schema.graphql +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/schemas/omero_ark.schema.graphql +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/schemas/port.schema.graphql +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/schemas/rekuest.schema.graphql +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/schemas/rekuest_next.schema.graphql +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/schemas/unlok.schema.graphql +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/templates/filter.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/templates/simple.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/texts.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/types.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/ui.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/utils.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/validators.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/vars.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/versions/v1.yaml +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/constants.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/init_registry.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/qt/__init__.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/qt/assets/dark/gear.png +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/qt/assets/dark/green pulse.gif +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/qt/assets/dark/orange pulse.gif +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/qt/assets/dark/pink pulse.gif +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/qt/assets/dark/red pulse.gif +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/qt/assets/light/gear.png +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/qt/assets/light/green pulse.gif +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/qt/assets/light/orange pulse.gif +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/qt/assets/light/pink pulse.gif +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/qt/assets/light/red pulse.gif +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/qt/builders.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/qt/magic_bar.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/qt/types.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/qt/utils.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/service_registry.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/tqdm.py +0 -0
- {arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/utils.py +0 -0
|
@@ -38,8 +38,10 @@ try:
|
|
|
38
38
|
aiterate_raw,
|
|
39
39
|
find,
|
|
40
40
|
)
|
|
41
|
+
from .inspect import inspect
|
|
41
42
|
except ImportError as e:
|
|
42
43
|
raise e
|
|
44
|
+
inspect = missing_install("rekuest_next", e)
|
|
43
45
|
publish = missing_install("rekuest_next", e)
|
|
44
46
|
apublish = missing_install("rekuest_next", e)
|
|
45
47
|
structure = missing_install("rekuest_next", e)
|
|
@@ -86,6 +88,7 @@ __all__ = [
|
|
|
86
88
|
"breakpoint",
|
|
87
89
|
"abreakpoint",
|
|
88
90
|
"aiterate",
|
|
91
|
+
"inspect",
|
|
89
92
|
"iterate",
|
|
90
93
|
"aiterate_raw",
|
|
91
94
|
"call",
|
|
@@ -100,7 +100,6 @@ def easy(
|
|
|
100
100
|
service_registry = service_registry or get_default_service_registry()
|
|
101
101
|
init_hook_registry = init_hook_registry or get_default_init_hook_registry()
|
|
102
102
|
|
|
103
|
-
|
|
104
103
|
if identifier is None:
|
|
105
104
|
identifier = __file__.split("/")[-1].replace(".py", "")
|
|
106
105
|
|
|
@@ -115,7 +114,6 @@ def easy(
|
|
|
115
114
|
requirements=service_registry.get_requirements(),
|
|
116
115
|
)
|
|
117
116
|
|
|
118
|
-
|
|
119
117
|
if token:
|
|
120
118
|
fakts_next = build_arkitekt_next_token_fakts_next(
|
|
121
119
|
manifest=manifest,
|
|
@@ -140,7 +138,8 @@ def easy(
|
|
|
140
138
|
herre_next = build_arkitekt_next_herre_next(fakts_next=fakts_next)
|
|
141
139
|
|
|
142
140
|
params = {
|
|
143
|
-
|
|
141
|
+
"instance_id": instance_id,
|
|
142
|
+
}
|
|
144
143
|
|
|
145
144
|
create_arkitekt_next_folder(with_cache=True)
|
|
146
145
|
|
|
@@ -176,7 +175,6 @@ def interactive(
|
|
|
176
175
|
token: Optional[str] = None,
|
|
177
176
|
no_cache: bool = False,
|
|
178
177
|
redeem_token: Optional[str] = None,
|
|
179
|
-
app_kind: str = "development",
|
|
180
178
|
registry: Optional[ServiceBuilderRegistry] = None,
|
|
181
179
|
sync_mode: bool = True,
|
|
182
180
|
) -> App:
|
|
@@ -193,7 +191,7 @@ def interactive(
|
|
|
193
191
|
token=token,
|
|
194
192
|
no_cache=no_cache,
|
|
195
193
|
redeem_token=redeem_token,
|
|
196
|
-
|
|
194
|
+
service_registry=registry,
|
|
197
195
|
)
|
|
198
196
|
|
|
199
197
|
if sync_mode:
|
|
@@ -202,7 +200,8 @@ def interactive(
|
|
|
202
200
|
# to avoid having to use await for every call. This is the default
|
|
203
201
|
# behaviour for the app, but can be overwritten by setting
|
|
204
202
|
# app.koil.sync_in_async = False
|
|
205
|
-
app.
|
|
203
|
+
if app.__koil:
|
|
204
|
+
app.__koil.sync_in_async = True
|
|
206
205
|
app.enter()
|
|
207
206
|
|
|
208
207
|
return app
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import typing
|
|
2
|
+
from rekuest_next.structures.default import get_default_structure_registry
|
|
3
|
+
import subprocess
|
|
4
|
+
import sys
|
|
5
|
+
import webbrowser
|
|
6
|
+
import os
|
|
7
|
+
from rath.scalars import ID
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def open_orkestrator_link(link: str):
|
|
11
|
+
webbrowser.open(link)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class IDBearer(typing.Protocol):
|
|
15
|
+
id: ID
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def inspect(x: IDBearer) -> None:
|
|
19
|
+
"""
|
|
20
|
+
Inspects the given object by opening it in the orkestrator.
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
"""
|
|
25
|
+
structure_reg = get_default_structure_registry()
|
|
26
|
+
|
|
27
|
+
identifier = structure_reg.get_identifier_for_cls(type(x))
|
|
28
|
+
|
|
29
|
+
open_orkestrator_link(f"orkestrator://{identifier}/{x.id}")
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
from typing import Any, Protocol
|
|
2
1
|
"""
|
|
3
2
|
This module contains the types for the apps
|
|
4
3
|
depending on the builder used.
|
|
@@ -10,8 +9,9 @@ an import exception to the app.
|
|
|
10
9
|
|
|
11
10
|
"""
|
|
12
11
|
|
|
12
|
+
from typing import Any, Protocol, cast
|
|
13
13
|
import logging
|
|
14
|
-
from typing import
|
|
14
|
+
from typing import Dict, TYPE_CHECKING
|
|
15
15
|
from koil import unkoil
|
|
16
16
|
from koil.composition import KoiledModel
|
|
17
17
|
from arkitekt_next.base_models import Manifest
|
|
@@ -26,15 +26,9 @@ if TYPE_CHECKING:
|
|
|
26
26
|
logger = logging.getLogger(__name__)
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
29
|
class App(Protocol):
|
|
37
30
|
"""An app that is built with the easy builder"""
|
|
31
|
+
|
|
38
32
|
fakts: Fakts
|
|
39
33
|
herre: Herre
|
|
40
34
|
manifest: Manifest
|
|
@@ -45,7 +39,7 @@ class App(Protocol):
|
|
|
45
39
|
"""Get the rekuest service"""
|
|
46
40
|
if "rekuest" not in self.services:
|
|
47
41
|
raise ValueError("Rekuest service is not available")
|
|
48
|
-
return self.services["rekuest"]
|
|
42
|
+
return cast("RekuestNext", self.services["rekuest"])
|
|
49
43
|
|
|
50
44
|
def run(self):
|
|
51
45
|
return unkoil(self.rekuest.arun)
|
|
@@ -80,5 +74,4 @@ class Builder(Protocol):
|
|
|
80
74
|
This protocol defines the methods that a builder class must implement.
|
|
81
75
|
"""
|
|
82
76
|
|
|
83
|
-
def __call__(self, *args: Any, **kwds: Any) -> Any:
|
|
84
|
-
return super().__call__(*args, **kwds)
|
|
77
|
+
def __call__(self, *args: Any, **kwds: Any) -> Any: ...
|
|
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.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/inspect/__init__.py
RENAMED
|
File without changes
|
{arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/inspect/implementations.py
RENAMED
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/inspect/requirements.py
RENAMED
|
File without changes
|
{arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/inspect/variables.py
RENAMED
|
File without changes
|
{arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/kabinet/__init__.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.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/kabinet/validate.py
RENAMED
|
File without changes
|
{arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/manifest/__init__.py
RENAMED
|
File without changes
|
{arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/commands/manifest/inspect.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/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
|
{arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/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
|
{arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/schemas/fluss.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/schemas/gucker.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/schemas/kabinet.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/schemas/kluster.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/schemas/konviktion.schema.graphql
RENAMED
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/schemas/mikro.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/schemas/mikro_next.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/schemas/napari.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/schemas/omero_ark.schema.graphql
RENAMED
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/schemas/rekuest.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/arkitekt_next/cli/schemas/rekuest_next.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.12.2 → arkitekt_next-0.13.0}/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.12.2 → arkitekt_next-0.13.0}/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
|