File: types.py

package info (click to toggle)
python-daiquiri 3.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 240 kB
  • sloc: python: 888; makefile: 5
file content (18 lines) | stat: -rw-r--r-- 334 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import logging
import typing


class ColoredLogRecord(logging.LogRecord):
    color: str
    color_stop: str


class ExtrasLogRecord(logging.LogRecord):
    extras_prefix: str
    extras_suffix: str
    extras: str
    _daiquiri_extra_keys: typing.Set[str]


class TTYDetectionLogRecord(logging.LogRecord):
    _stream_is_a_tty: bool