pyuploadcare/api_resources.py
def create_local_copy(self, effects=None, store=None):
        """Creates a Local File Copy on Uploadcare Storage.

        Args:
            - effects:
                Adds CDN image effects. If ``self.default_effects`` property
                is set effects will be combined with default effects.
            - store:
                If ``store`` option is set to False the copy of your file will
                be deleted in 24 hour period after the upload.
                Works only if `autostore` is enabled in the project.

        """
        effects = self._build_effects(effects)
        store = store or ''
        data = {
            'source': self.cdn_path(effects)
        }
        if store:
            data['store'] = store
        return rest_request('POST', 'files/', data=data)
def create_local_copy(self, effects=None, store=None):
        effects = self._build_effects(effects)
        store = store or ''
        data = {
            'source': self.cdn_path(effects)
        }
        if store:
            data['store'] = store
        return rest_request('POST', 'files/', data=data)
def create_local_copy ( self , effects = None , store = None ) : effects = self . _build_effects ( effects ) store = store or '' data = { 'source' : self . cdn_path ( effects ) } if store : data [ 'store' ] = store return rest_request ( 'POST' , 'files/' , data = data )
Creates a Local File Copy on Uploadcare Storage.

        Args:
            - effects:
                Adds CDN image effects. If ``self.default_effects`` property
                is set effects will be combined with default effects.
            - store:
                If ``store`` option is set to False the copy of your file will
                be deleted in 24 hour period after the upload.
                Works only if `autostore` is enabled in the project.
Creates a Local File Copy on Uploadcare Storage .