MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / record_iter

Function record_iter

asyncpg/protocol/record/recordobj.c:625–637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

623record_new_iter(ApgRecordObject *, const record_module_state *);
624
625static PyObject *
626record_iter(PyObject *seq)
627{
628 ApgRecordObject *r = (ApgRecordObject *)seq;
629 record_module_state *state;
630
631 state = find_module_state_by_def(Py_TYPE(seq));
632 if (state == NULL) {
633 return NULL;
634 }
635
636 return record_new_iter(r, state);
637}
638
639static PyObject *
640record_values(PyObject *self, PyTypeObject *defcls, PyObject *const *args,

Callers

nothing calls this directly

Calls 2

find_module_state_by_defFunction · 0.85
record_new_iterFunction · 0.85

Tested by

no test coverage detected