SIENTIAPDE-1148
fix: update execution count to null in test.ipynb and consolidate search-attribute creation commands for multiple namespaces
This commit is contained in:
@@ -110,7 +110,7 @@ class TemporalManager(BaseActivity):
|
|||||||
|
|
||||||
frequency = desc.schedule.spec.intervals[0].every.seconds
|
frequency = desc.schedule.spec.intervals[0].every.seconds
|
||||||
|
|
||||||
orchestrated_schedules[schedule_id] = {
|
orchestrated_schedules[namespace][schedule_id] = {
|
||||||
'frequency': frequency,
|
'frequency': frequency,
|
||||||
'data': json.loads(data),
|
'data': json.loads(data),
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -136,7 +136,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 4,
|
"execution_count": null,
|
||||||
"id": "bb750ae6",
|
"id": "bb750ae6",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [
|
"outputs": [
|
||||||
@@ -163,9 +163,9 @@
|
|||||||
")\n",
|
")\n",
|
||||||
"from temporalio.common import TypedSearchAttributes, SearchAttributeKey, SearchAttributePair\n",
|
"from temporalio.common import TypedSearchAttributes, SearchAttributeKey, SearchAttributePair\n",
|
||||||
"\n",
|
"\n",
|
||||||
"# temporal operator search-attribute create --namespace default --name model_id --type Text\n",
|
"# temporal operator search-attribute create --namespace scouter --name model_id --type Text && temporal operator search-attribute create --namespace scouter --name orchestrated --type Text && temporal operator search-attribute create --namespace scouter --name model_name --type Text && temporal operator search-attribute create --namespace laborious --name model_id --type Text && temporal operator search-attribute create --namespace laborious --name orchestrated --type Text && temporal operator search-attribute create --namespace laborious --name model_name --type Text\n",
|
||||||
"# temporal operator search-attribute create --namespace default --name orchestrated --type Text\n",
|
"\n",
|
||||||
"# temporal operator search-attribute create --namespace default --name model_name --type Text\n",
|
"\n",
|
||||||
"\n",
|
"\n",
|
||||||
"await temporal_client.create_schedule(\n",
|
"await temporal_client.create_schedule(\n",
|
||||||
" \"orchestrator\",\n",
|
" \"orchestrator\",\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user