setta 0.0.3.dev9__py3-none-any.whl → 0.0.3.dev10__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- setta/__init__.py +1 -1
- setta/tasks/tasks.py +12 -4
- {setta-0.0.3.dev9.dist-info → setta-0.0.3.dev10.dist-info}/METADATA +1 -1
- {setta-0.0.3.dev9.dist-info → setta-0.0.3.dev10.dist-info}/RECORD +8 -8
- {setta-0.0.3.dev9.dist-info → setta-0.0.3.dev10.dist-info}/LICENSE +0 -0
- {setta-0.0.3.dev9.dist-info → setta-0.0.3.dev10.dist-info}/WHEEL +0 -0
- {setta-0.0.3.dev9.dist-info → setta-0.0.3.dev10.dist-info}/entry_points.txt +0 -0
- {setta-0.0.3.dev9.dist-info → setta-0.0.3.dev10.dist-info}/top_level.txt +0 -0
setta/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.0.3.
|
1
|
+
__version__ = "0.0.3.dev10"
|
setta/tasks/tasks.py
CHANGED
@@ -59,13 +59,19 @@ class Tasks:
|
|
59
59
|
return result
|
60
60
|
|
61
61
|
async def call_in_memory_subprocess_fn(
|
62
|
-
self,
|
62
|
+
self,
|
63
|
+
message: TaskMessage,
|
64
|
+
websocket_manager=None,
|
65
|
+
call_all=False,
|
66
|
+
subprocess_key=None,
|
63
67
|
):
|
64
68
|
# Create a list of tasks to run concurrently
|
65
69
|
tasks = []
|
66
70
|
results = []
|
67
71
|
|
68
72
|
for sp_key, sp_info in self.in_memory_subprocesses.items():
|
73
|
+
if subprocess_key and sp_key != subprocess_key:
|
74
|
+
continue
|
69
75
|
for fn_name, fnInfo in sp_info["fnInfo"].items():
|
70
76
|
if (
|
71
77
|
call_all
|
@@ -122,8 +128,8 @@ class Tasks:
|
|
122
128
|
await self.maybe_send_latest_run_time_info(
|
123
129
|
subprocess_key, fn_name, msg_id, websocket_manager
|
124
130
|
)
|
125
|
-
|
126
|
-
|
131
|
+
else:
|
132
|
+
results.append(result)
|
127
133
|
|
128
134
|
async def add_custom_fns(self, code_graph, to_cache):
|
129
135
|
for c in code_graph:
|
@@ -165,7 +171,9 @@ class Tasks:
|
|
165
171
|
pass
|
166
172
|
|
167
173
|
initial_result = await self.call_in_memory_subprocess_fn(
|
168
|
-
TaskMessage(id=create_new_id(), content={}),
|
174
|
+
TaskMessage(id=create_new_id(), content={}),
|
175
|
+
call_all=True,
|
176
|
+
subprocess_key=subprocess_key,
|
169
177
|
)
|
170
178
|
|
171
179
|
logger.debug(
|
@@ -1,4 +1,4 @@
|
|
1
|
-
setta/__init__.py,sha256=
|
1
|
+
setta/__init__.py,sha256=bjdBgwGco8h3zVwqnQZiyuKjxxNslUigVumhRMwxnno,28
|
2
2
|
setta/server.py,sha256=P78BMFvcCokVhjnVlNIKcmpCSvmzSqt-33bx4bhOe6Y,4626
|
3
3
|
setta/start.py,sha256=jEeSiocLeBitvg48fa6k1CpLnPI63JHkQ8O-WVM6ch8,3078
|
4
4
|
setta/cli/__init__.py,sha256=UxZG_VOMuF6lEBT3teUgTS9ulsK3wt3Gu3BbAQiAmt8,47
|
@@ -232,7 +232,7 @@ setta/static/seed/.DS_Store,sha256=ENxJvDQd7Te_U8gExcXtHE-mAeBUYOHELRfDWgN1NmA,6
|
|
232
232
|
setta/static/seed/examples/.DS_Store,sha256=1lFlJ5EFymdzGAUAaI30vcaaLHt3F1LwpG7xILf9jsM,6148
|
233
233
|
setta/tasks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
234
234
|
setta/tasks/task_runner.py,sha256=gMXpfZWFMQbix2MfrHVCKB7BxQCjO8JH2P8cxUmt1ms,849
|
235
|
-
setta/tasks/tasks.py,sha256=
|
235
|
+
setta/tasks/tasks.py,sha256=DveB8DrMakrceVcN58bNLcOTLFyNdJv41dm9yndvHAE,8329
|
236
236
|
setta/tasks/utils.py,sha256=9XfSoqYsUf9rBWorZTEqGXfU6J6-nDztIkkgRo1ndhQ,9509
|
237
237
|
setta/tasks/fns/__init__.py,sha256=JhGzzQGaT9BWtF3pOmguh6pzIF9kdG3jdDNLyYZ2w7g,461
|
238
238
|
setta/tasks/fns/codeAreaAutocomplete.py,sha256=gJ5JbjkWDyTothr-UF-YlOxrbVzj2iyOVK7XD3lfhSQ,6416
|
@@ -254,9 +254,9 @@ setta/utils/generate_new_filename.py,sha256=KBLX6paDmTvXR-027TpqQkfijIXc7mCfhen-
|
|
254
254
|
setta/utils/section_contents.py,sha256=V2HQPik6DfSXw4j7IalbP5AZ3OEGCbtL5ub3xL-Q_Qo,4141
|
255
255
|
setta/utils/utils.py,sha256=KjzcvgM3Ab3IcE8vaWYtgBpwzPLKg0LmblnHLoYZJHM,9164
|
256
256
|
setta/utils/websocket_manager.py,sha256=S2lEGZsc2OhW0yKLW9VEcH7wi7ppzTfDMQa_hxf3ovc,3772
|
257
|
-
setta-0.0.3.
|
258
|
-
setta-0.0.3.
|
259
|
-
setta-0.0.3.
|
260
|
-
setta-0.0.3.
|
261
|
-
setta-0.0.3.
|
262
|
-
setta-0.0.3.
|
257
|
+
setta-0.0.3.dev10.dist-info/LICENSE,sha256=us9fuCq9wmiZVzayjKxNZ2iJYF6dROe0Qp57ToCO7XU,11361
|
258
|
+
setta-0.0.3.dev10.dist-info/METADATA,sha256=s3uVDgbZf8jt0_rxEqqCooydUsIVTIEsttX1F-uTyh4,830
|
259
|
+
setta-0.0.3.dev10.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
260
|
+
setta-0.0.3.dev10.dist-info/entry_points.txt,sha256=P0qCESy9fWF2q1EQ9JufGldCSnPHplDPn8J6Bgk5hB0,42
|
261
|
+
setta-0.0.3.dev10.dist-info/top_level.txt,sha256=8G4lmRzVOnJ11_DescPVHE6MQZH-o06A0nGsDDV2ngY,6
|
262
|
+
setta-0.0.3.dev10.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|