@@ -144,7 +144,7 @@ def _exception_for_4xx_status(
144144 except ValueError :
145145 return HTTPError (
146146 f"Received a { status } error but it did not "
147- + f"include the expected JSON body: { raw_body } " ,
147+ f"include the expected JSON body: { raw_body } " ,
148148 status ,
149149 uri ,
150150 raw_body ,
@@ -288,7 +288,7 @@ async def factors(
288288 InvalidRequestError, HTTPError, MinFraudError,
289289 """
290290 return cast (
291- Factors ,
291+ " Factors" ,
292292 await self ._response_for (
293293 self ._factors_uri ,
294294 partial (Factors , self ._locales ),
@@ -327,7 +327,7 @@ async def insights(
327327 InvalidRequestError, HTTPError, MinFraudError,
328328 """
329329 return cast (
330- Insights ,
330+ " Insights" ,
331331 await self ._response_for (
332332 self ._insights_uri ,
333333 partial (Insights , self ._locales ),
@@ -366,7 +366,7 @@ async def score(
366366 InvalidRequestError, HTTPError, MinFraudError,
367367 """
368368 return cast (
369- Score ,
369+ " Score" ,
370370 await self ._response_for (
371371 self ._score_uri ,
372372 Score ,
@@ -546,7 +546,7 @@ def factors(
546546 InvalidRequestError, HTTPError, MinFraudError,
547547 """
548548 return cast (
549- Factors ,
549+ " Factors" ,
550550 self ._response_for (
551551 self ._factors_uri ,
552552 partial (Factors , self ._locales ),
@@ -585,7 +585,7 @@ def insights(
585585 InvalidRequestError, HTTPError, MinFraudError,
586586 """
587587 return cast (
588- Insights ,
588+ " Insights" ,
589589 self ._response_for (
590590 self ._insights_uri ,
591591 partial (Insights , self ._locales ),
@@ -624,7 +624,7 @@ def score(
624624 InvalidRequestError, HTTPError, MinFraudError,
625625 """
626626 return cast (
627- Score ,
627+ " Score" ,
628628 self ._response_for (
629629 self ._score_uri ,
630630 Score ,
0 commit comments