orchestrator-core 4.5.0a9__py3-none-any.whl → 4.5.1__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.
orchestrator/__init__.py CHANGED
@@ -13,7 +13,7 @@
13
13
 
14
14
  """This is the orchestrator workflow engine."""
15
15
 
16
- __version__ = "4.5.0a9"
16
+ __version__ = "4.5.1"
17
17
 
18
18
 
19
19
  from structlog import get_logger
@@ -492,7 +492,7 @@ def start_process(
492
492
  process id
493
493
 
494
494
  """
495
- pstat = create_process(workflow_key, user_inputs=user_inputs, user=user)
495
+ pstat = create_process(workflow_key, user_inputs=user_inputs, user=user, user_model=user_model)
496
496
 
497
497
  start_func = get_execution_context()["start"]
498
498
  return start_func(pstat, user=user, user_model=user_model, broadcast_func=broadcast_func)
@@ -19,8 +19,6 @@ from orchestrator import llm_settings
19
19
  from orchestrator.db import db
20
20
  from orchestrator.db.models import ProcessSubscriptionTable
21
21
  from orchestrator.domain.base import SubscriptionModel
22
- from orchestrator.search.core.types import EntityType
23
- from orchestrator.search.indexing import run_indexing_for_entity
24
22
  from orchestrator.services.settings import reset_search_index
25
23
  from orchestrator.services.subscriptions import get_subscription
26
24
  from orchestrator.targets import Target
@@ -157,6 +155,9 @@ def refresh_subscription_search_index(subscription: SubscriptionModel | None) ->
157
155
  try:
158
156
  reset_search_index()
159
157
  if llm_settings.SEARCH_ENABLED and subscription:
158
+ from orchestrator.search.core.types import EntityType
159
+ from orchestrator.search.indexing import run_indexing_for_entity
160
+
160
161
  run_indexing_for_entity(EntityType.SUBSCRIPTION, str(subscription.subscription_id))
161
162
  except Exception:
162
163
  # Don't fail workflow in case of unexpected error
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: orchestrator-core
3
- Version: 4.5.0a9
3
+ Version: 4.5.1
4
4
  Summary: This is the orchestrator workflow engine.
5
5
  Author-email: SURF <automation-beheer@surf.nl>
6
6
  Requires-Python: >=3.11,<3.14
@@ -1,4 +1,4 @@
1
- orchestrator/__init__.py,sha256=yDsxxSSozQHKwQA16warPVdcW_QAizHXkhNQGtQ-Pjs,1449
1
+ orchestrator/__init__.py,sha256=PDHbvTnKlKTY2ZjagOVmLKJuswsoWBmkLo557WTHrXk,1447
2
2
  orchestrator/agentic_app.py,sha256=op7osw7KJRww90iYuWBt_bB5qI-sAkpG0fyr0liubQw,3968
3
3
  orchestrator/app.py,sha256=UPKQuDpg8MWNC6r3SRRbp6l9RBzwb00IMIaGRk-jbCU,13203
4
4
  orchestrator/exception_handlers.py,sha256=UsW3dw8q0QQlNLcV359bIotah8DYjMsj2Ts1LfX4ClY,1268
@@ -320,7 +320,7 @@ orchestrator/services/__init__.py,sha256=GyHNfEFCGKQwRiN6rQmvSRH2iYX7npjMZn97n8X
320
320
  orchestrator/services/fixed_inputs.py,sha256=kyz7s2HLzyDulvcq-ZqefTw1om86COvyvTjz0_5CmgI,876
321
321
  orchestrator/services/input_state.py,sha256=6BZOpb3cHpO18K-XG-3QUIV9pIM25_ufdODrp5CmXG4,2390
322
322
  orchestrator/services/process_broadcast_thread.py,sha256=D44YbjF8mRqGuznkRUV4SoRn1J0lfy_x1H508GnSVlU,4649
323
- orchestrator/services/processes.py,sha256=V-BHR8-9qw5cFHRuBJK8UkRQgCwQxFQbOnnwpKzJm0o,30599
323
+ orchestrator/services/processes.py,sha256=LpJbq13UJOrNUKorwYBTV4-MJj-XLXFv6LBk7iyQgl8,30622
324
324
  orchestrator/services/products.py,sha256=BP4KyE8zO-8z7Trrs5T6zKBOw53S9BfBJnHWI3p6u5Y,1943
325
325
  orchestrator/services/resource_types.py,sha256=_QBy_JOW_X3aSTqH0CuLrq4zBJL0p7Q-UDJUcuK2_qc,884
326
326
  orchestrator/services/settings.py,sha256=HEWfFulgoEDwgfxGEO__QTr5fDiwNBEj1UhAeTAdbLQ,3159
@@ -361,7 +361,7 @@ orchestrator/websocket/managers/memory_websocket_manager.py,sha256=lF5EEx1iFMCGE
361
361
  orchestrator/workflows/__init__.py,sha256=NzIGGI-8SNAwCk2YqH6sHhEWbgAY457ntDwjO15N8v4,4131
362
362
  orchestrator/workflows/modify_note.py,sha256=eXt5KQvrkOXf-3YEXCn2XbBLP9N-n1pUYRW2t8Odupo,2150
363
363
  orchestrator/workflows/removed_workflow.py,sha256=V0Da5TEdfLdZZKD38ig-MTp3_IuE7VGqzHHzvPYQmLI,909
364
- orchestrator/workflows/steps.py,sha256=teis7vHLOEAchMrzw_pvPPQ6pRFliKZRpe02vsv3AZY,6994
364
+ orchestrator/workflows/steps.py,sha256=VVLRK9_7KzrBlnK7L8eSmRMNVOO7VJBh5OSjHQHM9fU,7019
365
365
  orchestrator/workflows/utils.py,sha256=VUCDoIl5XAKtIeAJpVpyW2pCIg3PoVWfwGn28BYlYhA,15424
366
366
  orchestrator/workflows/tasks/__init__.py,sha256=GyHNfEFCGKQwRiN6rQmvSRH2iYX7npjMZn97n8XzmLU,571
367
367
  orchestrator/workflows/tasks/cleanup_tasks_log.py,sha256=BfWYbPXhnLAHUJ0mlODDnjZnQQAvKCZJDVTwbwOWI04,1624
@@ -369,7 +369,7 @@ orchestrator/workflows/tasks/resume_workflows.py,sha256=T3iobSJjVgiupe0rClD34kUZ
369
369
  orchestrator/workflows/tasks/validate_product_type.py,sha256=paG-NAY1bdde3Adt8zItkcBKf5Pxw6f5ngGW6an6dYU,3192
370
370
  orchestrator/workflows/tasks/validate_products.py,sha256=kXBGZTkobfYH8e_crhdErT-ypdouH0a3_WLImmbKXcE,8523
371
371
  orchestrator/workflows/translations/en-GB.json,sha256=ST53HxkphFLTMjFHonykDBOZ7-P_KxksktZU3GbxLt0,846
372
- orchestrator_core-4.5.0a9.dist-info/licenses/LICENSE,sha256=b-aA5OZQuuBATmLKo_mln8CQrDPPhg3ghLzjPjLn4Tg,11409
373
- orchestrator_core-4.5.0a9.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
374
- orchestrator_core-4.5.0a9.dist-info/METADATA,sha256=1jwY-62mr5ijsdcC1gIINZNuLJBD6FtZ-qlkSRYOKsQ,6252
375
- orchestrator_core-4.5.0a9.dist-info/RECORD,,
372
+ orchestrator_core-4.5.1.dist-info/licenses/LICENSE,sha256=b-aA5OZQuuBATmLKo_mln8CQrDPPhg3ghLzjPjLn4Tg,11409
373
+ orchestrator_core-4.5.1.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
374
+ orchestrator_core-4.5.1.dist-info/METADATA,sha256=uvFveqY4ktuPNUIh7LZzgu1YpdmBCkMk77-M1j3WpAg,6250
375
+ orchestrator_core-4.5.1.dist-info/RECORD,,