Closed nicolay-r closed 1 year ago
Here, data_type has dict type, so we just need to direct access folding for the related type. However, we need to consider the case of doc_ids when we do not provide folding.
data_type
dict
doc_ids
https://github.com/nicolay-r/AREkit/blob/2b2dd19789bc8a09d25490f1cae147c4f2b8d8cf/arekit/contrib/utils/pipelines/items/sampling/base.py#L56
https://github.com/nicolay-r/AREkit/blob/2b2dd19789bc8a09d25490f1cae147c4f2b8d8cf/arekit/contrib/utils/pipelines/items/sampling/base.py#L35-L56C59
Here,
data_type
hasdict
type, so we just need to direct access folding for the related type. However, we need to consider the case ofdoc_ids
when we do not provide folding.489 related
https://github.com/nicolay-r/AREkit/blob/2b2dd19789bc8a09d25490f1cae147c4f2b8d8cf/arekit/contrib/utils/pipelines/items/sampling/base.py#L56
https://github.com/nicolay-r/AREkit/blob/2b2dd19789bc8a09d25490f1cae147c4f2b8d8cf/arekit/contrib/utils/pipelines/items/sampling/base.py#L35-L56C59