Skip to content

Commit 155eed7

Browse files
authored
chore: fix incorrect examples (#88)
1 parent 09f907b commit 155eed7

3 files changed

Lines changed: 2 additions & 5 deletions

File tree

04-query-d1/wrangler.jsonc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
"compatibility_flags": [
77
"python_workers"
88
],
9-
"ai": {
10-
"binding": "AI"
11-
},
129
"d1_databases": [
1310
{
1411
"binding": "DB", // i.e. available in your Worker on env.DB

08-cron/src/entry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
class Default(WorkerEntrypoint):
55
# runs based on "triggers" in wrangler config
6-
async def scheduled(self, controller):
6+
async def scheduled(self, controller, env, ctx):
77
print("Scheduled task has been executed.")
88

99
async def fetch(self):

10-workflows/wrangler.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "node_modules/wrangler/config-schema.json",
3-
"name": "python-cron",
3+
"name": "python-workflows",
44
"main": "src/entry.py",
55
"compatibility_date": "2025-11-02",
66
"compatibility_flags": [

0 commit comments

Comments
 (0)