@@ -473,7 +473,7 @@ async def get_boolean_value(
473473 default_value : bool ,
474474 evaluation_context : typing .Optional [EvaluationContext ] = None ,
475475 flag_evaluation_options : typing .Optional [FlagEvaluationOptions ] = None ,
476- ) -> bool :
476+ ) -> typing . Coroutine [ typing . Any , typing . Any , bool ] :
477477 details = await self .get_boolean_details (
478478 flag_key ,
479479 default_value ,
@@ -488,7 +488,7 @@ async def get_boolean_details(
488488 default_value : bool ,
489489 evaluation_context : typing .Optional [EvaluationContext ] = None ,
490490 flag_evaluation_options : typing .Optional [FlagEvaluationOptions ] = None ,
491- ) -> FlagEvaluationDetails [bool ]:
491+ ) -> typing . Coroutine [ typing . Any , typing . Any , FlagEvaluationDetails [bool ] ]:
492492 return await self .evaluate_flag_details (
493493 FlagType .BOOLEAN ,
494494 flag_key ,
@@ -503,7 +503,7 @@ async def get_string_value(
503503 default_value : str ,
504504 evaluation_context : typing .Optional [EvaluationContext ] = None ,
505505 flag_evaluation_options : typing .Optional [FlagEvaluationOptions ] = None ,
506- ) -> str :
506+ ) -> typing . Coroutine [ typing . Any , typing . Any , str ] :
507507 details = await self .get_string_details (
508508 flag_key ,
509509 default_value ,
@@ -518,7 +518,7 @@ async def get_string_details(
518518 default_value : str ,
519519 evaluation_context : typing .Optional [EvaluationContext ] = None ,
520520 flag_evaluation_options : typing .Optional [FlagEvaluationOptions ] = None ,
521- ) -> FlagEvaluationDetails [str ]:
521+ ) -> typing . Coroutine [ typing . Any , typing . Any , FlagEvaluationDetails [str ] ]:
522522 return await self .evaluate_flag_details (
523523 FlagType .STRING ,
524524 flag_key ,
@@ -533,7 +533,7 @@ async def get_integer_value(
533533 default_value : int ,
534534 evaluation_context : typing .Optional [EvaluationContext ] = None ,
535535 flag_evaluation_options : typing .Optional [FlagEvaluationOptions ] = None ,
536- ) -> int :
536+ ) -> typing . Coroutine [ typing . Any , typing . Any , int ] :
537537 details = await self .get_integer_details (
538538 flag_key ,
539539 default_value ,
@@ -548,7 +548,7 @@ async def get_integer_details(
548548 default_value : int ,
549549 evaluation_context : typing .Optional [EvaluationContext ] = None ,
550550 flag_evaluation_options : typing .Optional [FlagEvaluationOptions ] = None ,
551- ) -> FlagEvaluationDetails [int ]:
551+ ) -> typing . Coroutine [ typing . Any , typing . Any , FlagEvaluationDetails [int ] ]:
552552 return await self .evaluate_flag_details (
553553 FlagType .INTEGER ,
554554 flag_key ,
@@ -563,7 +563,7 @@ async def get_float_value(
563563 default_value : float ,
564564 evaluation_context : typing .Optional [EvaluationContext ] = None ,
565565 flag_evaluation_options : typing .Optional [FlagEvaluationOptions ] = None ,
566- ) -> float :
566+ ) -> typing . Coroutine [ typing . Any , typing . Any , float ] :
567567 details = await self .get_float_details (
568568 flag_key ,
569569 default_value ,
@@ -578,7 +578,7 @@ async def get_float_details(
578578 default_value : float ,
579579 evaluation_context : typing .Optional [EvaluationContext ] = None ,
580580 flag_evaluation_options : typing .Optional [FlagEvaluationOptions ] = None ,
581- ) -> FlagEvaluationDetails [float ]:
581+ ) -> typing . Coroutine [ typing . Any , typing . Any , FlagEvaluationDetails [float ] ]:
582582 return await self .evaluate_flag_details (
583583 FlagType .FLOAT ,
584584 flag_key ,
@@ -593,7 +593,7 @@ async def get_object_value(
593593 default_value : typing .Union [dict , list ],
594594 evaluation_context : typing .Optional [EvaluationContext ] = None ,
595595 flag_evaluation_options : typing .Optional [FlagEvaluationOptions ] = None ,
596- ) -> typing .Union [dict , list ]:
596+ ) -> typing .Coroutine [ typing . Any , typing . Any , typing . Union [dict , list ] ]:
597597 details = await self .get_object_details (
598598 flag_key ,
599599 default_value ,
@@ -608,7 +608,9 @@ async def get_object_details(
608608 default_value : typing .Union [dict , list ],
609609 evaluation_context : typing .Optional [EvaluationContext ] = None ,
610610 flag_evaluation_options : typing .Optional [FlagEvaluationOptions ] = None ,
611- ) -> FlagEvaluationDetails [typing .Union [dict , list ]]:
611+ ) -> typing .Coroutine [
612+ typing .Any , typing .Any , FlagEvaluationDetails [typing .Union [dict , list ]]
613+ ]:
612614 return await self .evaluate_flag_details (
613615 FlagType .OBJECT ,
614616 flag_key ,
@@ -624,7 +626,7 @@ async def evaluate_flag_details( # noqa: PLR0915
624626 default_value : typing .Any ,
625627 evaluation_context : typing .Optional [EvaluationContext ] = None ,
626628 flag_evaluation_options : typing .Optional [FlagEvaluationOptions ] = None ,
627- ) -> FlagEvaluationDetails [typing .Any ]:
629+ ) -> typing . Coroutine [ typing . Any , typing . Any , FlagEvaluationDetails [typing .Any ] ]:
628630 """
629631 Evaluate the flag requested by the user from the clients provider.
630632
@@ -770,7 +772,7 @@ async def _create_provider_evaluation(
770772 flag_key : str ,
771773 default_value : typing .Any ,
772774 evaluation_context : typing .Optional [EvaluationContext ] = None ,
773- ) -> FlagEvaluationDetails [typing .Any ]:
775+ ) -> typing . Coroutine [ typing . Any , typing . Any , FlagEvaluationDetails [typing .Any ] ]:
774776 """
775777 Asynchronous encapsulated method to create a FlagEvaluationDetail from a specific provider.
776778
0 commit comments