Module ImportFrom alias Import alias FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults kwarg body Expr Str Assign NameStore Dict Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad If BoolOpAnd CompareEq NameLoad Str CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore NameLoad body If UnaryOpNot SubscriptLoad NameLoad Index Num body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Return Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr decorator_list Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListComp Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list
N/A twisted.internet defer N/A settings _healthcheck_process_image N/A N/A engine image_path width height mode N/A kwargs N/A N/A  Build a payload for a healthcheck  N/A payload N/A N/A N/A payload N/A image_path image_path N/A N/A payload N/A width width N/A N/A payload N/A height height N/A N/A payload N/A mode mode N/A N/A N/A width -1 N/A height -1 N/A N/A N/A payload N/A skip_resize True N/A N/A N/A engine health_check_image payload kwargs N/A healthcheck N/A N/A request engine N/A N/A N/A  Handles the health check process.
        This puts a predefined image through the pipeline for each mode, ensures there
        is no error, and ensures the sizes are expected
     on_health_finish N/A N/A data request N/A N/A N/A  Result of health check. Res is a TextTestResult object  N/A res data N/A N/A N/A N/A res N/A 0 N/A N/A N/A N/A request setResponseCode 500 N/A N/A N/A request finish N/A N/A N/A N/A request write OK N/A N/A N/A request setResponseCode 200 N/A N/A N/A request finish N/A N/A width N/A settings HEALTH_CHECK_IMAGE_WIDTH N/A height N/A settings HEALTH_CHECK_IMAGE_HEIGHT N/A image_path N/A settings HEALTH_CHECK_IMAGE_PATH N/A modes N/A settings ALLOWED_MODES N/A dfd N/A N/A defer DeferredList N/A N/A _healthcheck_process_image engine image_path width height m N/A request args N/A m modes N/A N/A N/A dfd addBoth on_health_finish request N/A