Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
set() -> new empty set object
set(iterable) -> new set object

Build an unordered collection of unique elements.

src/t/a/TastyMongo-HEAD/tastymongo/resource.py   TastyMongo(Download)
from .serializers import Serializer
from .exceptions import *
from .constants import ALL, ALL_WITH_RELATIONS, QUERY_TERMS, LOOKUP_SEP
from .utils import determine_format
from .bundle import Bundle
 
            # Override filter_type if it is given.
            if len( filter_bits ) and filter_bits[-1].replace('[]', '') in QUERY_TERMS:
                filter_type = filter_bits.pop().replace('[]', '')