Skip to content
Snippets Groups Projects
Commit df009b5b authored by DEBREUVE Eric's avatar DEBREUVE Eric
Browse files

added protocol checkability

parent caa2325c
No related branches found
No related tags found
No related merge requests found
......@@ -23,10 +23,12 @@ from logger_36.task.format.rule import Rule, RuleAsText
from logger_36.type.handler import handler_extension_t
@h.runtime_checkable
class show_message_p(h.Protocol):
def __call__(self, message: str, /, *, indented: bool = False) -> None: ...
@h.runtime_checkable
class display_rule_p(h.Protocol):
def __call__(self, /, *, text: str | None = None, color: str = "white") -> None: ...
......
......@@ -4,7 +4,7 @@ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
SEE COPYRIGHT NOTICE BELOW
"""
__version__ = "2025.3"
__version__ = "2025.4"
"""
COPYRIGHT NOTICE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment