kudubot.db package

Submodules

kudubot.db.Address module

class kudubot.db.Address.Address(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base

SQLAlchemy table that stores addresses

__init__(**kwargs)

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in kwargs.

Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.

address

The address itself

id

The ID of the address

Module contents