arkitekt-next 0.7.39__py3-none-any.whl → 0.7.40__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of arkitekt-next might be problematic. Click here for more details.

@@ -132,7 +132,11 @@ class LokBlok:
132
132
  self.tokens = []
133
133
  self.groups = []
134
134
  self.secret_key = secrets.token_hex(16)
135
- self.scopes = {"openid": "The open id connect scope"}
135
+ self.scopes = {
136
+ "openid": "The open id connect scope",
137
+ "read": "A generic read access",
138
+ "write": "A generic write access",
139
+ }
136
140
  self.key = None
137
141
  self.deployment_name = "default"
138
142
  self.token_expiry_seconds = 700000
@@ -169,7 +173,6 @@ class LokBlok:
169
173
  secrets: SecretBlok,
170
174
  livekit: LivekitService,
171
175
  dns: DnsService,
172
- scopes: list[Dict[str, str]],
173
176
  ):
174
177
  for key, value in init.kwargs.items():
175
178
  setattr(self, key, value)
@@ -177,8 +180,6 @@ class LokBlok:
177
180
  assert self.public_key, "Public key is required"
178
181
  assert self.private_key, "Private key is required"
179
182
 
180
- self.scopes = {scope["scope"]: scope["description"] for scope in scopes}
181
-
182
183
  gateway.expose("lok", 80, self.host, strip_prefix=False)
183
184
  gateway.expose_mapped(".well-known", 80, self.host, "lok")
184
185
 
@@ -302,13 +303,6 @@ class LokBlok:
302
303
  type=GROUP,
303
304
  show_default=True,
304
305
  )
305
- with_scopes = Option(
306
- subcommand="scopes",
307
- help="Additional scopes that should be created (normally handled by the bloks)",
308
- default=[f"{key}:{value}" for key, value in self.scopes.items()],
309
- multiple=True,
310
- type=SCOPE,
311
- )
312
306
  with_repo = Option(
313
307
  subcommand="with_repo",
314
308
  help="Which repo should we use when building the service? Only active if build_repo or mount_repo is active",
@@ -371,7 +365,6 @@ class LokBlok:
371
365
  with_host,
372
366
  with_private_key,
373
367
  with_public_key,
374
- with_scopes,
375
368
  with_secret_key,
376
369
  ]
377
370
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: arkitekt-next
3
- Version: 0.7.39
3
+ Version: 0.7.40
4
4
  Summary: client for the arkitekt_next platform
5
5
  License: MIT
6
6
  Author: jhnnsrs
@@ -16,8 +16,8 @@ Classifier: Programming Language :: Python :: 3.12
16
16
  Provides-Extra: all
17
17
  Provides-Extra: blok
18
18
  Provides-Extra: cli
19
- Requires-Dist: blok (>=0.0.9) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "all" or extra == "blok")
20
- Requires-Dist: cryptography (>=40.0.8) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "all" or extra == "blok")
19
+ Requires-Dist: blok (>=0.0.9) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "blok")
20
+ Requires-Dist: cryptography (>=40.0.8) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "blok")
21
21
  Requires-Dist: dokker (>=0.1.21)
22
22
  Requires-Dist: fakts (>=0.5.0)
23
23
  Requires-Dist: fluss-next (>=0.1.70) ; extra == "all"
@@ -25,8 +25,8 @@ Requires-Dist: herre (>=0.4.3)
25
25
  Requires-Dist: kabinet (>=0.1.8) ; (python_version >= "3.9" and python_version < "4.0") and (extra == "all")
26
26
  Requires-Dist: koil (>=0.3.6)
27
27
  Requires-Dist: mikro-next (>=0.1.25) ; (python_version >= "3.10" and python_version < "4.0") and (extra == "all")
28
- Requires-Dist: namegenerator (>=1.0.6) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "all" or extra == "blok")
29
- Requires-Dist: netifaces (>=0.11.0) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "all" or extra == "blok")
28
+ Requires-Dist: namegenerator (>=1.0.6) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "blok")
29
+ Requires-Dist: netifaces (>=0.11.0) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "blok")
30
30
  Requires-Dist: reaktion-next (>=0.1.59) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "all")
