API

This part of the documentation documents all the public classes, functions, and API details in flask-simple. This documentation is auto generated, and is always a good up-to-date reference.

Configuration

class flask.ext.simple.manager.Simple(app=None)[source]

SimpleDB wrapper for Flask.

init_app(app)[source]

Initialize this extension.

Parameters:app (obj) – The Flask application.
init_settings()[source]

Initialize all of the extension settings.

check_settings()[source]

Check all user-specified settings to ensure they’re correct.

We’ll raise an error if something isn’t configured properly.

Raises:ConfigurationError
connection[source]

Our SimpleDB connection.

This will be lazily created if this is the first time this is being accessed. This connection is reused for performance.

domains[source]

Our SimpleDB domains.

These will be lazily initializes if this is the first time the tables are being accessed.

create_all()[source]

Create all user-specified SimpleDB domains.

We’ll error out if the domains can’t be created for some reason.

destroy_all()[source]

Destroy all user-specified SimpleDB domains.

We’ll error out if the domains can’t be destroyed for some reason.

Errors

class flask.ext.simple.errors.ConfigurationError[source]

This exception is raised if the user hasn’t properly configured Flask-Simple.

Table Of Contents

Related Topics

This Page