mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-05-23 20:08:34 -05:00
246f284a98
* fix: get rid of quote replacing * chore: gen * drive by: event doc wording * fix: dedenting
17 lines
413 B
TypeScript
17 lines
413 B
TypeScript
import { Snippet } from '@/lib/generated/snips/types';
|
|
|
|
const snippet: Snippet = {
|
|
"language": "python",
|
|
"content": "from hatchet_sdk import Hatchet\n\nhatchet = Hatchet()\n\n# > Event trigger\nhatchet.event.push(\"user:create\", {})\n",
|
|
"source": "out/python/events/event.py",
|
|
"blocks": {
|
|
"event_trigger": {
|
|
"start": 6,
|
|
"stop": 6
|
|
}
|
|
},
|
|
"highlights": {}
|
|
};
|
|
|
|
export default snippet;
|