You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace simple constants with the strings themselves, as the constants are a bit superfluous. E.g. TERM_ID = 'term_id' and similar.
Change getFromDict to use get()-semantics, returning None if the property is not present. Needs to change all usages, but will remove a large amount of try/except clauses.
TERM_ID = 'term_id'and similar.getFromDictto useget()-semantics, returning None if the property is not present. Needs to change all usages, but will remove a large amount of try/except clauses.