Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 8dc07ff

Browse files
authored
Apply suggestions from code review
1 parent e3d5585 commit 8dc07ff

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/guides/python/podcast-transcription.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ from nitric.resources import BucketNotificationContext
102102
from nitric.context import HttpContext
103103

104104
readable_transcript_bucket = transcript_bucket.allow("read")
105+
writable_podcast_bucket = podcast_bucket.allow("write")
105106
submittable_transcribe_job = transcribe_job.allow("submit")
106107

107108
# Get a podcast transcript from the bucket
@@ -333,12 +334,12 @@ Finally, we can update the project file to point our batch job to our new docker
333334
name: podcast-transcription
334335
services:
335336
- match: services/*.py
336-
start: uv run watchmedo auto-restart -p *.py --no-restart-on-command-exit -R python -- -u $SERVICE_PATH
337+
start: uv run watchmedo auto-restart -p *.py --no-restart-on-command-exit -R uv run $SERVICE_PATH
337338
runtime: python
338339

339340
batch-services:
340341
- match: batches/*.py
341-
start: uv run watchmedo auto-restart -p *.py --no-restart-on-command-exit -R python -- -u $SERVICE_PATH
342+
start: uv run watchmedo auto-restart -p *.py --no-restart-on-command-exit -R uv run $SERVICE_PATH
342343
runtime: transcribe
343344

344345
runtimes:

0 commit comments

Comments
 (0)