matanya
11/19/2024, 4:34 PMbotocore.exceptions.NoCredentialsError: Unable to locate credentials
on the API, which means that my API is trying to get stuff from S3 directly. Shouldn't I just be getting the data from the prefect API? Am I using this wrong? Here is a minimal example of the API functionality:
class TranscribeService(AbstractTranscribeService):
def transcribe(self, audio_link: str) -> TranscribeResponse:
flow = run_deployment(
name="engine/transcribe", parameters={"audio_link": audio_link}
)
raise_state_exception(flow.state)
result = flow.state.result(raise_on_failure=True)
return TranscribeResponse(result)
matanya
11/19/2024, 4:44 PMmatanya
11/19/2024, 5:03 PMMarvin
11/19/2024, 5:03 PM