ApolloTracingExtension
Constructor:
Signature:
def __init__(self, execution_context: ExecutionContext) -> None: ...Parameters:
-
execution_context:- Type
-
ExecutionContext
Methods:
-
on_operation
Signature:
def on_operation(self) -> Generator[None, None, None]:... -
on_parse
Signature:
def on_parse(self) -> Generator[None, None, None]:... -
on_validate
Signature:
def on_validate(self) -> Generator[None, None, None]:... -
now
Signature:
def now(self) -> int:... -
get_results
Signature:
def get_results(self) -> Dict[str, Dict[str, Any]]:... -
resolve
Signature:
def resolve(self,_next: Callable,root: Any,info: GraphQLResolveInfo,args: str = (),kwargs: Any = {},) -> Any:...Parameters:
-
_next:- Type
-
Callable
-
root:- Type
-
Any
-
info:- Type
-
GraphQLResolveInfo
-
args:- Type
-
str - Default
-
()
-
kwargs:- Type
-
Any - Default
-
{}
-
Attributes:
-
execution_context: -
stats:- Type
-
ApolloTracingStats