forked from mirror/Archipelago
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 <[email protected]>
This commit is contained in:
co-authored by
black-sliver
parent
d597bc40a2
commit
5779dda937
@@ -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()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user