def find(self,
             id,
             params=None,
             ):
        """Finds a resource based on the input parameters.

        :type id: Union[Tuple[str, str], int, str]
        :type params: Optional[Dict[str, str]]

        """

        if params is None:
            params = {}

        if isinstance(id, tuple):
            path = self._resource.format(*id)
        else:
            path = self._resource.format(id)
        url = self._get_url(path)
        self._load(url, params=params)
def find ( self , id , params = None , ) : if params is None : params = { } if isinstance ( id , tuple ) : path = self . _resource . format ( * id ) else : path = self . _resource . format ( id ) url = self . _get_url ( path ) self . _load ( url , params = params )
Finds a resource based on the input parameters.

        :type id: Union[Tuple[str, str], int, str]
        :type params: Optional[Dict[str, str]]