CodeQL library for Python
codeql/python-all 0.10.5 ( changelog , source )

Member predicate ClassValue :: isMapping

Holds if this class is a mapping. Mutually exclusive with isSequence().

Although a class will satisfy the requirement by the definition in, we don’t look at the keys accepted by `getitem, but default to treating a class as a sequence (so might treat some mappings as sequences).

predicate isMapping ( )