code: def _get_capabilities(self):
          
          conn = self._get_connection()
          capabilities = []
          for c in conn.server_capabilities:
              capabilities.append(c)
          LOG.debug("Server capabilities: %s", capabilities)
          return capabilities
docs: Get the servers NETCONF capabilities.
  
          :return: List of server capabilities.