Fix: More examples / snippets fixes + rework (#2150)

* feat: start reworking snippets

* feat: start cleaning up gen script

* fix: start updating refs everywhere

* feat: start fixing broken snippet links

* fix: more snippets

* fix: more updates

* chore: lint

* fix: taskfile

* fix: script

* fix: escaping issue + mergent blog

* fix: bunch more

* chore: lint

* fix: implement more of them

* fix: retry

* fix: the rest

* chore: lint

* fix: highlight

* fix: ugh

* fix: start removing dead code from old snippet method

* fix: rest of the refs

* fix: remove all of the rest of the <GithubSnippet uses

* fix: couple more

* fix: last few errors

* fix: handle example writes

* fix: delete to test update

* fix: CI, attempt 1

* feat: helpful error on no snippet

* fix: lint

* chore: rm unused js file

* feat: improve GHA

* debug: run action on branch

* fix: rm pnpm

* fix: try to leave comment instead

* fix: don't run on branch

* fix: factor out GH info

* fix: include code path

* fix: ts
This commit is contained in:
matt
2025-08-17 10:22:16 -05:00
committed by GitHub
parent d8dd0c9cbb
commit f8e5f357d9
100 changed files with 1115 additions and 6613 deletions

View File

@@ -38,6 +38,7 @@ async def step3(input: EmptyModel, ctx: Context) -> RandomSum:
return RandomSum(sum=one + two)
# 👀 cool thing!
@dag_workflow.task(parents=[step1, step3])
async def step4(input: EmptyModel, ctx: Context) -> dict[str, str]:
print(

View File

@@ -1,5 +1,3 @@
# > Simple
from typing import Annotated
from pydantic import BaseModel