parameters: (self)
docstring: Opt-in to all collections; Update db with the currently available collections in the module
docstring_summary: Opt-in to all collections; Update db with the currently available collections in the module
docstring_tokens: Opt - in to all collections ; Update db with the currently available collections in the module
function: def opt_in_all_collections(self) -> None:
          """
          Opt-in to all collections; Update db with the currently available collections in the module
          """
          if self.db_collection is None:
              raise RuntimeError('db_collection is None after initial setting')
  
          for c in MODULE_COLLECTION:
              if c['name'].name not in self.db_collection:
                  self.db_collection.append(c['name'])
  
          self.set_store('collection', json.dumps(self.db_collection))
function_tokens: def opt_in_all_collections ( self ) -> None : if self . db_collection is None : raise RuntimeError ( 'db_collection is None after initial setting' ) for c in MODULE_COLLECTION : if c [ 'name' ] . name not in self . db_collection : self . db_collection . append ( c [ 'name' ] ) self . set_store ( 'collection' , json . dumps ( self . db_collection ) )