def rest(self, token, endpoint=None, timeout=None):
from . import rest<EOL>return rest.SignalFxRestClient(<EOL>token=token,<EOL>endpoint=endpoint or self._api_endpoint,<EOL>timeout=timeout or self._timeout)<EOL>
Obtain a metadata REST API client.