# fiftyone.server.extensions¶

FiftyOne Server extensions

Classes:

 EndSession(*, execution_context)
class fiftyone.server.extensions.EndSession(*, execution_context: strawberry.types.execution.ExecutionContext)

Bases: strawberry.extensions.base_extension.Extension

Attributes:

Methods:

 This method is called after the executing step This method is called before the execution step This method is called after the parsing step This method is called before the parsing step This method is called when a GraphQL request ends This method is called when a GraphQL request starts This method is called after the validation step This method is called before the validation step resolve(_next, root, info, *args, **kwargs)
async on_request_end() → Optional[Awaitable[None]]

This method is called when a GraphQL request ends

execution_context = None
get_results() → Union[Awaitable[Dict[str, Any]], Dict[str, Any]]
on_executing_end() → Optional[Awaitable[None]]

This method is called after the executing step

on_executing_start() → Optional[Awaitable[None]]

This method is called before the execution step

on_parsing_end() → Optional[Awaitable[None]]

This method is called after the parsing step

on_parsing_start() → Optional[Awaitable[None]]

This method is called before the parsing step

on_request_start() → Optional[Awaitable[None]]

This method is called when a GraphQL request starts

on_validation_end() → Optional[Awaitable[None]]

This method is called after the validation step

on_validation_start() → Optional[Awaitable[None]]

This method is called before the validation step

resolve(_next, root, info: strawberry.types.info.Info, *args, **kwargs) → Union[Awaitable[object], object]