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
lose memoize.py \ @lazyval in favour of @functools.cached_property
on Answers and ExchangeCalendar classes consolidate properties returning functions decorated @functools.lru_cache with simple properties decorated with @functools.cached_property
use Literal to annotate selection of string values, to include at least:
direction parameter of ExchangeCalendar, minute_to_session_label and date_to_session_label methods as Literal["next", "previous", "none"]
side parameter of ExchangeCalendar, test_exchange_calendar.py and calendar_helper.py methods as Literal["left", "right", "both", "neither"]
column parameter of Answers._get_sessions_with_times_different_to_a_contiguous_session as Literal["opens", "closes", "break_starts", "break_ends"]
The text was updated successfully, but these errors were encountered:
@lazyval
in favour of@functools.cached_property
Answers
andExchangeCalendar
classes consolidate properties returning functions decorated@functools.lru_cache
with simple properties decorated with@functools.cached_property
direction
parameter ofExchangeCalendar
,minute_to_session_label
anddate_to_session_label
methods as Literal["next", "previous", "none"]side
parameter ofExchangeCalendar
,test_exchange_calendar.py
andcalendar_helper.py
methods as Literal["left", "right", "both", "neither"]column
parameter ofAnswers._get_sessions_with_times_different_to_a_contiguous_session
as Literal["opens", "closes", "break_starts", "break_ends"]The text was updated successfully, but these errors were encountered: