File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ def _prepare_custom_fields_statements(self) -> None:
106106 Prepares statements for custom fields
107107 """
108108 # Setters for custom fields
109- custom_fields : typing .List [typing . Any ] = \
109+ custom_fields : typing .List [str ] = \
110110 self ._config .get ('CUSTOM_USER_FIELDS' , [])
111111 for custom_field in custom_fields :
112112 self ._functions ["set_{0}" .format (custom_field )] = (
Original file line number Diff line number Diff line change 1717
1818
1919# TODO: Inheriting Dict causes a type-checker error, possibly restructure
20- class PhpBB3Session (typing . Dict [ str , typing . Any ] , flask .sessions .SessionMixin ):
20+ class PhpBB3Session (dict , flask .sessions .SessionMixin ):
2121 def __init__ (self ) -> None :
2222 # Some session related variables
2323 self .modified : bool = False
You can’t perform that action at this time.
0 commit comments