trigger.core.database

Class to handle the database/settings

Classes

Database

dict() -> new empty dictionary

RecentSessions

Built-in mutable sequence.

UserSettings

Module Contents

class Database

Bases: dict

dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s

(key, value) pairs

dict(iterable) -> new dictionary initialized as if via:

d = {} for k, v in iterable:

d[k] = v

dict(**kwargs) -> new dictionary initialized with the name=value pairs

in the keyword argument list. For example: dict(one=1, two=2)

class RecentSessions

Bases: list

Built-in mutable sequence.

If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.

add(new_path)
handler
class UserSettings

Bases: object

apply()
is_changed()
compareData
handler