http://git.arav.i2p/Arav/PiggyBank/src/commit/ba0a442d07e7ef3f42b9a0aa27aeb82f66a56a7b/piggybank/configuration.py
Overrides existing. """ with open ( path , ' w ' , encoding = ' utf8 ' ) as cf : cf . write ( DEFAULT_CONFIGURATION_FILE_CONTENT ) @property def items ( self ) - > dict : return self . _configuration def __getitem__ ( self , key : str ) - > Union [ int , str , bool ] : return self . _configuration [ key ] def __setitem__ ( self , key : str , value : Union [ int , str , bool ] ) - > None : self .