From 5779dda937fbe4ff59d831af71892ad241be1229 Mon Sep 17 00:00:00 2001 From: NewSoupVi <57900059+NewSoupVi@users.noreply.github.com> Date: Fri, 14 Nov 2025 15:58:06 +0100 Subject: [PATCH] Core: Deprecate Utils.get_options by July 31st, 2025 (#4811) * 0.4.4 lol * Pycharm pls * Violet pls * Remove OptionsType --------- Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com> --- Utils.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Utils.py b/Utils.py index ab9f91e111..a1c239aced 100644 --- a/Utils.py +++ b/Utils.py @@ -314,12 +314,8 @@ def get_public_ipv6() -> str: return ip -OptionsType = Settings # TODO: remove when removing get_options - - def get_options() -> Settings: - # TODO: switch to Utils.deprecate after 0.4.4 - warnings.warn("Utils.get_options() is deprecated. Use the settings API instead.", DeprecationWarning) + deprecate("Utils.get_options() is deprecated. Use the settings API instead.") return get_settings()