(self)
return d
Generates a dictionary of arguments to pass to various
        set_content_from* functions. This allows us to save API calls by
        passing the necessary parameters on with the upload.
Generates a dictionary of arguments to pass to various
        set_content_from* functions. This allows us to save API calls by
        passing the necessary parameters on with the upload.
Generates a dictionary of arguments to pass to various set_content_from * functions . This allows us to save API calls by passing the necessary parameters on with the upload .
def __upload_args(self):
        """Generates a dictionary of arguments to pass to various
        set_content_from* functions. This allows us to save API calls by
        passing the necessary parameters on with the upload."""
        d = {
            'reduced_redundancy': self.reduced_redundancy,
        }

        if self.public:
            d['policy'] = 'public-read'

        return d
def __upload_args ( self ) : d = { 'reduced_redundancy' : self . reduced_redundancy , } if self . public : d [ 'policy' ] = 'public-read' return d