Quiz 10 Question 19 of 20

A developer is using the Anthropic SDK and wants to implement a timeout so that API calls that take longer than 30 seconds raise an exception rather than blocking indefinitely. The team is using the Python SDK. What is the correct approach?

Select an answer to reveal the explanation.

Motivation