31
31
  Requires-Dist: rekuest-next (>=0.2.14) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "cli" or extra == "all")
32
32
  Requires-Dist: rich-click (>=1.6.1) ; extra == "cli" or extra == "all"
@@ -22,7 +22,7 @@ arkitekt_next/bloks/gateway.py,sha256=a1suHpSbdvu-KnkExYtRAxizwHhQXQhvoil8g24sLG
22
22
  arkitekt_next/bloks/internal_docker.py,sha256=q9gPPtU1m0-0eeqF4zxtCELp4lF8TVZSJi1qVwnSWus,2421
23
23
  arkitekt_next/bloks/kabinet.py,sha256=RMetXRKFRO9z_eGPXyzGCHTo9HJlcPaew2lfCltGoMg,2937
24
24
  arkitekt_next/bloks/livekit.py,sha256=yhre3PkIQwKGdGPFC-DhTID3rIbRQMts_UsAX9tw6-A,2561
25
- arkitekt_next/bloks/lok.py,sha256=xf7RZYJ6QsfFTM6a9eNm-RcCmo9y3C_W8Eh7d_57uNg,12857
25
+ arkitekt_next/bloks/lok.py,sha256=MGXKg1NRvydA-wlncBQJwO2GfaQLl2shVo0g45r9J_8,12532
26
26
  arkitekt_next/bloks/mikro.py,sha256=vNM9K7I3AK2G0WooaMQl7U8-_TN96P2YUfblqAMsvdI,2772
27
27
  arkitekt_next/bloks/minio.py,sha256=k7t1J46lO3eaBO9KdP7iYF--Go-m25dEmOwisbbOoVQ,5496
28
28
  arkitekt_next/bloks/mount.py,sha256=d14w7bMiaWbl5wgvanh4PwfIqEYsDEsw91360xfX0fU,1031
@@ -145,8 +145,8 @@ arkitekt_next/qt/utils.py,sha256=MgBPtPmCSBkIuATov3UgREESwxAHh77lWNNxyE7Qs48,773
145
145
  arkitekt_next/service_registry.py,sha256=pczUuP_Nve7OYwB7-oDBLIw6bkjZPnzL3xFca5TF1io,3405
146
146
  arkitekt_next/tqdm.py,sha256=DlrxPluHao7TvW-Cqgt0UokRS-fM2_ZNiWiddqvCqCc,1488
147
147
  arkitekt_next/utils.py,sha256=gmKWy9M51vimohmmaoIpAJ0CaB22TFP0w3JszRrwiak,2379
148
- arkitekt_next-0.7.39.dist-info/LICENSE,sha256=YZ2oRjC248t-GpoEyw7J13vwKYNG6zhYMaEAix6EzF0,1089
149
- arkitekt_next-0.7.39.dist-info/METADATA,sha256=gXziwIUKyXIwy__Mhs0Uy_GARlY72VjbFF-6ZFVjDyM,6045
150
- arkitekt_next-0.7.39.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
151
- arkitekt_next-0.7.39.dist-info/entry_points.txt,sha256=-hxikQx4xZ6TiOnWVDOlTN_kcAISgGFvTHXIchsCHSc,60
152
- arkitekt_next-0.7.39.dist-info/RECORD,,
148
+ arkitekt_next-0.7.40.dist-info/LICENSE,sha256=YZ2oRjC248t-GpoEyw7J13vwKYNG6zhYMaEAix6EzF0,1089
149
+ arkitekt_next-0.7.40.dist-info/METADATA,sha256=Cb4uLTlJt7J7itIWXLDnv1PDJnCJlZEHmhPOZpBextY,5973
150
+ arkitekt_next-0.7.40.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
151
+ arkitekt_next-0.7.40.dist-info/entry_points.txt,sha256=-hxikQx4xZ6TiOnWVDOlTN_kcAISgGFvTHXIchsCHSc,60
152
+ arkitekt_next-0.7.40.dist-info/RECORD,,