code: def get_device(self, device_id):
          
          api = self._get_api(device_directory.DefaultApi)
          return Device(api.device_retrieve(device_id))
docs: Get device details from catalog.
  
          :param str device_id: the ID of the device to retrieve (Required)
          :returns: device object matching the `device_id`.
          :rtype: Device