Module ImportFrom alias Import alias Import alias ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults Str body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list If AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call NameLoad BinOpMod Str TupleLoad NameLoad Call AttributeLoad Call NameLoad NameLoad attr Str Str Expr Call NameLoad Str For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str NameLoad For TupleStore NameStore NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr body If CompareEq NameLoad Str body Continue If BoolOpOr CompareIsNot NameLoad NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Str attr TupleLoad NameLoad Call AttributeLoad Call NameLoad NameLoad attr Str Str Expr Call NameLoad BinOpMod Str NameLoad Expr Call NameLoad Str Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If BoolOpAnd CompareIn Str AttributeLoad NameLoad attr Call NameLoad NameLoad Str NameLoad body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad ListLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Str body Assign NameStore Call NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list NameLoad decorator_list
N/A ConfigParser SafeConfigParser N/A re N/A os Config N/A SafeConfigParser N/A N/A OPTCRE N/A N/A re compile \s?(?P<option>[^:=\s][^:=]*)\s*(?P<vi>[:=])\s*(?P<value>.*)$ N/A ini_name openaps.ini set_ini_path N/A N/A self ini_path N/A openaps.ini N/A N/A N/A self ini_name ini_path N/A save N/A N/A self N/A N/A N/A N/A open N/A self ini_name wb configfile N/A N/A N/A N/A self write configfile N/A fmt N/A N/A self N/A N/A N/A Write an .ini-format representation of the configuration state. N/A lines N/A write N/A N/A line N/A N/A N/A N/A N/A lines append line N/A N/A N/A self _defaults N/A N/A N/A write N/A [%s]
 DEFAULTSECT N/A N/A key value N/A N/A N/A self _defaults items N/A N/A N/A write N/A %s = %s
 N/A key N/A N/A N/A str value replace N/A N/A write N/A section N/A self _sections N/A N/A N/A write N/A [%s]
 section N/A N/A key value N/A N/A N/A N/A self _sections N/A section items N/A N/A N/A key __name__ N/A N/A N/A N/A N/A value None N/A N/A self _optcre N/A self OPTCRE N/A N/A key N/A N/A  =  join N/A key N/A N/A N/A str value replace N/A N/A write N/A %s
 key N/A N/A write N/A N/A N/A join lines N/A add_device N/A N/A self device N/A N/A N/A section N/A N/A device section_name N/A N/A N/A self add_section section N/A N/A k v N/A N/A device items N/A N/A N/A N/A self set section k v N/A N/A N/A extra N/A device fields N/A getattr device extra None N/A N/A extra N/A Config N/A N/A N/A extra set_ini_path N/A N/A device fields N/A extra N/A N/A N/A extra add_section section N/A N/A k v N/A N/A N/A device extra items N/A N/A N/A N/A extra set section k v N/A N/A N/A extra save N/A remove_device N/A N/A self device N/A N/A N/A section N/A N/A device section_name N/A N/A N/A self remove_section section N/A Read N/A N/A klass name defaults N/A None N/A /etc/openaps/openaps.ini N/A N/A N/A os path expanduser ~/.openaps.ini openaps.ini N/A N/A config N/A Config N/A name N/A N/A N/A N/A config set_ini_path name N/A N/A N/A config read name N/A N/A N/A N/A config set_ini_path openaps.ini N/A N/A N/A config read defaults N/A config N/A classmethod N/A