Pinned Loading
-
Send requests to Join REST API ( htt...
Send requests to Join REST API ( https://joaoapps.com/join/api/ ) from EventGhost. Details: https://gist.github.com/vlntnwbr/f0ef070c39c23d86ba6261aefb504d2e#gistcomment-3510957 1##2# Copyright (c) 2020 Valentin Weber3#4# After some minor modifications (as marked below) this EventGhost5# Python script provides a method to send requests to devices -
a simple base logging function that ...
a simple base logging function that sets up a package level logger that optionally outputs in color 1def setup_logging(level: str | int, colored: bool) -> logging.Logger:
2"""Set up logging for the application."""34class ColorFormatter(logging.Formatter):
5"""Logging formatter for colored output.""" -
Method to create a string representa...
Method to create a string representation of any Python object that has a __dict__ attribute. The string formatting is inspired by the formatting of the Python dataclasses repr function. See docstring for details. 1def repr_dict_obj(
2candidate: object,
3classname: str | None = None,
4attr_alt_reprs: (5None | dict[str, str | Callable[[object], str] | Literal["__exclude__"]]
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.

