parameters: (self)
docstring: Inits snippets DB manager.
docstring_summary: Inits snippets DB manager.
docstring_tokens: Inits snippets DB manager .
function: def __init__(self):
      """Inits snippets DB manager."""
      # Note: added as a good practice since we use SnippetsDbManager as a base
      # class.
      super(SnippetsDbManager, self).__init__()
  
      # Init database connection.
      self._snippets_db_name = "geendsnippet"
      self._db_user = "geuser"
      postgres_prop = postgres_properties.PostgresProperties()
      self._port = postgres_prop.GetPortNumber()
      self._host = postgres_prop.GetHost()
      self._pass = postgres_prop.GetPassword()
  
      # Create DB connection to gesnippets database.
      self._snippets_db_connection = postgres_manager.PostgresConnection(
          self._snippets_db_name, self._db_user, self._host, self._port, self._pass, logger)
function_tokens: def __init__ ( self ) : # Note: added as a good practice since we use SnippetsDbManager as a base # class. super ( SnippetsDbManager , self ) . __init__ ( ) # Init database connection. self . _snippets_db_name = "geendsnippet" self . _db_user = "geuser" postgres_prop = postgres_properties . PostgresProperties ( ) self . _port = postgres_prop . GetPortNumber ( ) self . _host = postgres_prop . GetHost ( ) self . _pass = postgres_prop . GetPassword ( ) # Create DB connection to gesnippets database. self . _snippets_db_connection = postgres_manager . PostgresConnection ( self . _snippets_db_name , self . _db_user , self . _host , self . _port , self . _pass , logger )