mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-03-23 13:11:38 -05:00
* fix: get rid of quote replacing * chore: gen * drive by: event doc wording * fix: dedenting
12 lines
471 B
TypeScript
12 lines
471 B
TypeScript
import { Snippet } from '@/lib/generated/snips/types';
|
|
|
|
const snippet: Snippet = {
|
|
"language": "python",
|
|
"content": "import time\n\nfrom examples.waits.worker import hatchet, task_condition_workflow\n\ntask_condition_workflow.run_no_wait()\n\ntime.sleep(5)\n\nhatchet.event.push(\"skip_on_event:skip\", {})\nhatchet.event.push(\"wait_for_event:start\", {})\n",
|
|
"source": "out/python/waits/trigger.py",
|
|
"blocks": {},
|
|
"highlights": {}
|
|
};
|
|
|
|
export default snippet;
|