class_docstr: The SQLStorageAdapter allows ChatterBot to store conversation
  data in any database supported by the SQL Alchemy ORM.
  
  All parameters are optional, by default a sqlite database is used.
  
  It will check if tables are present, if they are not, it will attempt
  to create the required tables.
  
  :keyword database_uri: eg: sqlite:///database_test.sqlite3',
      The database_uri can be specified to choose database driver.
  :type database_uri: str
class_docstr_tok: ["The","SQLStorageAdapter","allows","ChatterBot","to","store","conversation","data","in","any","database","supported","by","the","SQL","Alchemy","ORM",".","All","parameters","are","optional",",","by","default","a","sqlite","database","is","used",".","It","will","check","if","tables","are","present",",","if","they","are","not",",","it","will","attempt","to","create","the","required","tables",".",":","keyword","database_uri",":","eg",":","sqlite",":","\/\/\/database_test.sqlite3","'",",","The","database_uri","can","be","specified","to","choose","database","driver",".",":","type","database_uri",":","str"]
code: def model_to_object(self, statement):
      from chatterbot.conversation import Statement as StatementObject
  
      return StatementObject(**statement.serialize())
  
file_path: ChatterBot/chatterbot/storage/sql_storage.py
imports: from chatterbot.storage import StorageAdapter
label_desc: Use image node_id 4 for calling the SQLStorageAdapter obj's underlying member method code with example usage: obj.model_to_object(statement) and returns: StatementObject