Did I find the right examples for you? yes no

All Samples(6)  |  Call(0)  |  Derive(0)  |  Import(6)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/m/o/mongokit-0.9.1.1/mongokit/document.py   mongokit(Download)
                                if not value[1] in [pymongo.DESCENDING, pymongo.ASCENDING, pymongo.OFF, pymongo.ALL,
                                                    pymongo.GEO2D, pymongo.GEOHAYSTACK, pymongo.GEOSPHERE,
                                                    pymongo.HASHED, "text"]:
                                    raise BadIndexError(
                                        "index direction must be INDEX_DESCENDING, INDEX_ASCENDING, "

src/m/o/mongokit-HEAD/mongokit/document.py   mongokit(Download)
                                if not value[1] in [pymongo.DESCENDING, pymongo.ASCENDING, pymongo.OFF, pymongo.ALL,
                                                    pymongo.GEO2D, pymongo.GEOHAYSTACK, pymongo.GEOSPHERE,
                                                    pymongo.HASHED, "text"]:
                                    raise BadIndexError(
                                        "index direction must be INDEX_DESCENDING, INDEX_ASCENDING, "

src/m/o/mongokit-0.9.1.1/mongokit/__init__.py   mongokit(Download)
from connection import Connection, MongoClient, MongoReplicaSetClient, ReplicaSetConnection
from master_slave_connection import MasterSlaveConnection
from pymongo import (
    ASCENDING as INDEX_ASCENDING,
    DESCENDING as INDEX_DESCENDING,

src/m/o/mongokit-HEAD/mongokit/__init__.py   mongokit(Download)
from connection import Connection, MongoClient, MongoReplicaSetClient, ReplicaSetConnection
from master_slave_connection import MasterSlaveConnection
from pymongo import (
    ASCENDING as INDEX_ASCENDING,
    DESCENDING as INDEX_DESCENDING,

src/m/o/mongokit-py3-0.9.1.1/mongokit/__init__.py   mongokit-py3(Download)
from .connection import Connection, MongoClient, MongoReplicaSetClient, ReplicaSetConnection
from .master_slave_connection import MasterSlaveConnection
from pymongo import (
    ASCENDING as INDEX_ASCENDING,
    DESCENDING as INDEX_DESCENDING,

src/m/o/motor-HEAD/synchro/__init__.py   motor(Download)
have_gevent = False
 
from pymongo import GEOSPHERE, HASHED
from pymongo.pool import NO_REQUEST, NO_SOCKET_YET, SocketInfo, Pool, _closed
from pymongo.mongo_replica_set_client import _partition_node, Member, Monitor

src/m/o/mongo-python-driver-HEAD/test/test_collection.py   mongo-python-driver(Download)
from bson.py3compat import b
from bson.son import SON, RE_TYPE
from pymongo import (ASCENDING, DESCENDING, GEO2D,
                     GEOHAYSTACK, GEOSPHERE, HASHED)
from pymongo import message as message_module

src/p/y/pymongo-2.7/test/test_collection.py   pymongo(Download)
from bson.py3compat import b
from bson.son import SON, RE_TYPE
from pymongo import (ASCENDING, DESCENDING, GEO2D,
                     GEOHAYSTACK, GEOSPHERE, HASHED)
from pymongo import message as message_module