Add mypy types for gen_settings.py.
This commit is contained in:
@@ -202,6 +202,8 @@ class FieldPredicate(object):
|
||||
self.field = field
|
||||
self.function = function
|
||||
self.args = args
|
||||
# All PredNode members must have a name field. This will never be set.
|
||||
self.name = None # type: str
|
||||
|
||||
def __str__(self):
|
||||
# type: () -> str
|
||||
|
||||
Reference in New Issue
Block a user