from typing import TYPE_CHECKING from weaver.base import Constants [docs] class Visibility(Constants): [docs] PUBLIC = "public" [docs] PRIVATE = "private" if TYPE_CHECKING: from weaver.typedefs import Literal [docs] AnyVisibility = Literal[Visibility.PUBLIC, Visibility.PRIVATE]