arkitekt-next 0.8.82__py3-none-any.whl → 0.8.83__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.

@@ -8,6 +8,7 @@ from typing import Dict, Optional
8
8
  from arkitekt_next.bloks.secret import SecretBlok
9
9
  from arkitekt_next.bloks.services.admin import AdminService
10
10
  from arkitekt_next.bloks.services.db import DBService
11
+ from arkitekt_next.bloks.services.s3 import S3Service
11
12
  from arkitekt_next.bloks.services.gateway import GatewayService
12
13
  from arkitekt_next.bloks.services.livekit import LivekitService
13
14
  from arkitekt_next.bloks.services.lok import LokCredentials, LokService
@@ -138,6 +139,7 @@ class LokBlok:
138
139
  "read": "A generic read access",
139
140
  "write": "A generic write access",
140
141
  }
142
+ self.buckets = ["media"]
141
143
  self.key = None
142
144
  self.deployment_name = "default"
143
145
  self.token_expiry_seconds = 700000
@@ -173,6 +175,7 @@ class LokBlok:
173
175
  redis: RedisService,
174
176
  admin: AdminService,
175
177
  secrets: SecretBlok,
178
+ s3: S3Service,
176
179
  dns: DnsService,
177
180
  livekit: Optional[LivekitService] = None,
178
181
  ):
@@ -189,6 +192,7 @@ class LokBlok:
189
192
  self.postgress_access = db.register_db(self.host)
190
193
  self.redis_access = redis.register()
191
194
  self.admin_access = admin.retrieve()
195
+ self.s3_access = s3.create_buckets(self.buckets)
192
196
  if livekit:
193
197
  self.local_access = livekit.retrieve_access()
194
198
  self.dns_result = dns.get_dns_result()
@@ -202,6 +206,9 @@ class LokBlok:
202
206
 
203
207
  if self.postgress_access.dependency:
204
208
  depends_on.append(self.postgress_access.dependency)
209
+
210
+ if self.s3_access.dependency:
211
+ depends_on.append(self.s3_access.dependency)
205
212
 
206
213
  db_service = {
207
214
  "labels": [
@@ -260,6 +267,7 @@ class LokBlok:
260
267
  if self.local_access
261
268
  else {"api_key": "dev", "api_secret": "secret", "api_url": None}
262
269
  ),
270
+ "s3": asdict(self.s3_access),
263
271
  "token_expire_seconds": self.token_expiry_seconds,
264
272
  "apps": [],
265
273
  "force_script_name": "lok",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: arkitekt-next
3
- Version: 0.8.82
3
+ Version: 0.8.83
4
4
  Summary: client for the arkitekt_next platform
5
5
  License: MIT
6
6
  Author: jhnnsrs
@@ -24,7 +24,7 @@ arkitekt_next/bloks/kabinet.py,sha256=NKP6tpr8XcVvvFifX-lxgBPkP0P810kJ4URv25jf2z
24
24
  arkitekt_next/bloks/kraph.py,sha256=vbDkLNC5X644pwM_rpUpTNl4uwGpswFm0iNsyMPWY6c,1292
25
25
  arkitekt_next/bloks/livekit.py,sha256=Wf4JM236ZwuWC5qHnZkGDPq_FZftKLi1nDWbkwRoVso,2611
26
26
  arkitekt_next/bloks/local_sign.py,sha256=UwqfPV3Z38CI2T8N1uJAX-CRlrRxzkdGfKDukPVHMJ4,8030
27
- arkitekt_next/bloks/lok.py,sha256=hA3xiHpw-P-CeW0QU0w_3AyWYctOFtXULK02UzOL1U4,11815
27
+ arkitekt_next/bloks/lok.py,sha256=REa2HF6_FOqVyZ2KEdGTWfdgxXvGI5xvqqPJtyrzIJY,12136
28
28
  arkitekt_next/bloks/mikro.py,sha256=bnI9lWd6FXyOViog0Xko3_yhKOt7AAdB_PA4N0XkXAU,1291
29
29
  arkitekt_next/bloks/minio.py,sha256=n7DP_O49fBsMw4IWmHIspyNmc52l52q8fujcbAOgN7Q,5593
30
30
  arkitekt_next/bloks/mount.py,sha256=IEod6LDuV5NNKvvRJ3Xgo8l2caVZnNmJYDgGGBUB3Cg,1088
@@ -142,8 +142,8 @@ arkitekt_next/qt/utils.py,sha256=MgBPtPmCSBkIuATov3UgREESwxAHh77lWNNxyE7Qs48,773
142
142
  arkitekt_next/service_registry.py,sha256=gMXyFftwuSoda9V13QEiNqFuwSBB2ss62dOjnXOetK0,4973
143
143
  arkitekt_next/tqdm.py,sha256=lQcJI5Q6Py7Gy88hOCiJujjPEEGd8G2k1mOVJJ6oYe8,1531
144
144
  arkitekt_next/utils.py,sha256=Cf7B1-E7_NgBnV2vxIIfZRStiCYPopQqNJFjJwU3Uog,2403
145
- arkitekt_next-0.8.82.dist-info/LICENSE,sha256=YZ2oRjC248t-GpoEyw7J13vwKYNG6zhYMaEAix6EzF0,1089
146
- arkitekt_next-0.8.82.dist-info/METADATA,sha256=mRVWiUXtOHbltBE2XKRbm8BsavAYOPNhzzXj6wAiGxw,6639
147
- arkitekt_next-0.8.82.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
148
- arkitekt_next-0.8.82.dist-info/entry_points.txt,sha256=-hxikQx4xZ6TiOnWVDOlTN_kcAISgGFvTHXIchsCHSc,60
149
- arkitekt_next-0.8.82.dist-info/RECORD,,
145
+ arkitekt_next-0.8.83.dist-info/LICENSE,sha256=YZ2oRjC248t-GpoEyw7J13vwKYNG6zhYMaEAix6EzF0,1089
146
+ arkitekt_next-0.8.83.dist-info/METADATA,sha256=GSVy3qPKAM5gZMMGS64LUV24SXmgFG1ReImuern_QNM,6639
147
+ arkitekt_next-0.8.83.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
148
+ arkitekt_next-0.8.83.dist-info/entry_points.txt,sha256=-hxikQx4xZ6TiOnWVDOlTN_kcAISgGFvTHXIchsCHSc,60
149
+ arkitekt_next-0.8.83.dist-info/RECORD,,