MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _is_mapping

Function _is_mapping

lib/sqlalchemy/engine/_util_cy.py:62–68  ·  view source on GitHub ↗
(value: object, /)

Source from the content-addressed store, hash-verified

60@cython.inline
61@cython.cfunc
62def _is_mapping(value: object, /) -> cython.bint:
63 return (
64 isinstance(value, dict)
65 or isinstance(value, Mapping)
66 # only do immutabledict or abc.__instancecheck__ for Mapping after
67 # we've checked for plain dictionaries and would otherwise raise
68 )
69
70
71def _distill_params_20(

Callers 1

_distill_params_20Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected