[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-astronomer-authoring-go-sdk-tasks":3,"mdc--j4ekba-key":55,"related-repo-astronomer-authoring-go-sdk-tasks":1847,"related-org-astronomer-authoring-go-sdk-tasks":1948},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":50,"sourceUrl":53,"mdContent":54},"authoring-go-sdk-tasks","implement Airflow tasks in Go","Writes Airflow task logic in Go using the Airflow Go SDK. Use when the user wants to implement Airflow tasks in Go, asks about `BundleProvider`\u002F`RegisterDags`, the `bundlev1` Registry\u002FDag interfaces, registering Go tasks (`AddTask`\u002F`AddTaskWithName`), dependency injection by parameter type (`context.Context`, `sdk.TIRunContext`, `*slog.Logger`, `sdk.Client`), or reading connections\u002Fvariables\u002FXComs from Go. This skill covers the Go-specific native API; the shared Python-stub pattern and conceptual model live in authoring-language-sdk-tasks. For building\u002Fpacking\u002Fshipping the bundle see deploying-go-sdk-bundles; for coordinator config see configuring-airflow-language-sdks.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"astronomer","Astronomer","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fastronomer.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"Airflow","airflow","tag",{"name":17,"slug":18,"type":15},"Data Pipeline","data-pipeline",{"name":20,"slug":21,"type":15},"API Development","api-development",{"name":23,"slug":24,"type":15},"Go","go",412,"https:\u002F\u002Fgithub.com\u002Fastronomer\u002Fagents","2026-07-11T05:39:13.552213",null,55,[31,32,33,34,14,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"agentic-workflow","agents","ai","ai-agents","apache-airflow","claude","cursor","dag","data-engineering","data-pipelines","dbt","llm","mcp","orchestrator","skills","workflow-automation","workflow-management","workflow-orchestration","workflows",{"repoUrl":26,"stars":25,"forks":29,"topics":51,"description":52},[31,32,33,34,14,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"AI agent tooling for data engineering workflows.","https:\u002F\u002Fgithub.com\u002Fastronomer\u002Fagents\u002Ftree\u002FHEAD\u002Fskills\u002Fauthoring-go-sdk-tasks","---\nname: authoring-go-sdk-tasks\ndescription: Writes Airflow task logic in Go using the Airflow Go SDK. Use when the user wants to implement Airflow tasks in Go, asks about `BundleProvider`\u002F`RegisterDags`, the `bundlev1` Registry\u002FDag interfaces, registering Go tasks (`AddTask`\u002F`AddTaskWithName`), dependency injection by parameter type (`context.Context`, `sdk.TIRunContext`, `*slog.Logger`, `sdk.Client`), or reading connections\u002Fvariables\u002FXComs from Go. This skill covers the Go-specific native API; the shared Python-stub pattern and conceptual model live in authoring-language-sdk-tasks. For building\u002Fpacking\u002Fshipping the bundle see deploying-go-sdk-bundles; for coordinator config see configuring-airflow-language-sdks.\n---\n\n# Authoring Go SDK Tasks\n\nThe Airflow Go SDK implements the language-SDK model for Go: your DAG stays in Python, and each task is a compiled Go function registered inside a **bundle** (a single native executable). This skill covers the **Go-specific** native API. The shared model (the Python `@task.stub` pattern, ID matching, the XCom-as-JSON contract) lives in **authoring-language-sdk-tasks**; read that first if you are new to language SDKs.\n\n> **Experimental.** The Go SDK is under active development and not production-ready. Module path `github.com\u002Fapache\u002Fairflow\u002Fgo-sdk` (Go 1.24+). APIs may change.\n\n> **Related skills:** **authoring-language-sdk-tasks** (shared Python stub + concepts), **deploying-go-sdk-bundles** (build, pack, and ship the bundle), **configuring-airflow-language-sdks** (route the queue to the Go coordinator).\n\n---\n\n## Recap: the Python side\n\nA Go task is paired with a Python stub that carries no logic; it declares the task, its queue, and the dependency graph. IDs must match the Go registration exactly, and `queue=` routes the task to the Go runtime. Full rules are in **authoring-language-sdk-tasks**; the minimal shape:\n\n```python\nfrom airflow.sdk import dag, task\n\n\n@task.stub(queue=\"golang\")\ndef extract(): ...\n\n\n@task.stub(queue=\"golang\")\ndef transform(): ...\n\n\n@dag()\ndef simple_dag():\n    extract() >> transform()\n\n\nsimple_dag()\n```\n\nThe `queue` value (`\"golang\"` here) is an arbitrary label that must match the queue routed to the Go coordinator (`queue_to_coordinator`). See **configuring-airflow-language-sdks**.\n\n---\n\n## The bundle entry point\n\nA bundle implements `bundlev1.BundleProvider`: report its version and register your DAGs and tasks. `main` is one line; `bundlev1server.Serve` wires the bundle to the Airflow runtime for you.\n\n```go\npackage main\n\nimport (\n\t\"log\"\n\n\tv1 \"github.com\u002Fapache\u002Fairflow\u002Fgo-sdk\u002Fbundle\u002Fbundlev1\"\n\t\"github.com\u002Fapache\u002Fairflow\u002Fgo-sdk\u002Fbundle\u002Fbundlev1\u002Fbundlev1server\"\n)\n\ntype myBundle struct{}\n\nvar _ v1.BundleProvider = (*myBundle)(nil)\n\nfunc (m *myBundle) GetBundleVersion() v1.BundleInfo {\n\treturn v1.BundleInfo{Name: bundleName, Version: &bundleVersion}\n}\n\nfunc (m *myBundle) RegisterDags(dagbag v1.Registry) error {\n\tsimpleDag := dagbag.AddDag(\"simple_dag\")      \u002F\u002F dag_id must match the Python @dag name\n\tsimpleDag.AddTask(extract)                    \u002F\u002F task_id is the function name; must match the stub\n\tsimpleDag.AddTaskWithName(\"transform\", transform) \u002F\u002F or set the task_id explicitly\n\treturn nil\n}\n\nfunc main() {\n\tif err := bundlev1server.Serve(&myBundle{}); err != nil {\n\t\tlog.Fatal(err)\n\t}\n}\n```\n\n`AddTask(fn)` derives the `task_id` from the Go function's name; use `AddTaskWithName(\"\u003Ctask_id>\", fn)` when that name can't match the Python stub (an unexported, renamed, or reused function). `RegisterDags` is the single source of truth for task identity: the bundle's manifest (used by the packer and by the coordinator) is generated by running it, never hand-written.\n\n---\n\n## Task functions: dependency injection by parameter type\n\nA task is an ordinary Go function. The runtime inspects its signature and injects arguments **by type**; declare only what you need.\n\n| Parameter type | Injected value |\n|----------------|----------------|\n| `context.Context` | Task context for cancellation. Always available. |\n| `sdk.TIRunContext` | Richer context (embeds `context.Context`) exposing `TaskInstance()` and `DagRun()`. See [Runtime context](#runtime-context). |\n| `*slog.Logger` | Logger wired to the Airflow task log. |\n| `sdk.Client` | Full Airflow model access: Variables, Connections, XComs. |\n| `sdk.VariableClient` \u002F `sdk.ConnectionClient` \u002F `sdk.XComClient` | A narrower slice of `sdk.Client`. Prefer the narrowest you need; it documents intent and is trivial to fake in tests. |\n\nThe optional return signature is `(result, error)`: a non-nil `result` is pushed as the task's `return_value` XCom; a non-nil `error` fails the task (which triggers the stub's retry policy). Returning only `error`, or nothing, is also valid.\n\n```go\nfunc extract(ctx sdk.TIRunContext, client sdk.Client, log *slog.Logger) (any, error) {\n\tconn, err := client.GetConnection(ctx, \"test_http\")\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tlog.Info(\"connected\", \"host\", conn.Host)\n\treturn map[string]any{\"go_version\": runtime.Version()}, nil\n}\n\nfunc transform(ctx sdk.TIRunContext, client sdk.VariableClient) error {\n\tval, err := client.GetVariable(ctx, \"my_variable\")\n\tif err != nil {\n\t\treturn err \u002F\u002F VariableNotFound (a sentinel error) if absent\n\t}\n\t_ = val\n\treturn nil\n}\n```\n\n---\n\n## The `sdk.Client` surface\n\n| Call | Returns | Notes |\n|------|---------|-------|\n| `GetVariable(ctx, key)` | `(string, error)` | `VariableNotFound` if absent. |\n| `UnmarshalJSONVariable(ctx, key, &ptr)` | `error` | Decode a JSON variable into a struct\u002Fpointer. |\n| `GetConnection(ctx, connID)` | `(Connection, error)` | `ConnectionNotFound` if absent. |\n| `GetXCom(ctx, dagID, runID, taskID, mapIndex, key, value)` | `(any, error)` | `XComNotFound` only if the key is absent; a stored null returns `(nil, nil)`. |\n| `PushXCom(ctx, ti, key, value)` | `error` | Rarely needed; a returned value is pushed for you. |\n\n`Connection` exposes `ID`, `Type`, `Host`, `Port` (`int`), `Login *string`, `Password *string` (nil when unset, distinct from empty), `Path` (schema), `Extra map[string]any`, plus `GetURI()`. Not-found cases return the sentinels `sdk.VariableNotFound`, `sdk.ConnectionNotFound`, `sdk.XComNotFound`.\n\nTo read an upstream task's result, call `GetXCom` explicitly, taking the `dag_id`\u002F`run_id`\u002F`task_id` you need from the runtime context (below).\n\n---\n\n## Runtime context\n\nDeclare an `sdk.TIRunContext` parameter to read metadata about the task instance and its DAG run. It is an interface that embeds `context.Context`, so it is usable anywhere a `context.Context` is expected.\n\n```go\nfunc extract(ctx sdk.TIRunContext, log *slog.Logger) error {\n\tti, dagRun := ctx.TaskInstance(), ctx.DagRun()\n\tlog.Info(\"running\",\n\t\t\"task_id\", ti.TaskID,\n\t\t\"run_id\", dagRun.RunID,\n\t\t\"logical_date\", dagRun.LogicalDate)\n\treturn nil\n}\n```\n\n- `TaskInstance()`: `DagID`, `RunID`, `TaskID`, `MapIndex *int` (nil when unmapped), `TryNumber`.\n- `DagRun()`: `DagID`, `RunID`, and the `*time.Time` timestamps `LogicalDate`, `DataIntervalStart`, `DataIntervalEnd` (nil when not sent).\n\nThe accessors are populated from the task's startup details before the body runs. Because `TIRunContext` embeds `context.Context`, pass it straight to client calls and cancellation checks (`ctx.Done()`); declare it as your context parameter by default. In tests, build the argument with `sdk.NewTIRunContext(ctx, ti, dagRun)` (it panics on a nil `ctx`).\n\n---\n\n## Go-specific pitfalls\n\n- **IDs must match the Python stub** (`dag_id` from `AddDag`, `task_id` from the registered function name), and the stub's `queue=` must route to the Go coordinator, or the task is never delivered.\n- **`RegisterDags` is authoritative.** Do not hand-write the manifest; the packer generates it by running `RegisterDags`.\n- **Ask for the narrowest client interface** you need (`sdk.VariableClient` over `sdk.Client`) for clearer intent and easier fakes.\n- **A non-nil `error` return fails the task** and applies the stub's retries; a recovered panic is also a failure.\n- See **authoring-language-sdk-tasks** for the language-agnostic pitfalls (one process per task instance, set queue and retries on the stub).\n\n---\n\n## Related Skills\n\n- **authoring-language-sdk-tasks**: Shared Python-stub pattern and concepts (read first).\n- **deploying-go-sdk-bundles**: Build and pack the bundle with `go tool airflow-go-pack`, then deploy it for the coordinator.\n- **configuring-airflow-language-sdks**: Route the queue to the Go coordinator (`ExecutableCoordinator`).\n- **authoring-dags**: General Airflow DAG authoring.\n",{"data":56,"body":57},{"name":4,"description":6},{"type":58,"children":59},"root",[60,68,105,127,160,164,171,190,349,384,387,393,422,665,700,703,709,721,887,931,1067,1070,1082,1261,1370,1405,1408,1413,1439,1508,1611,1655,1658,1664,1777,1780,1786,1841],{"type":61,"tag":62,"props":63,"children":64},"element","h1",{"id":4},[65],{"type":66,"value":67},"text","Authoring Go SDK Tasks",{"type":61,"tag":69,"props":70,"children":71},"p",{},[72,74,80,82,87,89,96,98,103],{"type":66,"value":73},"The Airflow Go SDK implements the language-SDK model for Go: your DAG stays in Python, and each task is a compiled Go function registered inside a ",{"type":61,"tag":75,"props":76,"children":77},"strong",{},[78],{"type":66,"value":79},"bundle",{"type":66,"value":81}," (a single native executable). This skill covers the ",{"type":61,"tag":75,"props":83,"children":84},{},[85],{"type":66,"value":86},"Go-specific",{"type":66,"value":88}," native API. The shared model (the Python ",{"type":61,"tag":90,"props":91,"children":93},"code",{"className":92},[],[94],{"type":66,"value":95},"@task.stub",{"type":66,"value":97}," pattern, ID matching, the XCom-as-JSON contract) lives in ",{"type":61,"tag":75,"props":99,"children":100},{},[101],{"type":66,"value":102},"authoring-language-sdk-tasks",{"type":66,"value":104},"; read that first if you are new to language SDKs.",{"type":61,"tag":106,"props":107,"children":108},"blockquote",{},[109],{"type":61,"tag":69,"props":110,"children":111},{},[112,117,119,125],{"type":61,"tag":75,"props":113,"children":114},{},[115],{"type":66,"value":116},"Experimental.",{"type":66,"value":118}," The Go SDK is under active development and not production-ready. Module path ",{"type":61,"tag":90,"props":120,"children":122},{"className":121},[],[123],{"type":66,"value":124},"github.com\u002Fapache\u002Fairflow\u002Fgo-sdk",{"type":66,"value":126}," (Go 1.24+). APIs may change.",{"type":61,"tag":106,"props":128,"children":129},{},[130],{"type":61,"tag":69,"props":131,"children":132},{},[133,138,140,144,146,151,153,158],{"type":61,"tag":75,"props":134,"children":135},{},[136],{"type":66,"value":137},"Related skills:",{"type":66,"value":139}," ",{"type":61,"tag":75,"props":141,"children":142},{},[143],{"type":66,"value":102},{"type":66,"value":145}," (shared Python stub + concepts), ",{"type":61,"tag":75,"props":147,"children":148},{},[149],{"type":66,"value":150},"deploying-go-sdk-bundles",{"type":66,"value":152}," (build, pack, and ship the bundle), ",{"type":61,"tag":75,"props":154,"children":155},{},[156],{"type":66,"value":157},"configuring-airflow-language-sdks",{"type":66,"value":159}," (route the queue to the Go coordinator).",{"type":61,"tag":161,"props":162,"children":163},"hr",{},[],{"type":61,"tag":165,"props":166,"children":168},"h2",{"id":167},"recap-the-python-side",[169],{"type":66,"value":170},"Recap: the Python side",{"type":61,"tag":69,"props":172,"children":173},{},[174,176,182,184,188],{"type":66,"value":175},"A Go task is paired with a Python stub that carries no logic; it declares the task, its queue, and the dependency graph. IDs must match the Go registration exactly, and ",{"type":61,"tag":90,"props":177,"children":179},{"className":178},[],[180],{"type":66,"value":181},"queue=",{"type":66,"value":183}," routes the task to the Go runtime. Full rules are in ",{"type":61,"tag":75,"props":185,"children":186},{},[187],{"type":66,"value":102},{"type":66,"value":189},"; the minimal shape:",{"type":61,"tag":191,"props":192,"children":197},"pre",{"className":193,"code":194,"language":195,"meta":196,"style":196},"language-python shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","from airflow.sdk import dag, task\n\n\n@task.stub(queue=\"golang\")\ndef extract(): ...\n\n\n@task.stub(queue=\"golang\")\ndef transform(): ...\n\n\n@dag()\ndef simple_dag():\n    extract() >> transform()\n\n\nsimple_dag()\n","python","",[198],{"type":61,"tag":90,"props":199,"children":200},{"__ignoreMap":196},[201,212,222,230,239,248,256,264,272,281,289,297,306,315,324,332,340],{"type":61,"tag":202,"props":203,"children":206},"span",{"class":204,"line":205},"line",1,[207],{"type":61,"tag":202,"props":208,"children":209},{},[210],{"type":66,"value":211},"from airflow.sdk import dag, task\n",{"type":61,"tag":202,"props":213,"children":215},{"class":204,"line":214},2,[216],{"type":61,"tag":202,"props":217,"children":219},{"emptyLinePlaceholder":218},true,[220],{"type":66,"value":221},"\n",{"type":61,"tag":202,"props":223,"children":225},{"class":204,"line":224},3,[226],{"type":61,"tag":202,"props":227,"children":228},{"emptyLinePlaceholder":218},[229],{"type":66,"value":221},{"type":61,"tag":202,"props":231,"children":233},{"class":204,"line":232},4,[234],{"type":61,"tag":202,"props":235,"children":236},{},[237],{"type":66,"value":238},"@task.stub(queue=\"golang\")\n",{"type":61,"tag":202,"props":240,"children":242},{"class":204,"line":241},5,[243],{"type":61,"tag":202,"props":244,"children":245},{},[246],{"type":66,"value":247},"def extract(): ...\n",{"type":61,"tag":202,"props":249,"children":251},{"class":204,"line":250},6,[252],{"type":61,"tag":202,"props":253,"children":254},{"emptyLinePlaceholder":218},[255],{"type":66,"value":221},{"type":61,"tag":202,"props":257,"children":259},{"class":204,"line":258},7,[260],{"type":61,"tag":202,"props":261,"children":262},{"emptyLinePlaceholder":218},[263],{"type":66,"value":221},{"type":61,"tag":202,"props":265,"children":267},{"class":204,"line":266},8,[268],{"type":61,"tag":202,"props":269,"children":270},{},[271],{"type":66,"value":238},{"type":61,"tag":202,"props":273,"children":275},{"class":204,"line":274},9,[276],{"type":61,"tag":202,"props":277,"children":278},{},[279],{"type":66,"value":280},"def transform(): ...\n",{"type":61,"tag":202,"props":282,"children":284},{"class":204,"line":283},10,[285],{"type":61,"tag":202,"props":286,"children":287},{"emptyLinePlaceholder":218},[288],{"type":66,"value":221},{"type":61,"tag":202,"props":290,"children":292},{"class":204,"line":291},11,[293],{"type":61,"tag":202,"props":294,"children":295},{"emptyLinePlaceholder":218},[296],{"type":66,"value":221},{"type":61,"tag":202,"props":298,"children":300},{"class":204,"line":299},12,[301],{"type":61,"tag":202,"props":302,"children":303},{},[304],{"type":66,"value":305},"@dag()\n",{"type":61,"tag":202,"props":307,"children":309},{"class":204,"line":308},13,[310],{"type":61,"tag":202,"props":311,"children":312},{},[313],{"type":66,"value":314},"def simple_dag():\n",{"type":61,"tag":202,"props":316,"children":318},{"class":204,"line":317},14,[319],{"type":61,"tag":202,"props":320,"children":321},{},[322],{"type":66,"value":323},"    extract() >> transform()\n",{"type":61,"tag":202,"props":325,"children":327},{"class":204,"line":326},15,[328],{"type":61,"tag":202,"props":329,"children":330},{"emptyLinePlaceholder":218},[331],{"type":66,"value":221},{"type":61,"tag":202,"props":333,"children":335},{"class":204,"line":334},16,[336],{"type":61,"tag":202,"props":337,"children":338},{"emptyLinePlaceholder":218},[339],{"type":66,"value":221},{"type":61,"tag":202,"props":341,"children":343},{"class":204,"line":342},17,[344],{"type":61,"tag":202,"props":345,"children":346},{},[347],{"type":66,"value":348},"simple_dag()\n",{"type":61,"tag":69,"props":350,"children":351},{},[352,354,360,362,368,370,376,378,382],{"type":66,"value":353},"The ",{"type":61,"tag":90,"props":355,"children":357},{"className":356},[],[358],{"type":66,"value":359},"queue",{"type":66,"value":361}," value (",{"type":61,"tag":90,"props":363,"children":365},{"className":364},[],[366],{"type":66,"value":367},"\"golang\"",{"type":66,"value":369}," here) is an arbitrary label that must match the queue routed to the Go coordinator (",{"type":61,"tag":90,"props":371,"children":373},{"className":372},[],[374],{"type":66,"value":375},"queue_to_coordinator",{"type":66,"value":377},"). See ",{"type":61,"tag":75,"props":379,"children":380},{},[381],{"type":66,"value":157},{"type":66,"value":383},".",{"type":61,"tag":161,"props":385,"children":386},{},[],{"type":61,"tag":165,"props":388,"children":390},{"id":389},"the-bundle-entry-point",[391],{"type":66,"value":392},"The bundle entry point",{"type":61,"tag":69,"props":394,"children":395},{},[396,398,404,406,412,414,420],{"type":66,"value":397},"A bundle implements ",{"type":61,"tag":90,"props":399,"children":401},{"className":400},[],[402],{"type":66,"value":403},"bundlev1.BundleProvider",{"type":66,"value":405},": report its version and register your DAGs and tasks. ",{"type":61,"tag":90,"props":407,"children":409},{"className":408},[],[410],{"type":66,"value":411},"main",{"type":66,"value":413}," is one line; ",{"type":61,"tag":90,"props":415,"children":417},{"className":416},[],[418],{"type":66,"value":419},"bundlev1server.Serve",{"type":66,"value":421}," wires the bundle to the Airflow runtime for you.",{"type":61,"tag":191,"props":423,"children":426},{"className":424,"code":425,"language":24,"meta":196,"style":196},"language-go shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","package main\n\nimport (\n    \"log\"\n\n    v1 \"github.com\u002Fapache\u002Fairflow\u002Fgo-sdk\u002Fbundle\u002Fbundlev1\"\n    \"github.com\u002Fapache\u002Fairflow\u002Fgo-sdk\u002Fbundle\u002Fbundlev1\u002Fbundlev1server\"\n)\n\ntype myBundle struct{}\n\nvar _ v1.BundleProvider = (*myBundle)(nil)\n\nfunc (m *myBundle) GetBundleVersion() v1.BundleInfo {\n    return v1.BundleInfo{Name: bundleName, Version: &bundleVersion}\n}\n\nfunc (m *myBundle) RegisterDags(dagbag v1.Registry) error {\n    simpleDag := dagbag.AddDag(\"simple_dag\")      \u002F\u002F dag_id must match the Python @dag name\n    simpleDag.AddTask(extract)                    \u002F\u002F task_id is the function name; must match the stub\n    simpleDag.AddTaskWithName(\"transform\", transform) \u002F\u002F or set the task_id explicitly\n    return nil\n}\n\nfunc main() {\n    if err := bundlev1server.Serve(&myBundle{}); err != nil {\n        log.Fatal(err)\n    }\n}\n",[427],{"type":61,"tag":90,"props":428,"children":429},{"__ignoreMap":196},[430,438,445,453,461,468,476,484,492,499,507,514,522,529,537,545,553,560,569,578,587,596,605,613,621,630,639,648,657],{"type":61,"tag":202,"props":431,"children":432},{"class":204,"line":205},[433],{"type":61,"tag":202,"props":434,"children":435},{},[436],{"type":66,"value":437},"package main\n",{"type":61,"tag":202,"props":439,"children":440},{"class":204,"line":214},[441],{"type":61,"tag":202,"props":442,"children":443},{"emptyLinePlaceholder":218},[444],{"type":66,"value":221},{"type":61,"tag":202,"props":446,"children":447},{"class":204,"line":224},[448],{"type":61,"tag":202,"props":449,"children":450},{},[451],{"type":66,"value":452},"import (\n",{"type":61,"tag":202,"props":454,"children":455},{"class":204,"line":232},[456],{"type":61,"tag":202,"props":457,"children":458},{},[459],{"type":66,"value":460},"    \"log\"\n",{"type":61,"tag":202,"props":462,"children":463},{"class":204,"line":241},[464],{"type":61,"tag":202,"props":465,"children":466},{"emptyLinePlaceholder":218},[467],{"type":66,"value":221},{"type":61,"tag":202,"props":469,"children":470},{"class":204,"line":250},[471],{"type":61,"tag":202,"props":472,"children":473},{},[474],{"type":66,"value":475},"    v1 \"github.com\u002Fapache\u002Fairflow\u002Fgo-sdk\u002Fbundle\u002Fbundlev1\"\n",{"type":61,"tag":202,"props":477,"children":478},{"class":204,"line":258},[479],{"type":61,"tag":202,"props":480,"children":481},{},[482],{"type":66,"value":483},"    \"github.com\u002Fapache\u002Fairflow\u002Fgo-sdk\u002Fbundle\u002Fbundlev1\u002Fbundlev1server\"\n",{"type":61,"tag":202,"props":485,"children":486},{"class":204,"line":266},[487],{"type":61,"tag":202,"props":488,"children":489},{},[490],{"type":66,"value":491},")\n",{"type":61,"tag":202,"props":493,"children":494},{"class":204,"line":274},[495],{"type":61,"tag":202,"props":496,"children":497},{"emptyLinePlaceholder":218},[498],{"type":66,"value":221},{"type":61,"tag":202,"props":500,"children":501},{"class":204,"line":283},[502],{"type":61,"tag":202,"props":503,"children":504},{},[505],{"type":66,"value":506},"type myBundle struct{}\n",{"type":61,"tag":202,"props":508,"children":509},{"class":204,"line":291},[510],{"type":61,"tag":202,"props":511,"children":512},{"emptyLinePlaceholder":218},[513],{"type":66,"value":221},{"type":61,"tag":202,"props":515,"children":516},{"class":204,"line":299},[517],{"type":61,"tag":202,"props":518,"children":519},{},[520],{"type":66,"value":521},"var _ v1.BundleProvider = (*myBundle)(nil)\n",{"type":61,"tag":202,"props":523,"children":524},{"class":204,"line":308},[525],{"type":61,"tag":202,"props":526,"children":527},{"emptyLinePlaceholder":218},[528],{"type":66,"value":221},{"type":61,"tag":202,"props":530,"children":531},{"class":204,"line":317},[532],{"type":61,"tag":202,"props":533,"children":534},{},[535],{"type":66,"value":536},"func (m *myBundle) GetBundleVersion() v1.BundleInfo {\n",{"type":61,"tag":202,"props":538,"children":539},{"class":204,"line":326},[540],{"type":61,"tag":202,"props":541,"children":542},{},[543],{"type":66,"value":544},"    return v1.BundleInfo{Name: bundleName, Version: &bundleVersion}\n",{"type":61,"tag":202,"props":546,"children":547},{"class":204,"line":334},[548],{"type":61,"tag":202,"props":549,"children":550},{},[551],{"type":66,"value":552},"}\n",{"type":61,"tag":202,"props":554,"children":555},{"class":204,"line":342},[556],{"type":61,"tag":202,"props":557,"children":558},{"emptyLinePlaceholder":218},[559],{"type":66,"value":221},{"type":61,"tag":202,"props":561,"children":563},{"class":204,"line":562},18,[564],{"type":61,"tag":202,"props":565,"children":566},{},[567],{"type":66,"value":568},"func (m *myBundle) RegisterDags(dagbag v1.Registry) error {\n",{"type":61,"tag":202,"props":570,"children":572},{"class":204,"line":571},19,[573],{"type":61,"tag":202,"props":574,"children":575},{},[576],{"type":66,"value":577},"    simpleDag := dagbag.AddDag(\"simple_dag\")      \u002F\u002F dag_id must match the Python @dag name\n",{"type":61,"tag":202,"props":579,"children":581},{"class":204,"line":580},20,[582],{"type":61,"tag":202,"props":583,"children":584},{},[585],{"type":66,"value":586},"    simpleDag.AddTask(extract)                    \u002F\u002F task_id is the function name; must match the stub\n",{"type":61,"tag":202,"props":588,"children":590},{"class":204,"line":589},21,[591],{"type":61,"tag":202,"props":592,"children":593},{},[594],{"type":66,"value":595},"    simpleDag.AddTaskWithName(\"transform\", transform) \u002F\u002F or set the task_id explicitly\n",{"type":61,"tag":202,"props":597,"children":599},{"class":204,"line":598},22,[600],{"type":61,"tag":202,"props":601,"children":602},{},[603],{"type":66,"value":604},"    return nil\n",{"type":61,"tag":202,"props":606,"children":608},{"class":204,"line":607},23,[609],{"type":61,"tag":202,"props":610,"children":611},{},[612],{"type":66,"value":552},{"type":61,"tag":202,"props":614,"children":616},{"class":204,"line":615},24,[617],{"type":61,"tag":202,"props":618,"children":619},{"emptyLinePlaceholder":218},[620],{"type":66,"value":221},{"type":61,"tag":202,"props":622,"children":624},{"class":204,"line":623},25,[625],{"type":61,"tag":202,"props":626,"children":627},{},[628],{"type":66,"value":629},"func main() {\n",{"type":61,"tag":202,"props":631,"children":633},{"class":204,"line":632},26,[634],{"type":61,"tag":202,"props":635,"children":636},{},[637],{"type":66,"value":638},"    if err := bundlev1server.Serve(&myBundle{}); err != nil {\n",{"type":61,"tag":202,"props":640,"children":642},{"class":204,"line":641},27,[643],{"type":61,"tag":202,"props":644,"children":645},{},[646],{"type":66,"value":647},"        log.Fatal(err)\n",{"type":61,"tag":202,"props":649,"children":651},{"class":204,"line":650},28,[652],{"type":61,"tag":202,"props":653,"children":654},{},[655],{"type":66,"value":656},"    }\n",{"type":61,"tag":202,"props":658,"children":660},{"class":204,"line":659},29,[661],{"type":61,"tag":202,"props":662,"children":663},{},[664],{"type":66,"value":552},{"type":61,"tag":69,"props":666,"children":667},{},[668,674,676,682,684,690,692,698],{"type":61,"tag":90,"props":669,"children":671},{"className":670},[],[672],{"type":66,"value":673},"AddTask(fn)",{"type":66,"value":675}," derives the ",{"type":61,"tag":90,"props":677,"children":679},{"className":678},[],[680],{"type":66,"value":681},"task_id",{"type":66,"value":683}," from the Go function's name; use ",{"type":61,"tag":90,"props":685,"children":687},{"className":686},[],[688],{"type":66,"value":689},"AddTaskWithName(\"\u003Ctask_id>\", fn)",{"type":66,"value":691}," when that name can't match the Python stub (an unexported, renamed, or reused function). ",{"type":61,"tag":90,"props":693,"children":695},{"className":694},[],[696],{"type":66,"value":697},"RegisterDags",{"type":66,"value":699}," is the single source of truth for task identity: the bundle's manifest (used by the packer and by the coordinator) is generated by running it, never hand-written.",{"type":61,"tag":161,"props":701,"children":702},{},[],{"type":61,"tag":165,"props":704,"children":706},{"id":705},"task-functions-dependency-injection-by-parameter-type",[707],{"type":66,"value":708},"Task functions: dependency injection by parameter type",{"type":61,"tag":69,"props":710,"children":711},{},[712,714,719],{"type":66,"value":713},"A task is an ordinary Go function. The runtime inspects its signature and injects arguments ",{"type":61,"tag":75,"props":715,"children":716},{},[717],{"type":66,"value":718},"by type",{"type":66,"value":720},"; declare only what you need.",{"type":61,"tag":722,"props":723,"children":724},"table",{},[725,744],{"type":61,"tag":726,"props":727,"children":728},"thead",{},[729],{"type":61,"tag":730,"props":731,"children":732},"tr",{},[733,739],{"type":61,"tag":734,"props":735,"children":736},"th",{},[737],{"type":66,"value":738},"Parameter type",{"type":61,"tag":734,"props":740,"children":741},{},[742],{"type":66,"value":743},"Injected value",{"type":61,"tag":745,"props":746,"children":747},"tbody",{},[748,766,814,831,848],{"type":61,"tag":730,"props":749,"children":750},{},[751,761],{"type":61,"tag":752,"props":753,"children":754},"td",{},[755],{"type":61,"tag":90,"props":756,"children":758},{"className":757},[],[759],{"type":66,"value":760},"context.Context",{"type":61,"tag":752,"props":762,"children":763},{},[764],{"type":66,"value":765},"Task context for cancellation. Always available.",{"type":61,"tag":730,"props":767,"children":768},{},[769,778],{"type":61,"tag":752,"props":770,"children":771},{},[772],{"type":61,"tag":90,"props":773,"children":775},{"className":774},[],[776],{"type":66,"value":777},"sdk.TIRunContext",{"type":61,"tag":752,"props":779,"children":780},{},[781,783,788,790,796,798,804,806,813],{"type":66,"value":782},"Richer context (embeds ",{"type":61,"tag":90,"props":784,"children":786},{"className":785},[],[787],{"type":66,"value":760},{"type":66,"value":789},") exposing ",{"type":61,"tag":90,"props":791,"children":793},{"className":792},[],[794],{"type":66,"value":795},"TaskInstance()",{"type":66,"value":797}," and ",{"type":61,"tag":90,"props":799,"children":801},{"className":800},[],[802],{"type":66,"value":803},"DagRun()",{"type":66,"value":805},". See ",{"type":61,"tag":807,"props":808,"children":810},"a",{"href":809},"#runtime-context",[811],{"type":66,"value":812},"Runtime context",{"type":66,"value":383},{"type":61,"tag":730,"props":815,"children":816},{},[817,826],{"type":61,"tag":752,"props":818,"children":819},{},[820],{"type":61,"tag":90,"props":821,"children":823},{"className":822},[],[824],{"type":66,"value":825},"*slog.Logger",{"type":61,"tag":752,"props":827,"children":828},{},[829],{"type":66,"value":830},"Logger wired to the Airflow task log.",{"type":61,"tag":730,"props":832,"children":833},{},[834,843],{"type":61,"tag":752,"props":835,"children":836},{},[837],{"type":61,"tag":90,"props":838,"children":840},{"className":839},[],[841],{"type":66,"value":842},"sdk.Client",{"type":61,"tag":752,"props":844,"children":845},{},[846],{"type":66,"value":847},"Full Airflow model access: Variables, Connections, XComs.",{"type":61,"tag":730,"props":849,"children":850},{},[851,875],{"type":61,"tag":752,"props":852,"children":853},{},[854,860,862,868,869],{"type":61,"tag":90,"props":855,"children":857},{"className":856},[],[858],{"type":66,"value":859},"sdk.VariableClient",{"type":66,"value":861}," \u002F ",{"type":61,"tag":90,"props":863,"children":865},{"className":864},[],[866],{"type":66,"value":867},"sdk.ConnectionClient",{"type":66,"value":861},{"type":61,"tag":90,"props":870,"children":872},{"className":871},[],[873],{"type":66,"value":874},"sdk.XComClient",{"type":61,"tag":752,"props":876,"children":877},{},[878,880,885],{"type":66,"value":879},"A narrower slice of ",{"type":61,"tag":90,"props":881,"children":883},{"className":882},[],[884],{"type":66,"value":842},{"type":66,"value":886},". Prefer the narrowest you need; it documents intent and is trivial to fake in tests.",{"type":61,"tag":69,"props":888,"children":889},{},[890,892,898,900,906,908,914,916,922,924,929],{"type":66,"value":891},"The optional return signature is ",{"type":61,"tag":90,"props":893,"children":895},{"className":894},[],[896],{"type":66,"value":897},"(result, error)",{"type":66,"value":899},": a non-nil ",{"type":61,"tag":90,"props":901,"children":903},{"className":902},[],[904],{"type":66,"value":905},"result",{"type":66,"value":907}," is pushed as the task's ",{"type":61,"tag":90,"props":909,"children":911},{"className":910},[],[912],{"type":66,"value":913},"return_value",{"type":66,"value":915}," XCom; a non-nil ",{"type":61,"tag":90,"props":917,"children":919},{"className":918},[],[920],{"type":66,"value":921},"error",{"type":66,"value":923}," fails the task (which triggers the stub's retry policy). Returning only ",{"type":61,"tag":90,"props":925,"children":927},{"className":926},[],[928],{"type":66,"value":921},{"type":66,"value":930},", or nothing, is also valid.",{"type":61,"tag":191,"props":932,"children":934},{"className":424,"code":933,"language":24,"meta":196,"style":196},"func extract(ctx sdk.TIRunContext, client sdk.Client, log *slog.Logger) (any, error) {\n    conn, err := client.GetConnection(ctx, \"test_http\")\n    if err != nil {\n        return nil, err\n    }\n    log.Info(\"connected\", \"host\", conn.Host)\n    return map[string]any{\"go_version\": runtime.Version()}, nil\n}\n\nfunc transform(ctx sdk.TIRunContext, client sdk.VariableClient) error {\n    val, err := client.GetVariable(ctx, \"my_variable\")\n    if err != nil {\n        return err \u002F\u002F VariableNotFound (a sentinel error) if absent\n    }\n    _ = val\n    return nil\n}\n",[935],{"type":61,"tag":90,"props":936,"children":937},{"__ignoreMap":196},[938,946,954,962,970,977,985,993,1000,1007,1015,1023,1030,1038,1045,1053,1060],{"type":61,"tag":202,"props":939,"children":940},{"class":204,"line":205},[941],{"type":61,"tag":202,"props":942,"children":943},{},[944],{"type":66,"value":945},"func extract(ctx sdk.TIRunContext, client sdk.Client, log *slog.Logger) (any, error) {\n",{"type":61,"tag":202,"props":947,"children":948},{"class":204,"line":214},[949],{"type":61,"tag":202,"props":950,"children":951},{},[952],{"type":66,"value":953},"    conn, err := client.GetConnection(ctx, \"test_http\")\n",{"type":61,"tag":202,"props":955,"children":956},{"class":204,"line":224},[957],{"type":61,"tag":202,"props":958,"children":959},{},[960],{"type":66,"value":961},"    if err != nil {\n",{"type":61,"tag":202,"props":963,"children":964},{"class":204,"line":232},[965],{"type":61,"tag":202,"props":966,"children":967},{},[968],{"type":66,"value":969},"        return nil, err\n",{"type":61,"tag":202,"props":971,"children":972},{"class":204,"line":241},[973],{"type":61,"tag":202,"props":974,"children":975},{},[976],{"type":66,"value":656},{"type":61,"tag":202,"props":978,"children":979},{"class":204,"line":250},[980],{"type":61,"tag":202,"props":981,"children":982},{},[983],{"type":66,"value":984},"    log.Info(\"connected\", \"host\", conn.Host)\n",{"type":61,"tag":202,"props":986,"children":987},{"class":204,"line":258},[988],{"type":61,"tag":202,"props":989,"children":990},{},[991],{"type":66,"value":992},"    return map[string]any{\"go_version\": runtime.Version()}, nil\n",{"type":61,"tag":202,"props":994,"children":995},{"class":204,"line":266},[996],{"type":61,"tag":202,"props":997,"children":998},{},[999],{"type":66,"value":552},{"type":61,"tag":202,"props":1001,"children":1002},{"class":204,"line":274},[1003],{"type":61,"tag":202,"props":1004,"children":1005},{"emptyLinePlaceholder":218},[1006],{"type":66,"value":221},{"type":61,"tag":202,"props":1008,"children":1009},{"class":204,"line":283},[1010],{"type":61,"tag":202,"props":1011,"children":1012},{},[1013],{"type":66,"value":1014},"func transform(ctx sdk.TIRunContext, client sdk.VariableClient) error {\n",{"type":61,"tag":202,"props":1016,"children":1017},{"class":204,"line":291},[1018],{"type":61,"tag":202,"props":1019,"children":1020},{},[1021],{"type":66,"value":1022},"    val, err := client.GetVariable(ctx, \"my_variable\")\n",{"type":61,"tag":202,"props":1024,"children":1025},{"class":204,"line":299},[1026],{"type":61,"tag":202,"props":1027,"children":1028},{},[1029],{"type":66,"value":961},{"type":61,"tag":202,"props":1031,"children":1032},{"class":204,"line":308},[1033],{"type":61,"tag":202,"props":1034,"children":1035},{},[1036],{"type":66,"value":1037},"        return err \u002F\u002F VariableNotFound (a sentinel error) if absent\n",{"type":61,"tag":202,"props":1039,"children":1040},{"class":204,"line":317},[1041],{"type":61,"tag":202,"props":1042,"children":1043},{},[1044],{"type":66,"value":656},{"type":61,"tag":202,"props":1046,"children":1047},{"class":204,"line":326},[1048],{"type":61,"tag":202,"props":1049,"children":1050},{},[1051],{"type":66,"value":1052},"    _ = val\n",{"type":61,"tag":202,"props":1054,"children":1055},{"class":204,"line":334},[1056],{"type":61,"tag":202,"props":1057,"children":1058},{},[1059],{"type":66,"value":604},{"type":61,"tag":202,"props":1061,"children":1062},{"class":204,"line":342},[1063],{"type":61,"tag":202,"props":1064,"children":1065},{},[1066],{"type":66,"value":552},{"type":61,"tag":161,"props":1068,"children":1069},{},[],{"type":61,"tag":165,"props":1071,"children":1073},{"id":1072},"the-sdkclient-surface",[1074,1075,1080],{"type":66,"value":353},{"type":61,"tag":90,"props":1076,"children":1078},{"className":1077},[],[1079],{"type":66,"value":842},{"type":66,"value":1081}," surface",{"type":61,"tag":722,"props":1083,"children":1084},{},[1085,1106],{"type":61,"tag":726,"props":1086,"children":1087},{},[1088],{"type":61,"tag":730,"props":1089,"children":1090},{},[1091,1096,1101],{"type":61,"tag":734,"props":1092,"children":1093},{},[1094],{"type":66,"value":1095},"Call",{"type":61,"tag":734,"props":1097,"children":1098},{},[1099],{"type":66,"value":1100},"Returns",{"type":61,"tag":734,"props":1102,"children":1103},{},[1104],{"type":66,"value":1105},"Notes",{"type":61,"tag":745,"props":1107,"children":1108},{},[1109,1141,1166,1197,1236],{"type":61,"tag":730,"props":1110,"children":1111},{},[1112,1121,1130],{"type":61,"tag":752,"props":1113,"children":1114},{},[1115],{"type":61,"tag":90,"props":1116,"children":1118},{"className":1117},[],[1119],{"type":66,"value":1120},"GetVariable(ctx, key)",{"type":61,"tag":752,"props":1122,"children":1123},{},[1124],{"type":61,"tag":90,"props":1125,"children":1127},{"className":1126},[],[1128],{"type":66,"value":1129},"(string, error)",{"type":61,"tag":752,"props":1131,"children":1132},{},[1133,1139],{"type":61,"tag":90,"props":1134,"children":1136},{"className":1135},[],[1137],{"type":66,"value":1138},"VariableNotFound",{"type":66,"value":1140}," if absent.",{"type":61,"tag":730,"props":1142,"children":1143},{},[1144,1153,1161],{"type":61,"tag":752,"props":1145,"children":1146},{},[1147],{"type":61,"tag":90,"props":1148,"children":1150},{"className":1149},[],[1151],{"type":66,"value":1152},"UnmarshalJSONVariable(ctx, key, &ptr)",{"type":61,"tag":752,"props":1154,"children":1155},{},[1156],{"type":61,"tag":90,"props":1157,"children":1159},{"className":1158},[],[1160],{"type":66,"value":921},{"type":61,"tag":752,"props":1162,"children":1163},{},[1164],{"type":66,"value":1165},"Decode a JSON variable into a struct\u002Fpointer.",{"type":61,"tag":730,"props":1167,"children":1168},{},[1169,1178,1187],{"type":61,"tag":752,"props":1170,"children":1171},{},[1172],{"type":61,"tag":90,"props":1173,"children":1175},{"className":1174},[],[1176],{"type":66,"value":1177},"GetConnection(ctx, connID)",{"type":61,"tag":752,"props":1179,"children":1180},{},[1181],{"type":61,"tag":90,"props":1182,"children":1184},{"className":1183},[],[1185],{"type":66,"value":1186},"(Connection, error)",{"type":61,"tag":752,"props":1188,"children":1189},{},[1190,1196],{"type":61,"tag":90,"props":1191,"children":1193},{"className":1192},[],[1194],{"type":66,"value":1195},"ConnectionNotFound",{"type":66,"value":1140},{"type":61,"tag":730,"props":1198,"children":1199},{},[1200,1209,1218],{"type":61,"tag":752,"props":1201,"children":1202},{},[1203],{"type":61,"tag":90,"props":1204,"children":1206},{"className":1205},[],[1207],{"type":66,"value":1208},"GetXCom(ctx, dagID, runID, taskID, mapIndex, key, value)",{"type":61,"tag":752,"props":1210,"children":1211},{},[1212],{"type":61,"tag":90,"props":1213,"children":1215},{"className":1214},[],[1216],{"type":66,"value":1217},"(any, error)",{"type":61,"tag":752,"props":1219,"children":1220},{},[1221,1227,1229,1235],{"type":61,"tag":90,"props":1222,"children":1224},{"className":1223},[],[1225],{"type":66,"value":1226},"XComNotFound",{"type":66,"value":1228}," only if the key is absent; a stored null returns ",{"type":61,"tag":90,"props":1230,"children":1232},{"className":1231},[],[1233],{"type":66,"value":1234},"(nil, nil)",{"type":66,"value":383},{"type":61,"tag":730,"props":1237,"children":1238},{},[1239,1248,1256],{"type":61,"tag":752,"props":1240,"children":1241},{},[1242],{"type":61,"tag":90,"props":1243,"children":1245},{"className":1244},[],[1246],{"type":66,"value":1247},"PushXCom(ctx, ti, key, value)",{"type":61,"tag":752,"props":1249,"children":1250},{},[1251],{"type":61,"tag":90,"props":1252,"children":1254},{"className":1253},[],[1255],{"type":66,"value":921},{"type":61,"tag":752,"props":1257,"children":1258},{},[1259],{"type":66,"value":1260},"Rarely needed; a returned value is pushed for you.",{"type":61,"tag":69,"props":1262,"children":1263},{},[1264,1270,1272,1278,1280,1286,1287,1293,1294,1300,1302,1308,1310,1316,1317,1323,1325,1331,1333,1339,1341,1347,1349,1355,1356,1362,1363,1369],{"type":61,"tag":90,"props":1265,"children":1267},{"className":1266},[],[1268],{"type":66,"value":1269},"Connection",{"type":66,"value":1271}," exposes ",{"type":61,"tag":90,"props":1273,"children":1275},{"className":1274},[],[1276],{"type":66,"value":1277},"ID",{"type":66,"value":1279},", ",{"type":61,"tag":90,"props":1281,"children":1283},{"className":1282},[],[1284],{"type":66,"value":1285},"Type",{"type":66,"value":1279},{"type":61,"tag":90,"props":1288,"children":1290},{"className":1289},[],[1291],{"type":66,"value":1292},"Host",{"type":66,"value":1279},{"type":61,"tag":90,"props":1295,"children":1297},{"className":1296},[],[1298],{"type":66,"value":1299},"Port",{"type":66,"value":1301}," (",{"type":61,"tag":90,"props":1303,"children":1305},{"className":1304},[],[1306],{"type":66,"value":1307},"int",{"type":66,"value":1309},"), ",{"type":61,"tag":90,"props":1311,"children":1313},{"className":1312},[],[1314],{"type":66,"value":1315},"Login *string",{"type":66,"value":1279},{"type":61,"tag":90,"props":1318,"children":1320},{"className":1319},[],[1321],{"type":66,"value":1322},"Password *string",{"type":66,"value":1324}," (nil when unset, distinct from empty), ",{"type":61,"tag":90,"props":1326,"children":1328},{"className":1327},[],[1329],{"type":66,"value":1330},"Path",{"type":66,"value":1332}," (schema), ",{"type":61,"tag":90,"props":1334,"children":1336},{"className":1335},[],[1337],{"type":66,"value":1338},"Extra map[string]any",{"type":66,"value":1340},", plus ",{"type":61,"tag":90,"props":1342,"children":1344},{"className":1343},[],[1345],{"type":66,"value":1346},"GetURI()",{"type":66,"value":1348},". Not-found cases return the sentinels ",{"type":61,"tag":90,"props":1350,"children":1352},{"className":1351},[],[1353],{"type":66,"value":1354},"sdk.VariableNotFound",{"type":66,"value":1279},{"type":61,"tag":90,"props":1357,"children":1359},{"className":1358},[],[1360],{"type":66,"value":1361},"sdk.ConnectionNotFound",{"type":66,"value":1279},{"type":61,"tag":90,"props":1364,"children":1366},{"className":1365},[],[1367],{"type":66,"value":1368},"sdk.XComNotFound",{"type":66,"value":383},{"type":61,"tag":69,"props":1371,"children":1372},{},[1373,1375,1381,1383,1389,1391,1397,1398,1403],{"type":66,"value":1374},"To read an upstream task's result, call ",{"type":61,"tag":90,"props":1376,"children":1378},{"className":1377},[],[1379],{"type":66,"value":1380},"GetXCom",{"type":66,"value":1382}," explicitly, taking the ",{"type":61,"tag":90,"props":1384,"children":1386},{"className":1385},[],[1387],{"type":66,"value":1388},"dag_id",{"type":66,"value":1390},"\u002F",{"type":61,"tag":90,"props":1392,"children":1394},{"className":1393},[],[1395],{"type":66,"value":1396},"run_id",{"type":66,"value":1390},{"type":61,"tag":90,"props":1399,"children":1401},{"className":1400},[],[1402],{"type":66,"value":681},{"type":66,"value":1404}," you need from the runtime context (below).",{"type":61,"tag":161,"props":1406,"children":1407},{},[],{"type":61,"tag":165,"props":1409,"children":1411},{"id":1410},"runtime-context",[1412],{"type":66,"value":812},{"type":61,"tag":69,"props":1414,"children":1415},{},[1416,1418,1423,1425,1430,1432,1437],{"type":66,"value":1417},"Declare an ",{"type":61,"tag":90,"props":1419,"children":1421},{"className":1420},[],[1422],{"type":66,"value":777},{"type":66,"value":1424}," parameter to read metadata about the task instance and its DAG run. It is an interface that embeds ",{"type":61,"tag":90,"props":1426,"children":1428},{"className":1427},[],[1429],{"type":66,"value":760},{"type":66,"value":1431},", so it is usable anywhere a ",{"type":61,"tag":90,"props":1433,"children":1435},{"className":1434},[],[1436],{"type":66,"value":760},{"type":66,"value":1438}," is expected.",{"type":61,"tag":191,"props":1440,"children":1442},{"className":424,"code":1441,"language":24,"meta":196,"style":196},"func extract(ctx sdk.TIRunContext, log *slog.Logger) error {\n    ti, dagRun := ctx.TaskInstance(), ctx.DagRun()\n    log.Info(\"running\",\n        \"task_id\", ti.TaskID,\n        \"run_id\", dagRun.RunID,\n        \"logical_date\", dagRun.LogicalDate)\n    return nil\n}\n",[1443],{"type":61,"tag":90,"props":1444,"children":1445},{"__ignoreMap":196},[1446,1454,1462,1470,1478,1486,1494,1501],{"type":61,"tag":202,"props":1447,"children":1448},{"class":204,"line":205},[1449],{"type":61,"tag":202,"props":1450,"children":1451},{},[1452],{"type":66,"value":1453},"func extract(ctx sdk.TIRunContext, log *slog.Logger) error {\n",{"type":61,"tag":202,"props":1455,"children":1456},{"class":204,"line":214},[1457],{"type":61,"tag":202,"props":1458,"children":1459},{},[1460],{"type":66,"value":1461},"    ti, dagRun := ctx.TaskInstance(), ctx.DagRun()\n",{"type":61,"tag":202,"props":1463,"children":1464},{"class":204,"line":224},[1465],{"type":61,"tag":202,"props":1466,"children":1467},{},[1468],{"type":66,"value":1469},"    log.Info(\"running\",\n",{"type":61,"tag":202,"props":1471,"children":1472},{"class":204,"line":232},[1473],{"type":61,"tag":202,"props":1474,"children":1475},{},[1476],{"type":66,"value":1477},"        \"task_id\", ti.TaskID,\n",{"type":61,"tag":202,"props":1479,"children":1480},{"class":204,"line":241},[1481],{"type":61,"tag":202,"props":1482,"children":1483},{},[1484],{"type":66,"value":1485},"        \"run_id\", dagRun.RunID,\n",{"type":61,"tag":202,"props":1487,"children":1488},{"class":204,"line":250},[1489],{"type":61,"tag":202,"props":1490,"children":1491},{},[1492],{"type":66,"value":1493},"        \"logical_date\", dagRun.LogicalDate)\n",{"type":61,"tag":202,"props":1495,"children":1496},{"class":204,"line":258},[1497],{"type":61,"tag":202,"props":1498,"children":1499},{},[1500],{"type":66,"value":604},{"type":61,"tag":202,"props":1502,"children":1503},{"class":204,"line":266},[1504],{"type":61,"tag":202,"props":1505,"children":1506},{},[1507],{"type":66,"value":552},{"type":61,"tag":1509,"props":1510,"children":1511},"ul",{},[1512,1559],{"type":61,"tag":1513,"props":1514,"children":1515},"li",{},[1516,1521,1523,1529,1530,1536,1537,1543,1544,1550,1552,1558],{"type":61,"tag":90,"props":1517,"children":1519},{"className":1518},[],[1520],{"type":66,"value":795},{"type":66,"value":1522},": ",{"type":61,"tag":90,"props":1524,"children":1526},{"className":1525},[],[1527],{"type":66,"value":1528},"DagID",{"type":66,"value":1279},{"type":61,"tag":90,"props":1531,"children":1533},{"className":1532},[],[1534],{"type":66,"value":1535},"RunID",{"type":66,"value":1279},{"type":61,"tag":90,"props":1538,"children":1540},{"className":1539},[],[1541],{"type":66,"value":1542},"TaskID",{"type":66,"value":1279},{"type":61,"tag":90,"props":1545,"children":1547},{"className":1546},[],[1548],{"type":66,"value":1549},"MapIndex *int",{"type":66,"value":1551}," (nil when unmapped), ",{"type":61,"tag":90,"props":1553,"children":1555},{"className":1554},[],[1556],{"type":66,"value":1557},"TryNumber",{"type":66,"value":383},{"type":61,"tag":1513,"props":1560,"children":1561},{},[1562,1567,1568,1573,1574,1579,1581,1587,1589,1595,1596,1602,1603,1609],{"type":61,"tag":90,"props":1563,"children":1565},{"className":1564},[],[1566],{"type":66,"value":803},{"type":66,"value":1522},{"type":61,"tag":90,"props":1569,"children":1571},{"className":1570},[],[1572],{"type":66,"value":1528},{"type":66,"value":1279},{"type":61,"tag":90,"props":1575,"children":1577},{"className":1576},[],[1578],{"type":66,"value":1535},{"type":66,"value":1580},", and the ",{"type":61,"tag":90,"props":1582,"children":1584},{"className":1583},[],[1585],{"type":66,"value":1586},"*time.Time",{"type":66,"value":1588}," timestamps ",{"type":61,"tag":90,"props":1590,"children":1592},{"className":1591},[],[1593],{"type":66,"value":1594},"LogicalDate",{"type":66,"value":1279},{"type":61,"tag":90,"props":1597,"children":1599},{"className":1598},[],[1600],{"type":66,"value":1601},"DataIntervalStart",{"type":66,"value":1279},{"type":61,"tag":90,"props":1604,"children":1606},{"className":1605},[],[1607],{"type":66,"value":1608},"DataIntervalEnd",{"type":66,"value":1610}," (nil when not sent).",{"type":61,"tag":69,"props":1612,"children":1613},{},[1614,1616,1622,1624,1629,1631,1637,1639,1645,1647,1653],{"type":66,"value":1615},"The accessors are populated from the task's startup details before the body runs. Because ",{"type":61,"tag":90,"props":1617,"children":1619},{"className":1618},[],[1620],{"type":66,"value":1621},"TIRunContext",{"type":66,"value":1623}," embeds ",{"type":61,"tag":90,"props":1625,"children":1627},{"className":1626},[],[1628],{"type":66,"value":760},{"type":66,"value":1630},", pass it straight to client calls and cancellation checks (",{"type":61,"tag":90,"props":1632,"children":1634},{"className":1633},[],[1635],{"type":66,"value":1636},"ctx.Done()",{"type":66,"value":1638},"); declare it as your context parameter by default. In tests, build the argument with ",{"type":61,"tag":90,"props":1640,"children":1642},{"className":1641},[],[1643],{"type":66,"value":1644},"sdk.NewTIRunContext(ctx, ti, dagRun)",{"type":66,"value":1646}," (it panics on a nil ",{"type":61,"tag":90,"props":1648,"children":1650},{"className":1649},[],[1651],{"type":66,"value":1652},"ctx",{"type":66,"value":1654},").",{"type":61,"tag":161,"props":1656,"children":1657},{},[],{"type":61,"tag":165,"props":1659,"children":1661},{"id":1660},"go-specific-pitfalls",[1662],{"type":66,"value":1663},"Go-specific pitfalls",{"type":61,"tag":1509,"props":1665,"children":1666},{},[1667,1704,1725,1749,1766],{"type":61,"tag":1513,"props":1668,"children":1669},{},[1670,1675,1676,1681,1683,1689,1690,1695,1697,1702],{"type":61,"tag":75,"props":1671,"children":1672},{},[1673],{"type":66,"value":1674},"IDs must match the Python stub",{"type":66,"value":1301},{"type":61,"tag":90,"props":1677,"children":1679},{"className":1678},[],[1680],{"type":66,"value":1388},{"type":66,"value":1682}," from ",{"type":61,"tag":90,"props":1684,"children":1686},{"className":1685},[],[1687],{"type":66,"value":1688},"AddDag",{"type":66,"value":1279},{"type":61,"tag":90,"props":1691,"children":1693},{"className":1692},[],[1694],{"type":66,"value":681},{"type":66,"value":1696}," from the registered function name), and the stub's ",{"type":61,"tag":90,"props":1698,"children":1700},{"className":1699},[],[1701],{"type":66,"value":181},{"type":66,"value":1703}," must route to the Go coordinator, or the task is never delivered.",{"type":61,"tag":1513,"props":1705,"children":1706},{},[1707,1717,1719,1724],{"type":61,"tag":75,"props":1708,"children":1709},{},[1710,1715],{"type":61,"tag":90,"props":1711,"children":1713},{"className":1712},[],[1714],{"type":66,"value":697},{"type":66,"value":1716}," is authoritative.",{"type":66,"value":1718}," Do not hand-write the manifest; the packer generates it by running ",{"type":61,"tag":90,"props":1720,"children":1722},{"className":1721},[],[1723],{"type":66,"value":697},{"type":66,"value":383},{"type":61,"tag":1513,"props":1726,"children":1727},{},[1728,1733,1735,1740,1742,1747],{"type":61,"tag":75,"props":1729,"children":1730},{},[1731],{"type":66,"value":1732},"Ask for the narrowest client interface",{"type":66,"value":1734}," you need (",{"type":61,"tag":90,"props":1736,"children":1738},{"className":1737},[],[1739],{"type":66,"value":859},{"type":66,"value":1741}," over ",{"type":61,"tag":90,"props":1743,"children":1745},{"className":1744},[],[1746],{"type":66,"value":842},{"type":66,"value":1748},") for clearer intent and easier fakes.",{"type":61,"tag":1513,"props":1750,"children":1751},{},[1752,1764],{"type":61,"tag":75,"props":1753,"children":1754},{},[1755,1757,1762],{"type":66,"value":1756},"A non-nil ",{"type":61,"tag":90,"props":1758,"children":1760},{"className":1759},[],[1761],{"type":66,"value":921},{"type":66,"value":1763}," return fails the task",{"type":66,"value":1765}," and applies the stub's retries; a recovered panic is also a failure.",{"type":61,"tag":1513,"props":1767,"children":1768},{},[1769,1771,1775],{"type":66,"value":1770},"See ",{"type":61,"tag":75,"props":1772,"children":1773},{},[1774],{"type":66,"value":102},{"type":66,"value":1776}," for the language-agnostic pitfalls (one process per task instance, set queue and retries on the stub).",{"type":61,"tag":161,"props":1778,"children":1779},{},[],{"type":61,"tag":165,"props":1781,"children":1783},{"id":1782},"related-skills",[1784],{"type":66,"value":1785},"Related Skills",{"type":61,"tag":1509,"props":1787,"children":1788},{},[1789,1798,1815,1831],{"type":61,"tag":1513,"props":1790,"children":1791},{},[1792,1796],{"type":61,"tag":75,"props":1793,"children":1794},{},[1795],{"type":66,"value":102},{"type":66,"value":1797},": Shared Python-stub pattern and concepts (read first).",{"type":61,"tag":1513,"props":1799,"children":1800},{},[1801,1805,1807,1813],{"type":61,"tag":75,"props":1802,"children":1803},{},[1804],{"type":66,"value":150},{"type":66,"value":1806},": Build and pack the bundle with ",{"type":61,"tag":90,"props":1808,"children":1810},{"className":1809},[],[1811],{"type":66,"value":1812},"go tool airflow-go-pack",{"type":66,"value":1814},", then deploy it for the coordinator.",{"type":61,"tag":1513,"props":1816,"children":1817},{},[1818,1822,1824,1830],{"type":61,"tag":75,"props":1819,"children":1820},{},[1821],{"type":66,"value":157},{"type":66,"value":1823},": Route the queue to the Go coordinator (",{"type":61,"tag":90,"props":1825,"children":1827},{"className":1826},[],[1828],{"type":66,"value":1829},"ExecutableCoordinator",{"type":66,"value":1654},{"type":61,"tag":1513,"props":1832,"children":1833},{},[1834,1839],{"type":61,"tag":75,"props":1835,"children":1836},{},[1837],{"type":66,"value":1838},"authoring-dags",{"type":66,"value":1840},": General Airflow DAG authoring.",{"type":61,"tag":1842,"props":1843,"children":1844},"style",{},[1845],{"type":66,"value":1846},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":1848,"total":1947},[1849,1863,1875,1891,1905,1922,1935],{"slug":14,"name":14,"fn":1850,"description":1851,"org":1852,"tags":1853,"stars":25,"repoUrl":26,"updatedAt":1862},"manage and troubleshoot Airflow via CLI","Queries, manages, and troubleshoots Apache Airflow using the `af` CLI. Use when working with anything related to Airflow - a DAG, a DAG run, a task log, an import or parse error, a broken DAG, or any Airflow operation. Covers listing and triggering DAGs, retrying runs, reading task logs, diagnosing failures, debugging import and parse errors, checking connections, variables and pools, exploring the REST API, and monitoring health (for example \"trigger a pipeline\", \"retry a run\", \"list connections\", \"check Airflow health\", \"why did my DAG fail\"). This is the entrypoint that routes to sibling skills for authoring, testing, deploying, and migrating Airflow 2 to 3. Not for warehouse\u002FSQL analytics on Airflow metadata tables (use analyzing-data); for deep root-cause reports use debugging-dags or airflow-investigation.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1854,1855,1858,1859],{"name":13,"slug":14,"type":15},{"name":1856,"slug":1857,"type":15},"CLI","cli",{"name":17,"slug":18,"type":15},{"name":1860,"slug":1861,"type":15},"Debugging","debugging","2026-04-06T18:01:43.992997",{"slug":1864,"name":1864,"fn":1865,"description":1866,"org":1867,"tags":1868,"stars":25,"repoUrl":26,"updatedAt":1874},"airflow-hitl","add human-in-the-loop steps to Airflow DAGs","Builds human-in-the-loop (HITL) Airflow workflows - approval gates, form input, and human-driven branching. Use when a DAG needs a human in the loop - an approval or reject step, sign-off before a task runs, a decision or approval UI, branching on a human choice, or collecting form input mid-run; also on mentions of ApprovalOperator, HITLOperator, HITLBranchOperator, HITLEntryOperator, or HITLTrigger. Requires Airflow 3.1+. Not for AI\u002FLLM task calls (see migrating-ai-sdk-to-common-ai).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1869,1870,1873],{"name":13,"slug":14,"type":15},{"name":1871,"slug":1872,"type":15},"Approvals","approvals",{"name":17,"slug":18,"type":15},"2026-04-06T18:01:46.758548",{"slug":1876,"name":1876,"fn":1877,"description":1878,"org":1879,"tags":1880,"stars":25,"repoUrl":26,"updatedAt":1890},"airflow-plugins","build Airflow UI plugins","Builds Airflow 3.1+ plugins that embed FastAPI apps, custom UI pages, React components, middleware, macros, and operator links directly into the Airflow UI. Use when building anything custom inside Airflow 3.1+ that involves Python and a browser-facing interface - creating an Airflow plugin, adding a custom UI page or nav entry, building FastAPI-backed endpoints inside Airflow, serving static assets from a plugin, embedding a React app, adding middleware to the API server, creating custom operator extra links, or calling the Airflow REST API from inside a plugin; also when AirflowPlugin, fastapi_apps, external_views, react_apps, or plugin registration come up.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1881,1882,1885,1887],{"name":13,"slug":14,"type":15},{"name":1883,"slug":1884,"type":15},"Plugin Development","plugin-development",{"name":1886,"slug":195,"type":15},"Python",{"name":1888,"slug":1889,"type":15},"UI Components","ui-components","2026-04-06T18:01:56.827891",{"slug":1892,"name":1892,"fn":1893,"description":1894,"org":1895,"tags":1896,"stars":25,"repoUrl":26,"updatedAt":1904},"airflow-state-store","persist Airflow task and asset state","Persists task and asset state across retries and DAG runs using Airflow 3.3's AIP-103 key\u002Fvalue stores (`task_state_store`, `asset_state_store`) and the crash-safe `ResumableJobMixin`. Use when the user asks about task state store, checkpointing in tasks, persisting state across retries, job IDs surviving worker crashes, watermarks, asset metadata, resumable tasks, crash-safe operators, or \"what's new in Airflow 3.3\". Also use proactively when reading a DAG that uses Variables or XCom for intra-task coordination state — flag the anti-pattern and recommend task_state_store or asset_state_store instead. Requires Airflow 3.3+.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1897,1898,1900,1901],{"name":13,"slug":14,"type":15},{"name":1899,"slug":39,"type":15},"Data Engineering",{"name":17,"slug":18,"type":15},{"name":1902,"slug":1903,"type":15},"Operations","operations","2026-07-07T06:43:11.160671",{"slug":1906,"name":1906,"fn":1907,"description":1908,"org":1909,"tags":1910,"stars":25,"repoUrl":26,"updatedAt":1921},"analyzing-data","query data warehouses for business questions","Queries the data warehouse with SQL and answers business questions about data. Use when answering anything that needs warehouse data - counts, metrics, trends, aggregations, joins across tables, data lookups, or ad-hoc SQL analysis (for example \"who uses X\", \"how many Y\", \"show me Z\", \"find customers\", \"what is the count\").",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1911,1914,1917,1918],{"name":1912,"slug":1913,"type":15},"Analytics","analytics",{"name":1915,"slug":1916,"type":15},"Data Analysis","data-analysis",{"name":1899,"slug":39,"type":15},{"name":1919,"slug":1920,"type":15},"SQL","sql","2026-04-06T18:01:49.599775",{"slug":1923,"name":1923,"fn":1924,"description":1925,"org":1926,"tags":1927,"stars":25,"repoUrl":26,"updatedAt":1934},"annotating-task-lineage","annotate Airflow tasks with data lineage","Annotate Airflow tasks with data lineage using inlets and outlets. Use when the user wants to add lineage metadata to tasks, specify input\u002Foutput datasets, or enable lineage tracking for operators without built-in OpenLineage extraction.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1928,1929,1930,1931],{"name":13,"slug":14,"type":15},{"name":1899,"slug":39,"type":15},{"name":17,"slug":18,"type":15},{"name":1932,"slug":1933,"type":15},"Observability","observability","2026-04-06T18:02:03.487365",{"slug":1838,"name":1838,"fn":1936,"description":1937,"org":1938,"tags":1939,"stars":25,"repoUrl":26,"updatedAt":1946},"author Airflow DAGs","Workflow and best practices for writing Apache Airflow DAGs. Use when creating a new DAG, write pipeline code, handling questions about DAG patterns and conventions or extending an existing DAG with a follow-up\u002Fdownstream task. ANY request shaped like 'add a DAG named X', 'write a pipeline', 'add a task that runs after Y', or 'extend the DAG'. For testing and debugging DAGs, see the testing-dags skill.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1940,1941,1942,1945],{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"name":1943,"slug":1944,"type":15},"ETL","etl",{"name":1886,"slug":195,"type":15},"2026-04-06T18:01:52.679888",34,{"items":1949,"total":1947},[1950,1957,1963,1970,1977,1984,1991,1998,2005,2019,2028,2041],{"slug":14,"name":14,"fn":1850,"description":1851,"org":1951,"tags":1952,"stars":25,"repoUrl":26,"updatedAt":1862},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1953,1954,1955,1956],{"name":13,"slug":14,"type":15},{"name":1856,"slug":1857,"type":15},{"name":17,"slug":18,"type":15},{"name":1860,"slug":1861,"type":15},{"slug":1864,"name":1864,"fn":1865,"description":1866,"org":1958,"tags":1959,"stars":25,"repoUrl":26,"updatedAt":1874},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1960,1961,1962],{"name":13,"slug":14,"type":15},{"name":1871,"slug":1872,"type":15},{"name":17,"slug":18,"type":15},{"slug":1876,"name":1876,"fn":1877,"description":1878,"org":1964,"tags":1965,"stars":25,"repoUrl":26,"updatedAt":1890},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1966,1967,1968,1969],{"name":13,"slug":14,"type":15},{"name":1883,"slug":1884,"type":15},{"name":1886,"slug":195,"type":15},{"name":1888,"slug":1889,"type":15},{"slug":1892,"name":1892,"fn":1893,"description":1894,"org":1971,"tags":1972,"stars":25,"repoUrl":26,"updatedAt":1904},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1973,1974,1975,1976],{"name":13,"slug":14,"type":15},{"name":1899,"slug":39,"type":15},{"name":17,"slug":18,"type":15},{"name":1902,"slug":1903,"type":15},{"slug":1906,"name":1906,"fn":1907,"description":1908,"org":1978,"tags":1979,"stars":25,"repoUrl":26,"updatedAt":1921},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1980,1981,1982,1983],{"name":1912,"slug":1913,"type":15},{"name":1915,"slug":1916,"type":15},{"name":1899,"slug":39,"type":15},{"name":1919,"slug":1920,"type":15},{"slug":1923,"name":1923,"fn":1924,"description":1925,"org":1985,"tags":1986,"stars":25,"repoUrl":26,"updatedAt":1934},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1987,1988,1989,1990],{"name":13,"slug":14,"type":15},{"name":1899,"slug":39,"type":15},{"name":17,"slug":18,"type":15},{"name":1932,"slug":1933,"type":15},{"slug":1838,"name":1838,"fn":1936,"description":1937,"org":1992,"tags":1993,"stars":25,"repoUrl":26,"updatedAt":1946},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1994,1995,1996,1997],{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"name":1943,"slug":1944,"type":15},{"name":1886,"slug":195,"type":15},{"slug":4,"name":4,"fn":5,"description":6,"org":1999,"tags":2000,"stars":25,"repoUrl":26,"updatedAt":27},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2001,2002,2003,2004],{"name":13,"slug":14,"type":15},{"name":20,"slug":21,"type":15},{"name":17,"slug":18,"type":15},{"name":23,"slug":24,"type":15},{"slug":2006,"name":2006,"fn":2007,"description":2008,"org":2009,"tags":2010,"stars":25,"repoUrl":26,"updatedAt":2018},"authoring-java-sdk-tasks","implement Airflow tasks in Java","Writes Airflow task logic in Java, Kotlin, or any JVM language using the Airflow Java SDK. Use when the user wants to implement Airflow tasks in Java\u002FJVM, asks about `@Builder.Dag`\u002F`@Builder.Task`\u002F`@Builder.XCom`, the `Task`\u002F`BundleBuilder` interfaces, reading connections\u002Fvariables\u002FXComs from Java, the JSON-to-Java type mapping, or logging from Java tasks. This skill covers the Java-specific native API; the shared Python-stub pattern and conceptual model live in authoring-language-sdk-tasks. For building\u002Fshipping the bundle see deploying-java-sdk-bundles; for coordinator config see configuring-airflow-language-sdks.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2011,2012,2015],{"name":17,"slug":18,"type":15},{"name":2013,"slug":2014,"type":15},"Engineering","engineering",{"name":2016,"slug":2017,"type":15},"Java","java","2026-07-18T05:48:13.374003",{"slug":102,"name":102,"fn":2020,"description":2021,"org":2022,"tags":2023,"stars":25,"repoUrl":26,"updatedAt":2027},"implement non-Python Airflow tasks","The language-neutral foundation for Airflow language SDKs — implement task logic in a non-Python language while the DAG stays in Python. Use when the user wants to run an Airflow task in another language (Java, Kotlin, Go, or other JVM\u002Fnative languages), asks how the Python `@task.stub` pairs with native task code, how task\u002FDAG IDs must match across the two sides, how data passes via XCom as JSON, or which language SDKs exist. This skill owns the shared Python-stub pattern and conceptual model; for a specific language's native API, build, and runtime, use that language's skill (e.g. authoring-java-sdk-tasks, authoring-go-sdk-tasks).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2024,2025,2026],{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"name":2013,"slug":2014,"type":15},"2026-07-18T05:11:54.496539",{"slug":2029,"name":2029,"fn":2030,"description":2031,"org":2032,"tags":2033,"stars":25,"repoUrl":26,"updatedAt":2040},"blueprint","build reusable Airflow task group templates","Define reusable Airflow task group templates with Pydantic validation and compose DAGs from YAML. Use when creating blueprint templates, composing DAGs from YAML, validating configurations, or enabling no-code DAG authoring for non-engineers.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2034,2035,2036,2037],{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"name":1943,"slug":1944,"type":15},{"name":2038,"slug":2039,"type":15},"Templates","templates","2026-04-06T18:01:45.361425",{"slug":2042,"name":2042,"fn":2043,"description":2044,"org":2045,"tags":2046,"stars":25,"repoUrl":26,"updatedAt":2053},"checking-freshness","check data freshness in warehouses","Quick data freshness check. Use when the user asks if data is up to date, when a table was last updated, if data is stale, or needs to verify data currency before using it.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2047,2048,2049,2052],{"name":13,"slug":14,"type":15},{"name":1899,"slug":39,"type":15},{"name":2050,"slug":2051,"type":15},"Data Quality","data-quality",{"name":1943,"slug":1944,"type":15},"2026-04-06T18:02:02.138565"]