def bulk_import_upload_file(self, name, part_name, format, file, **kwargs):
        with contextlib.closing(self._prepare_file(file, format, **kwargs)) as fp:
            size = os.fstat(fp.fileno()).st_size
            return self.bulk_import_upload_part(name, part_name, fp, size)
Sets a single key with a specified policy.
dataset/ETHPy150Open treasure-data/td-client-python/tdclient/bulk_import_api.py/BulkImportAPI.bulk_import_upload_file--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/memcache/__init__.py/Client._set_with_policy