move the dbs import statement within the function

 since this package is  imported in Runtime.
DBS client is not in the sandbox.