def get(self, path: str, server: str=None, headers: dict=None, params: Dict[(str, JSONLike)]=None, token: str=None, retry_on_api_error: bool=True) -> dict:
    "\n        Convenience function for calling the Prefect API with token auth and GET request\n\n        Args:\n            - path (str): the path of the API url. For example, to GET\n                http://prefect-server/v1/auth/login, path would be 'auth/login'.\n            - server (str, optional): the server to send the GET request to;\n                defaults to `self.api_server`\n            - headers (dict, optional): Headers to pass with the request\n            - params (dict): GET parameters\n            - token (str): an auth token. If not supplied, the `client.access_token` is used.\n            - retry_on_api_error (bool): whether the operation should be retried if the API returns\n                an API_ERROR code\n\n        Returns:\n            - dict: Dictionary representation of the request made\n        "
    response = self._request(method='GET', path=path, params=params, server=server, headers=headers, token=token, retry_on_api_error=retry_on_api_error)
    if response.text:
        return response.json()
    else:
        return {}
Convenience function for calling the Prefect API with token auth and GET request

Args:
    - path (str): the path of the API url. For example, to GET
        http://prefect-server/v1/auth/login, path would be 'auth/login'.
    - server (str, optional): the server to send the GET request to;
        defaults to `self.api_server`
    - headers (dict, optional): Headers to pass with the request
    - params (dict): GET parameters
    - token (str): an auth token. If not supplied, the `client.access_token` is used.
    - retry_on_api_error (bool): whether the operation should be retried if the API returns
        an API_ERROR code

Returns:
    - dict: Dictionary representation of the request made
def get(self, path: str, server: str=None, headers: dict=None, params: Dict[(str, JSONLike)]=None, token: str=None, retry_on_api_error: bool=True) -> dict:
    "\n        Convenience function for calling the Prefect API with token auth and GET request\n\n        Args:\n            - path (str): the path of the API url. For example, to GET\n                http://prefect-server/v1/auth/login, path would be 'auth/login'.\n            - server (str, optional): the server to send the GET request to;\n                defaults to `self.api_server`\n            - headers (dict, optional): Headers to pass with the request\n            - params (dict): GET parameters\n            - token (str): an auth token. If not supplied, the `client.access_token` is used.\n            - retry_on_api_error (bool): whether the operation should be retried if the API returns\n                an API_ERROR code\n\n        Returns:\n            - dict: Dictionary representation of the request made\n        "
    response = self._request(method='GET', path=path, params=params, server=server, headers=headers, token=token, retry_on_api_error=retry_on_api_error)
    if response.text:
        return response.json()
    else:
        return {}