arkitekt-next 0.7.18__tar.gz → 0.7.20__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.7.18 → arkitekt_next-0.7.20}/PKG-INFO +6 -6
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/builders.py +1 -1
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/init/main.py +0 -8
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/kabinet/build.py +4 -3
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/constants.py +0 -4
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/types.py +3 -8
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/constants.py +1 -1
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/service_registry.py +3 -3
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/pyproject.toml +6 -6
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/LICENSE +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/README.md +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/__init__.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/apps/__init__.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/apps/easy.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/apps/next.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/apps/qt.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/apps/service/__init__.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/apps/service/fakts.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/apps/service/fakts_next.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/apps/service/fakts_qt.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/apps/service/fluss_next.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/apps/service/grant_registry.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/apps/service/herre.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/apps/service/herre_qt.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/apps/service/kabinet.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/apps/service/mikro_next.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/apps/service/rekuest_next.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/apps/service/unlok_next.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/apps/types.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/__init__.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/call/__init__.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/call/local.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/call/main.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/call/remote.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/gen/__init__.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/gen/compile.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/gen/init.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/gen/main.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/gen/watch.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/init/__init__.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/inspect/__init__.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/inspect/main.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/inspect/requirements.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/inspect/templates.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/inspect/variables.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/kabinet/__init__.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/kabinet/init.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/kabinet/main.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/kabinet/publish.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/kabinet/stage.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/kabinet/utils.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/kabinet/validate.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/kabinet/wizard.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/manifest/__init__.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/manifest/inspect.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/manifest/main.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/manifest/scopes.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/manifest/version.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/manifest/wizard.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/run/__init__.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/run/dev.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/run/main.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/run/prod.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/run/utils.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/server/__init__.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/server/down.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/server/init.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/server/inspect.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/server/main.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/server/open.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/server/remove.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/server/stop.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/server/up.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/server/utils.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/configs/base.yaml +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/dockerfiles/vanilla.dockerfile +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/errors.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/inspect.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/io.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/main.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/options.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/schemas/fluss.schema.graphql +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/schemas/gucker.schema.graphql +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/schemas/kabinet.schema.graphql +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/schemas/kluster.schema.graphql +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/schemas/konviktion.schema.graphql +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/schemas/kuay.schema.graphql +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/schemas/mikro.schema.graphql +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/schemas/mikro_next.schema.graphql +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/schemas/napari.schema.graphql +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/schemas/omero_ark.schema.graphql +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/schemas/port.schema.graphql +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/schemas/rekuest.schema.graphql +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/schemas/rekuest_next.schema.graphql +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/schemas/unlok.schema.graphql +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/templates/filter.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/templates/simple.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/texts.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/ui.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/utils.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/validators.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/vars.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/versions/v1.yaml +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/model.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/qt/__init__.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/qt/assets/dark/gear.png +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/qt/assets/dark/green pulse.gif +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/qt/assets/dark/orange pulse.gif +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/qt/assets/dark/pink pulse.gif +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/qt/assets/dark/red pulse.gif +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/qt/assets/light/gear.png +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/qt/assets/light/green pulse.gif +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/qt/assets/light/orange pulse.gif +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/qt/assets/light/pink pulse.gif +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/qt/assets/light/red pulse.gif +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/qt/builder.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/qt/magic_bar.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/qt/utils.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/tqdm.py +0 -0
- {arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: arkitekt-next
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.20
|
|
4
4
|
Summary: client for the arkitekt_next platform
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: jhnnsrs
|
|
@@ -17,17 +17,17 @@ Provides-Extra: all
|
|
|
17
17
|
Provides-Extra: cli
|
|
18
18
|
Requires-Dist: dokker (>=0.1.21)
|
|
19
19
|
Requires-Dist: fakts (>=0.5.0)
|
|
20
|
-
Requires-Dist: fluss-next (>=0.1.
|
|
20
|
+
Requires-Dist: fluss-next (>=0.1.68) ; extra == "all"
|
|
21
21
|
Requires-Dist: herre (>=0.4.3)
|
|
22
|
-
Requires-Dist: kabinet (>=0.1.
|
|
22
|
+
Requires-Dist: kabinet (>=0.1.6) ; (python_version >= "3.9" and python_version < "4.0") and (extra == "all")
|
|
23
23
|
Requires-Dist: koil (>=0.3.6)
|
|
24
24
|
Requires-Dist: mikro-next (>=0.1.13) ; (python_version >= "3.10" and python_version < "4.0") and (extra == "all")
|
|
25
|
-
Requires-Dist: reaktion-next (>=0.1.
|
|
26
|
-
Requires-Dist: rekuest-next (>=0.2.
|
|
25
|
+
Requires-Dist: reaktion-next (>=0.1.58) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "all")
|
|
26
|
+
Requires-Dist: rekuest-next (>=0.2.12) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "cli" or extra == "all")
|
|
27
27
|
Requires-Dist: rich-click (>=1.6.1) ; extra == "cli" or extra == "all"
|
|
28
28
|
Requires-Dist: semver (>=3.0.1) ; extra == "cli" or extra == "all"
|
|
29
29
|
Requires-Dist: turms (>=0.5.0) ; (python_version >= "3.9" and python_version < "4.0") and (extra == "cli" or extra == "all")
|
|
30
|
-
Requires-Dist: unlok-next (>=0.1.
|
|
30
|
+
Requires-Dist: unlok-next (>=0.1.63) ; python_version >= "3.8" and python_version < "4.0"
|
|
31
31
|
Requires-Dist: watchfiles (>=0.18.1) ; extra == "cli" or extra == "all"
|
|
32
32
|
Description-Content-Type: text/markdown
|
|
33
33
|
|
|
@@ -143,7 +143,7 @@ def easy(
|
|
|
143
143
|
fakts=fakts,
|
|
144
144
|
herre=herre,
|
|
145
145
|
manifest=manifest,
|
|
146
|
-
services=registry.build_service_map(fakts=fakts, herre=herre, params=params),
|
|
146
|
+
services=registry.build_service_map(fakts=fakts, herre=herre, params=params, manifest=manifest),
|
|
147
147
|
)
|
|
148
148
|
|
|
149
149
|
print()
|
|
@@ -125,14 +125,6 @@ def ensure_semver(ctx, param, value):
|
|
|
125
125
|
default=False,
|
|
126
126
|
callback=check_overwrite_app,
|
|
127
127
|
)
|
|
128
|
-
@click.option(
|
|
129
|
-
"--requirements",
|
|
130
|
-
"-r",
|
|
131
|
-
help="Dedicated hardware requirements for this app. They will be used to inform Plugin Schedulers like port, on which compute resources to put your plugin app, once deployed.You can choose multiple for your app. For a list of requirements, run `arkitekt_next manifest requirements available`",
|
|
132
|
-
type=click.Choice(compile_requirements()),
|
|
133
|
-
multiple=True,
|
|
134
|
-
default=[],
|
|
135
|
-
)
|
|
136
128
|
@click.option(
|
|
137
129
|
"--scopes",
|
|
138
130
|
"-s",
|
|
@@ -140,7 +140,7 @@ def inspect_requirements(build_id: str) -> Dict[str, Requirement]:
|
|
|
140
140
|
|
|
141
141
|
# Parse the JSON output
|
|
142
142
|
correct_part = result.stdout.split("--START_REQUIREMENTS--")[1].split(
|
|
143
|
-
"--
|
|
143
|
+
"--END_REQUIREMENTS--"
|
|
144
144
|
)[0]
|
|
145
145
|
|
|
146
146
|
try:
|
|
@@ -151,7 +151,7 @@ def inspect_requirements(build_id: str) -> Dict[str, Requirement]:
|
|
|
151
151
|
f"Could not decode JSON output of docker inspect. {combined_error}"
|
|
152
152
|
) from e
|
|
153
153
|
|
|
154
|
-
return output
|
|
154
|
+
return output
|
|
155
155
|
except subprocess.CalledProcessError as e:
|
|
156
156
|
combined_error = e.stdout + e.stderr
|
|
157
157
|
|
|
@@ -167,8 +167,9 @@ def inspect_requirements(build_id: str) -> Dict[str, Requirement]:
|
|
|
167
167
|
def inspect_build(build_id: str) -> Inspection:
|
|
168
168
|
size, size_root_fs = inspect_docker_container(build_id)
|
|
169
169
|
templates = inspect_templates(build_id)
|
|
170
|
+
requirements = inspect_requirements(build_id)
|
|
170
171
|
|
|
171
|
-
return Inspection(size=size, templates=templates)
|
|
172
|
+
return Inspection(size=size, templates=templates , requirements=requirements)
|
|
172
173
|
|
|
173
174
|
|
|
174
175
|
def get_flavours(ctx: Context, select: Optional[str] = None) -> Dict[str, Flavour]:
|
|
@@ -9,10 +9,6 @@ def compile_scopes() -> List[str]:
|
|
|
9
9
|
return ["read", "write"]
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
def compile_requirements():
|
|
13
|
-
"""Compile all available requirements"""
|
|
14
|
-
return [Requirement.GPU.value]
|
|
15
|
-
|
|
16
12
|
|
|
17
13
|
def compile_builders():
|
|
18
14
|
return ["arkitekt_next.builders.easy", "arkitekt_next.builders.port"]
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
from pydantic import BaseModel, Field, validator
|
|
2
2
|
import datetime
|
|
3
|
-
from typing import List, Optional, Union, Literal
|
|
3
|
+
from typing import List, Optional, Union, Literal, Dict
|
|
4
4
|
from enum import Enum
|
|
5
5
|
import semver
|
|
6
6
|
import uuid
|
|
7
|
+
from arkitekt_next.model import Requirement
|
|
7
8
|
from rekuest.api.schema import DefinitionInput
|
|
8
9
|
from string import Formatter
|
|
9
10
|
import os
|
|
@@ -24,12 +25,6 @@ class Framework(str, Enum):
|
|
|
24
25
|
PYTORCH = "pytorch"
|
|
25
26
|
|
|
26
27
|
|
|
27
|
-
class Requirement(str, Enum):
|
|
28
|
-
""" """
|
|
29
|
-
|
|
30
|
-
GPU = "gpu"
|
|
31
|
-
|
|
32
|
-
|
|
33
28
|
class Packager(str, Enum):
|
|
34
29
|
CONDA = "conda"
|
|
35
30
|
POETRY = "poetry"
|
|
@@ -43,7 +38,6 @@ class Manifest(BaseModel):
|
|
|
43
38
|
logo: Optional[str]
|
|
44
39
|
entrypoint: str
|
|
45
40
|
scopes: List[str]
|
|
46
|
-
requirements: List[Requirement] = Field(default_factory=list)
|
|
47
41
|
created_at: datetime.datetime = Field(default_factory=datetime.datetime.now)
|
|
48
42
|
|
|
49
43
|
@validator("version", pre=True)
|
|
@@ -218,6 +212,7 @@ Selector = Union[
|
|
|
218
212
|
|
|
219
213
|
class Inspection(BaseModel):
|
|
220
214
|
templates: List[TemplateInput]
|
|
215
|
+
requirements: Dict[str, Requirement]
|
|
221
216
|
size: int
|
|
222
217
|
|
|
223
218
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from pydantic import BaseModel, Field
|
|
2
2
|
from herre import Herre
|
|
3
3
|
from fakts import Fakts
|
|
4
|
-
from .model import Requirement
|
|
4
|
+
from .model import Manifest, Requirement
|
|
5
5
|
from typing import Callable, Dict
|
|
6
6
|
import importlib
|
|
7
7
|
import sys
|
|
@@ -40,8 +40,8 @@ class ServiceBuilderRegistry:
|
|
|
40
40
|
return self.services.get(name)
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
def build_service_map(self, fakts: Fakts, herre: Herre, params: Params):
|
|
44
|
-
return {name: builder(fakts, herre, params) for name, builder in self.service_builders.items()}
|
|
43
|
+
def build_service_map(self, fakts: Fakts, herre: Herre, params: Params, manifest: Manifest):
|
|
44
|
+
return {name: builder(fakts, herre, params, manifest) for name, builder in self.service_builders.items()}
|
|
45
45
|
|
|
46
46
|
def get_requirements(self):
|
|
47
47
|
return self.requirements
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "arkitekt-next"
|
|
3
|
-
version = "0.7.
|
|
3
|
+
version = "0.7.20"
|
|
4
4
|
description = "client for the arkitekt_next platform"
|
|
5
5
|
authors = ["jhnnsrs <jhnnsrs@gmail.com>"]
|
|
6
6
|
license = "MIT"
|
|
@@ -12,11 +12,11 @@ python = "^3.8"
|
|
|
12
12
|
herre = ">=0.4.3"
|
|
13
13
|
fakts = ">=0.5.0"
|
|
14
14
|
mikro-next = { version = ">=0.1.13", python = "^3.10", optional = true }
|
|
15
|
-
kabinet = { version = ">=0.1.
|
|
16
|
-
fluss-next = { version = ">=0.1.
|
|
17
|
-
reaktion-next= { version = ">=0.1.
|
|
18
|
-
rekuest-next= { version = ">=0.2.
|
|
19
|
-
unlok-next= { version = ">=0.1.
|
|
15
|
+
kabinet = { version = ">=0.1.6", optional = true, python = "^3.9" }
|
|
16
|
+
fluss-next = { version = ">=0.1.68", optional = true }
|
|
17
|
+
reaktion-next= { version = ">=0.1.58", python = "^3.8", optional = true }
|
|
18
|
+
rekuest-next= { version = ">=0.2.12", python = "^3.8", optional = true }
|
|
19
|
+
unlok-next= { version = ">=0.1.63", python = "^3.8", optional = true }
|
|
20
20
|
rich-click = { version = ">=1.6.1", optional = true }
|
|
21
21
|
watchfiles = { version = ">=0.18.1", optional = true }
|
|
22
22
|
turms = { version = ">=0.5.0", python = "^3.9", optional = true }
|
|
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.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/inspect/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/inspect/requirements.py
RENAMED
|
File without changes
|
{arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/inspect/templates.py
RENAMED
|
File without changes
|
{arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/inspect/variables.py
RENAMED
|
File without changes
|
{arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/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
|
{arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/kabinet/validate.py
RENAMED
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/manifest/__init__.py
RENAMED
|
File without changes
|
{arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/commands/manifest/inspect.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/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
|
|
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.7.18 → arkitekt_next-0.7.20}/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.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/schemas/fluss.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/schemas/gucker.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/schemas/kabinet.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/schemas/kluster.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/schemas/konviktion.schema.graphql
RENAMED
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/schemas/mikro.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/schemas/mikro_next.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/schemas/napari.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/schemas/omero_ark.schema.graphql
RENAMED
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/schemas/rekuest.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/arkitekt_next/cli/schemas/rekuest_next.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/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
|
{arkitekt_next-0.7.18 → arkitekt_next-0.7.20}/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
|