# Set default timeout for all requestsclient = RebaseDashboardClient( api_key="YOUR_API_KEY", timeout=30.0 # 30 seconds)# Override timeout for specific requestsdashboard = client.dashboards.create_dashboard( name="Quick Dashboard", request_options={"timeout_in_seconds": 5})
# Get raw response with headersresponse = client.dashboards.with_raw_response.create_dashboard( name="Raw Response Test")print(f"Status: {response.status_code}")print(f"Headers: {response.headers}")print(f"Data: {response.data}")