Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
if len(libref):
self.libref = libref
else:
if self.sas.exist(table, libref='user'):
self.libref = 'USER'
else:
self.libref = 'WORK'
# hack till the bug gets fixed
if self.sas.sascfg.mode == 'HTTP':
self.libref = 'WORK'
self.table = table.strip()
self.dsopts = dsopts if dsopts is not None else {}
self.results = results
self.tabulate = sp2.Tabulate(sassession, self)