def __getattr__(self, name):
    'Method gets attribute\n\n        Args:   \n           name (str): attribute name\n\n        Returns:\n           obj: attribute value\n\n        '
    if (type(self._dbcon).__name__.lower() == 'connection'):
        if hasattr(self._dbcon, name):
            return getattr(self._dbcon, name)
        if hasattr(pymssql, name):
            return getattr(pymssql, name)
Method gets attribute

Args:   
   name (str): attribute name

Returns:
   obj: attribute value
def __getattr__(self, name):
    'Method gets attribute\n\n        Args:   \n           name (str): attribute name\n\n        Returns:\n           obj: attribute value\n\n        '
    if (type(self._dbcon).__name__.lower() == 'connection'):
        if hasattr(self._dbcon, name):
            return getattr(self._dbcon, name)
        if hasattr(pymssql, name):
            return getattr(pymssql, name)