Core: purge py3.8 and py3.9 (#3973)
Co-authored-by: Remy Jette <remy@remyjette.com> Co-authored-by: Jouramie <16137441+Jouramie@users.noreply.github.com> Co-authored-by: Aaron Wagener <mmmcheese158@gmail.com>
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
from dataclasses import dataclass
|
||||
from typing import Dict
|
||||
|
||||
from schema import And, Optional, Or, Schema
|
||||
|
||||
@@ -167,7 +166,7 @@ class ShopPrices(Range):
|
||||
default = 100
|
||||
|
||||
|
||||
def planned_price(location: str) -> Dict[Optional, Or]:
|
||||
def planned_price(location: str) -> dict[Optional, Or]:
|
||||
return {
|
||||
Optional(location): Or(
|
||||
And(int, lambda n: n >= 0),
|
||||
|
||||
Reference in New Issue
Block a user