mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-01-30 04:39:00 -06:00
* fix: hard redirect * fix: set value * fix: drill * fix: start time default bug * fix: only show worker filter if there are active workers * fix: rm deps from callbacks * fix: worker filtering * hack: events runs on hover * feat: badge ui * fix: remove event detail page * fix: rm cruft * fix: loading state * fix: initial side sheet rework * feat: initial work un-borking the side sheet * fix: more ui * fix: so close! * fix: fixed height for main view * fix: height * fix: race * feat: improved handle * fix: docs * fix: close the side sheet on opening docs * fix: close docs on side sheet open * chore: lint * fix: doc sheet * fix: route * feat: persist panel width * feat: progress on combining docs and detail sheets * feat: wire up docs * feat: clean up some dead code, improve typing * fix: more layout tweaks * fix: more misc. things * fix: side panel * fix: rm more dead code * fix: rm duped use of sheet + docs providers * fix: worker detail * fix: remove side sheet! * fix: remove a ton more dead code (detailWithSheet thing) * fix: use docs button on sidebar * feat: remove the rest of the docs code * fix: attempts * chore: gen * fix: don't run tests on FE changes * Fix bug burndown part iii (#1789) * fix: hard redirect * fix: set value * fix: drill * fix: start time default bug * fix: only show worker filter if there are active workers * fix: rm deps from callbacks * fix: worker filtering * fix: auth * redirect issue * empty state and layout * trigger bug fixes * empty state --------- Co-authored-by: mrkaye97 <mrkaye97@gmail.com> --------- Co-authored-by: Gabe Ruttner <gabriel.ruttner@gmail.com>
17 lines
435 B
TypeScript
17 lines
435 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\", {\"should_skip\": False})\n",
|
|
"source": "out/python/events/event.py",
|
|
"blocks": {
|
|
"event_trigger": {
|
|
"start": 6,
|
|
"stop": 6
|
|
}
|
|
},
|
|
"highlights": {}
|
|
};
|
|
|
|
export default snippet;
|