fictive.heap.ext.flask package

Module contents

Flask extension around the Heap API client

class fictive.heap.ext.flask.Heap(app=None, *args, **kwargs)[source]

Bases: fictive.flask.extension.AbstractFlaskExtension

Flask extension around the Heap API client

CONFIG_KEY = 'HEAP'
EXTENSION_KEY = 'heap'
classmethod get_client(app, *args, **kwargs)[source]

Create a client instance based on the app config