Lines Matching refs:str
16 id: str
17 header: str
20 escape: str = "\x1b[0K"
21 colour: str = f"{CONSOLE_LOG['BOLD']}{CONSOLE_LOG['FG_GREEN']}"
26 def section_id_filter(cls, value) -> str:
27 return str(re.sub(r"[^\w_-]+", "-", value))
40 def get_timestamp(self, time: datetime) -> str:
42 return str(int(unix_ts))
44 def section(self, marker: str, header: str, time: datetime) -> str:
64 def start(self) -> str:
69 def end(self) -> str: