MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / iter

Function iter

pymongo/synchronous/helpers.py:146–148  ·  view source on GitHub ↗

Compatibility function until we drop 3.9 support: https://docs.python.org/3/library/functions.html#next.

(cls: Any)

Source from the content-addressed store, hash-verified

144 return cls.__next__()
145
146 def iter(cls: Any) -> Any:
147 """Compatibility function until we drop 3.9 support: https://docs.python.org/3/library/functions.html#next."""
148 return cls.__iter__()

Callers 15

test_iteratorMethod · 0.90
apply_is_syncFunction · 0.85
sanitize_cmdFunction · 0.85
__iter__Method · 0.85
__iter__Method · 0.85
oneFunction · 0.85
prepare_spec_argumentsFunction · 0.85
match_eventMethod · 0.85

Calls 1

__iter__Method · 0.45

Tested by 15

test_iteratorMethod · 0.72
__iter__Method · 0.68
__iter__Method · 0.68
test_local_thresholdMethod · 0.68
run_testFunction · 0.68
test_load_balancingMethod · 0.68