Attached is the patch to reduce cognitive complexity for:
1) web/.../databases/schemas/views/__init__.py from 110 to the 15 allowed. 2) web/.../servers/databases/casts/__init__.py from 18 to the 15 allowed. 3) web/.../databases/schemas/collations/__init__.py from 16 to the 15 allowed.