ramp_database.utils.session_scope¶
- 
ramp_database.utils.session_scope(config)¶
- Connect to a database and provide a session to make some operation. - Parameters
- configdict
- Configuration file containing the information to connect to the dataset. If you are using the configuration provided by ramp, it corresponds to the the - sqlalchemykey.
 
- Returns
- sessionsqlalchemy.orm.Session
- The session to directly perform the operation on the database. 
 
- session