general: deprecate some old methods by hiding behind TYPE_CHECKING
This commit is contained in:
parent
79ce8e84ec
commit
d6786084ca
4 changed files with 17 additions and 8 deletions
|
@ -249,4 +249,6 @@ def get_entries() -> List[Result]:
|
|||
|
||||
|
||||
## deprecated
|
||||
Error = Exception # for backwards compat with Orger; can remove later
|
||||
if not TYPE_CHECKING:
|
||||
# "deprecate" by hiding from mypy
|
||||
Error = Exception # for backwards compat with Orger; can remove later
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue