Module Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias Import alias Import alias Import alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults kwarg body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr 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 Assign SubscriptStore NameLoad Index Str Dict If BoolOpAnd CompareEq NameLoad Str CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If BoolOpAnd CompareLtE Call NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num CompareLtE Call NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num body If AttributeLoad NameLoad attr body If CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareIn NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body If CompareIn NameLoad AttributeLoad NameLoad attr body Return NameLoad Return NameLoad orelse Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str BinOpAdd Str NameLoad Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad keyword AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword Dict Str NameLoad ExceptHandler body Expr Call AttributeLoad NameLoad attr keyword Dict Str Str Str Str NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If BoolOpAnd CompareIn Str Call AttributeLoad AttributeLoad NameLoad attr attr CompareIn Str Call AttributeLoad AttributeLoad NameLoad attr attr CompareIn Str Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num Assign NameStore AttributeLoad NameLoad attr orelse If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd NameLoad NameLoad NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Return Str If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad UnaryOpNot NameLoad body Assign NameStore Str Assign NameStore Str Assign NameStore Str If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore SubscriptLoad NameLoad Slice Num If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr If BoolOpAnd CompareNotIn Str AttributeLoad NameLoad attr CompareNotIn Str AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Num Return Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A engine twisted.python log twisted.web resource server endpoint.healthcheck healthcheck errors NoDataInS3Error N/A settings N/A logging N/A utils BobRossEndpoint N/A N/A resource Resource N/A N/A isLeaf True N/A engine N/A N/A engine BobRossEngine _process_image N/A N/A self image_path width height mode N/A kwargs N/A N/A  Adds a new image to the resizer engine. Will return deferred  N/A N/A settings DEBUG N/A N/A N/A N/A log msg N/A Received new image, url:%s, w:%s, h:%s, m:%s kw:%s N/A image_path width height mode kwargs logLevel N/A logging DEBUG 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 payload N/A timers N/A 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 N/A BobRossEndpoint engine process_image payload kwargs N/A _check_allowed_size N/A N/A self width height mode N/A N/A N/A  Check if requested size is in settings  N/A N/A N/A N/A int width N/A N/A settings MAX_SIZE N/A 0 N/A N/A int height N/A N/A settings MAX_SIZE N/A 1 N/A N/A N/A settings USE_WHITELIST N/A N/A N/A width N/A N/A N/A settings IMAGE_WHITELIST keys N/A N/A N/A height N/A N/A settings IMAGE_WHITELIST N/A width N/A N/A N/A mode N/A settings ALLOWED_MODES N/A N/A True N/A False N/A N/A True N/A N/A False N/A render_GET N/A N/A self request N/A N/A N/A  Handle GET request to server  on_finish N/A N/A file_path request N/A N/A N/A  When image has been placed in cache, tell nginx where to serve from  N/A N/A settings DEBUG N/A N/A N/A N/A log msg N/A Header Info: %s file_path logLevel N/A logging DEBUG N/A N/A N/A request setHeader X-Accel-Redirect N/A / file_path N/A N/A N/A request setHeader Content-Type image/jpeg N/A N/A N/A request finish N/A on_error N/A N/A data N/A N/A N/A N/A settings DEBUG N/A N/A N/A N/A log msg N/A Error: %s data logLevel N/A logging DEBUG N/A N/A N/A N/A N/A data raiseException N/A N/A N/A NoDataInS3Error N/A N/A N/A N/A utils capture_warning No Data in S3 Key extra N/A key image_path N/A N/A N/A N/A N/A utils capture_exception extra N/A key width height mode image_path width height mode N/A N/A N/A request setResponseCode 403 N/A N/A N/A request finish N/A N/A width None N/A height None N/A mode None N/A image_path None N/A N/A N/A request path N/A request args N/A N/A N/A N/A width N/A N/A N/A request args keys N/A height N/A N/A N/A request args keys N/A mode N/A N/A N/A request args keys N/A N/A width N/A N/A N/A N/A request args pop width N/A 0 N/A height N/A N/A N/A N/A request args pop height N/A 0 N/A mode N/A N/A N/A N/A request args pop mode N/A 0 N/A image_path N/A request path N/A N/A N/A request path N/A N/A image_path N/A request path N/A N/A width height mode N/A N/A N/A self _check_allowed_size width height mode N/A N/A N/A settings DEBUG N/A N/A N/A N/A log msg N/A Size isn't white listed: (%s, %s) N/A width height logLevel N/A logging DEBUG N/A N/A N/A request setResponseCode 403 N/A N/A N/A N/A width N/A height N/A mode N/A N/A width -1 N/A height -1 N/A mode resize N/A N/A N/A image_path N/A 0 / N/A N/A image_path N/A image_path N/A 1 N/A N/A N/A request path N/A settings HEALTH_CHECK_PATH N/A N/A N/A healthcheck request N/A BobRossEndpoint engine N/A N/A server NOT_DONE_YET N/A N/A N/A .jpeg N/A request path N/A .jpg N/A request path N/A N/A N/A N/A request setResponseCode 403 N/A N/A d N/A N/A self _process_image image_path width height mode N/A request args N/A N/A N/A d addCallback on_finish request N/A N/A N/A d addErrback on_error N/A N/A server NOT_DONE_YET N/A N/A