Debian Codegraph @

tests/testdata/python3/data/max_inferable_limit_for_classes/main.py

raw
1 """This example is based on sqlalchemy.
2
3 See https://github.com/pylint-dev/pylint/issues/5679
4 """
5 from other_funcs import FromClause
6
7 from .nodes import roles
8
9
10 class HasMemoized(object):
11 ...
12
13
14 class Generative(HasMemoized):
15 ...
16
17
18 class ColumnElement(
19 roles.ColumnArgumentOrKeyRole,
20 roles.BinaryElementRole,
21 roles.OrderByRole,
22 roles.ColumnsClauseRole,
23 roles.LimitOffsetRole,
24 roles.DMLColumnRole,
25 roles.DDLConstraintColumnRole,
26 roles.StatementRole,
27 Generative,
28 ):
29 ...
30
31
32 class FunctionElement(ColumnElement, FromClause):
33 ...
34
35
36 class months_between(FunctionElement):
37 def __init__(self):
38 super().__init__()