Did I find the right examples for you? yes no

All Samples(6)  |  Call(3)  |  Derive(0)  |  Import(3)

src/p/y/python-superfastmatch-HEAD/superfastmatch/tools/routines.py   python-superfastmatch(Download)
from copy import deepcopy
import progressbar
from ..util import ChunkedIterator, UnpicklerIterator, parse_doctype_range, parse_docid_range, SparseRange
from ..iterators import DocumentIterator
 
    if doctype_rangestr is not None:
        # Just ensure that it's valid.
        parse_doctype_range(doctype_rangestr)
 
    docs = DocumentIterator(sfm,

src/p/y/python-superfastmatch-HEAD/superfastmatch/client.py   python-superfastmatch(Download)
import requests
import json
from .util import parse_doctype_range
 
 
    def update_associations(self, doctype=None, doctype2=None, skip_validation=False):
        url = 'associations/'
        if doctype:
            if not skip_validation:
                parse_doctype_range(doctype)
            url = '%s%s/' % (url, doctype)
        if doctype2:
            if not skip_validation:
                parse_doctype_range(doctype2)