hbp_service_client/storage_service/client.py
def new(cls, access_token, environment='prod'):
        '''Create new storage service client.

            Arguments:
                environment(str): The service environment to be used for the client.
                    'prod' or 'dev'.
                access_token(str): The access token used to authenticate with the
                    service

            Returns:
                A storage_service.Client instance
        '''

        api_client = ApiClient.new(access_token, environment)
        return cls(api_client)
def new(cls, access_token, environment='prod'):
        '''Create new storage service client.

            Arguments:
                environment(str): The service environment to be used for the client.
                    'prod' or 'dev'.
                access_token(str): The access token used to authenticate with the
                    service

            Returns:
                A storage_service.Client instance
        '''

        api_client = ApiClient.new(access_token, environment)
        return cls(api_client)
Create new storage service client.

            Arguments:
                environment(str): The service environment to be used for the client.
                    'prod' or 'dev'.
                access_token(str): The access token used to authenticate with the
                    service

            Returns:
                A storage_service.Client instance