blob: 5f64c2e57c1a11d3c79909833e9b93c6d0b2ee99 (
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/pylint-dev/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__()
|