Add mypy types for gen_settings.py.

This commit is contained in:
Jakob Stoklund Olesen
2017-03-30 18:42:06 -07:00
parent 469ecd91bf
commit fc979c474f
3 changed files with 32 additions and 0 deletions

View File

@@ -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