Skip to content

Commit 2c571ed

Browse files
committed
Add comments
1 parent d47b447 commit 2c571ed

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

flask_phpbb3/sessions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import json
2-
from typing import Any, Dict, Optional, Set
2+
from typing import Any, Dict, Mapping, MutableMapping, Optional, Set
33

44
import cachelib
55

@@ -14,6 +14,7 @@
1414
ANONYMOUS_CACHE_TTL: int = 3600 * 24
1515

1616

17+
# TODO: Inheriting Dict causes a type-checker error, possibly restructure
1718
class PhpBB3Session(Dict[str, Any], flask.sessions.SessionMixin):
1819
def __init__(self) -> None:
1920
# Some session related variables

0 commit comments

Comments
 (0)