class documentation

class YamlWordsRealm(InMemoryWordsRealm): (source)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method addGroup adds a group
Method addUser adds a user to userlist
Method load loads the userlist from a yaml file
Method requestAvatar Undocumented
Method requestAvatarId Undocumented
Method save writes the userlist to a yaml file
Method userFactory create a new User
Class Variable credentialInterfaces Undocumented
Instance Variable file Undocumented
Instance Variable groups Undocumented
Instance Variable users Undocumented
Method _checkpw Undocumented
def __init__(self, name, file): (source)

Undocumented

def addGroup(self, group): (source)

adds a group

def addUser(self, user): (source)

adds a user to userlist

def load(self): (source)

loads the userlist from a yaml file

def requestAvatar(self, avatarId, mind, *interfaces): (source)

Undocumented

def requestAvatarId(self, creds): (source)

Undocumented

def save(self): (source)

writes the userlist to a yaml file

def userFactory(self, name): (source)

create a new User

Parameters
name:stringthe name of the new user
Returns
a BotUser object
credentialInterfaces = (source)

Undocumented

Undocumented

Undocumented

Undocumented

def _checkpw(self, user, creds): (source)

Undocumented