API

class nuclio.Context(logger=None, platform=None, worker_id=None, trigger_name=None)[source]

Wrapper around nuclio_sdk.Context to make automatically create logger

class nuclio.Event(body=None, content_type=None, trigger=None, fields=None, headers=None, _id=None, method=None, path=None, size=None, timestamp=None, url=None, _type=None, type_version=None, version=None)[source]
static decode_body(body, content_type)[source]

Decode event body

static from_json(data)[source]

Decode event encoded as JSON by processor

nuclio.print_handler_code(notebook_file=None)[source]

Prints handler code (as it was exported).

You should save the notebook before calling this function.