medcat.utils.check_for_updates
Classes:
Functions:
Attributes:
DEFAULT_CACHE_PATH
module-attribute
DEFAULT_CACHE_PATH = home() / '.cache' / 'cogstack' / 'medcat_version.json'
DEFAULT_CHECK_INTERVAL
module-attribute
DEFAULT_CHECK_INTERVAL = 7 * 24 * 3600
UpdateCheckConfig
Bases: TypedDict
Attributes:
-
cache_path(Path) – -
check_interval(int) – -
enabled(bool) – -
minor_threshold(int) – -
patch_threshold(int) – -
pkg_name(str) – -
timeout(float) – -
url(str) –
check_for_updates
Source code in medcat-v2/medcat/utils/check_for_updates.py
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | |
log_info
Source code in medcat-v2/medcat/utils/check_for_updates.py
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | |