Skip to content

Commit 537e9f0

Browse files
committed
use codegen pypi
1 parent 2470a56 commit 537e9f0

File tree

3 files changed

+33
-11
lines changed

3 files changed

+33
-11
lines changed

codegen-examples/examples/linear_webhooks/pyproject.toml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,4 @@ name = "linear-webhook-example"
33
version = "0.1.0"
44
description = "Linear webhook example for Codegen"
55
requires-python = ">=3.13"
6-
dependencies = [
7-
"modal>=0.73.25",
8-
"codegen",
9-
]
10-
11-
[tool.uv.sources]
12-
codegen = { git = "https://github.com/codegen-sh/codegen-sdk", rev = "rpatel/wip-events-decorator" }
6+
dependencies = ["codegen>=0.14.4", "modal>=0.73.25"]

codegen-examples/examples/linear_webhooks/uv.lock

Lines changed: 31 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codegen-examples/examples/linear_webhooks/webhooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from codegen.extensions.events.app import CodegenApp
44
import modal
55

6-
image = modal.Image.debian_slim(python_version="3.13").apt_install("git").pip_install("fastapi[standard]","codegen>=0.5.30")
6+
image = modal.Image.debian_slim(python_version="3.13").apt_install("git").pip_install("fastapi[standard]","codegen>=0.14.4")
77

88
app = CodegenApp(name="test-linear", modal_api_key="", image=image)
99

0 commit comments

Comments
 (0)