def fetch(self, remote_id: str) -> dict:
    'Fatch the brach from a remote\n\n        Parameters\n        ----------\n        remote_id: str\n            id of the remote\n\n        Raises\n        ------\n        InterfaceError\n            if the client does not connect to a database'
    self._check_connection()
    result = requests.post(self._fetch_url(remote_id), headers={'user-agent': f'terminusdb-client-python/{__version__}'}, auth=self._auth())
    return json.loads(_finish_response(result))
Fatch the brach from a remote

Parameters
----------
remote_id: str
    id of the remote

Raises
------
InterfaceError
    if the client does not connect to a database
def fetch(self, remote_id: str) -> dict:
    'Fatch the brach from a remote\n\n        Parameters\n        ----------\n        remote_id: str\n            id of the remote\n\n        Raises\n        ------\n        InterfaceError\n            if the client does not connect to a database'
    self._check_connection()
    result = requests.post(self._fetch_url(remote_id), headers={'user-agent': f'terminusdb-client-python/{__version__}'}, auth=self._auth())
    return json.loads(_finish_response(result))