code: def getTarget(iid):
          '''
              A static method which returns a Target object identified by
              iid. Returns None if a Target object was not found
          '''
          db = getDataCommunicator()
  
          verbose('Loading target with id {}'.format(iid))
          data = db.getTarget(iid)
  
          if data:
              verbose('Found target')
              return Target(data['name'], data['path'], _id=iid)
          
          verbose('Could not find target belonging to id {}'.format(iid))
          return datf getTarget(iid):
          '''
              A static method which returns a Target object identified by
              iid. Returns None if a Target object was not found
          '''
          db = getDataCommunicator()
  
          verbose('Loading target with id {}'.format(iid))
          data = db.getTarget(iid)
  
          if data:
              verbose('Found target')
              return Target(data['name'], data['path'], _id=iid)
          
          verbose('Could not find target belonging to id {}'.format(iid))
          return data
docs: A static method which returns a Target object identified by
              iid. Returns None if a Target object was not found