summaryrefslogtreecommitdiff
path: root/tests/regrtest_data/max_inferable_limit_for_classes/main.py
blob: 2588d916feb972891e01af3701d7bf4c184e2622 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
"""This example is based on sqlalchemy.

See https://github.com/PyCQA/pylint/issues/5679
"""
from other_funcs import FromClause

from .nodes import roles


class HasMemoized(object):
    ...


class Generative(HasMemoized):
    ...


class ColumnElement(
    roles.ColumnArgumentOrKeyRole,
    roles.BinaryElementRole,
    roles.OrderByRole,
    roles.ColumnsClauseRole,
    roles.LimitOffsetRole,
    roles.DMLColumnRole,
    roles.DDLConstraintColumnRole,
    roles.StatementRole,
    Generative,
):
    ...


class FunctionElement(ColumnElement, FromClause):
    ...


class months_between(FunctionElement):
    def __init__(self):
        super().__init__()