for (ftype, fname), path in zip(ftrs, paths):
data = self[(ftype, fname)]
if ftype is FeatureType.BBOX:
data = tuple(data) + (int(data.crs.value),)stream = pickle.dumps(data, protocol=pickle.HIGHEST_PROTOCOL)
s3client.put_object(Bucket=bucket_name, Key=path, Body=stream)
def _get_save_file_list(self, path, tmp_path, features, file_format, compress_level):
Creates a list of _FileSaver classes for each feature which will have to be saved