Module Expr Str Import alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Str FunctionDef arguments args NameParam defaults body Return Call NameLoad BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad BinOpMod Str Call NameLoad Call AttributeLoad NameLoad attr decorator_list Expr Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Import alias Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad Str NameLoad keyword NameLoad keyword NameLoad Expr Call NameLoad Str NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad keyword NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad Str decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad Str decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad
N/A N/A 
Database module.

The module is based on Twistar (http://findingscience.com/twistar/), which is an ORM.

Only supported database is PostgreSQL for now.

Author: Henrik Thostrup Jensen <htj@nordu.net>
Copyright: NORDUnet (2011-2013)
 N/A datetime twisted.enterprise adbapi psycopg2.extensions adapt register_adapter AsIs psycopg2.extras CompositeCaster register_composite twistar.registry Registry twistar.dbobject DBObject opennsa nsa opennsa.ext.iso8601 iso8601 N/A LOG_SYSTEM opennsa.Database adaptLabel N/A N/A label N/A N/A N/A N/A AsIs N/A (%s, %s)::label N/A N/A adapt N/A label type_ N/A adapt N/A N/A label labelValue N/A adaptSecuritAttribute N/A N/A label N/A N/A N/A N/A AsIs N/A (%s, %s)::security_attribute N/A N/A adapt N/A label type_ N/A adapt N/A label value N/A adaptDatetime N/A N/A dt N/A N/A N/A N/A AsIs N/A %s N/A adapt N/A N/A dt isoformat N/A N/A N/A register_adapter N/A nsa Label adaptLabel N/A N/A register_adapter N/A nsa SecurityAttribute adaptSecuritAttribute N/A N/A register_adapter N/A datetime datetime adaptDatetime LabelComposite N/A CompositeCaster N/A make N/A N/A self values N/A N/A N/A N/A N/A nsa Label values N/A N/A SecuritAttributeComposite N/A CompositeCaster N/A make N/A N/A self values N/A N/A N/A N/A N/A nsa SecurityAttribute values N/A N/A castDatetime N/A N/A value cur N/A N/A N/A N/A N/A iso8601 parse value N/A setupDatabase N/A N/A database user password N/A None N/A N/A psycopg2 N/A conn N/A N/A psycopg2 connect user user password password database database N/A cur N/A N/A conn cursor N/A N/A register_composite label cur globally True factory LabelComposite N/A N/A register_composite security_attribute cur globally True factory SecuritAttributeComposite N/A N/A N/A cur execute SELECT oid FROM pg_type WHERE typname = 'timestamptz'; N/A timestamptz_oid N/A N/A N/A cur fetchone N/A 0 N/A DT N/A N/A N/A psycopg2 extensions new_type N/A timestamptz_oid timestamptz castDatetime N/A N/A N/A N/A psycopg2 extensions register_type DT N/A N/A N/A conn close N/A N/A Registry DBPOOL N/A N/A adbapi ConnectionPool psycopg2 user user password password database database N/A ServiceConnection N/A DBObject N/A N/A HASMANY N/A SubConnections N/A SubConnection N/A DBObject N/A N/A BELONGSTO N/A ServiceConnection N/A N/A N/A N/A Registry register ServiceConnection SubConnection