solumclient/common/base.py
def _get(self, url, response_key=None):
        """Get an object from collection.

        :param url: a partial URL, e.g., '/servers'
        :param response_key: the key to be looked up in response dictionary,
            e.g., 'server'
        """
        body = self.client.get(url).json()

        if response_key is None:
            data = body
        else:
            data = body[response_key]

        return self.resource_class(self, data, loaded=True)
Get an object from collection.

        :param url: a partial URL, e.g., '/servers'
        :param response_key: the key to be looked up in response dictionary,
            e.g., 'server'
        
Get an object from collection.
Get an object from collection .
def _get(self, url, response_key=None):
        body = self.client.get(url).json()
        if response_key is None:
            data = body
        else:
            data = body[response_key]
        return self.resource_class(self, data, loaded=True)
def _get ( self , url , response_key = None ) : body = self . client . get ( url ) . json ( ) if response_key is None : data = body else : data = body [ response_key ] return self . resource_class ( self , data , loaded = True )
Get an object from collection.
Get an object from collection .
"""Get an object from collection.

        :param url: a partial URL, e.g., '/servers'
        :param response_key: the key to be looked up in response dictionary,
            e.g., 'server'
        """
self
url
a partial URL, e.g., '/servers'
a partial URL e . g . ' / servers '
response_key
the key to be looked up in response dictionary,
e.g., 'server'
the key to be looked up in response dictionary e . g . ' server '