mirror of
https://github.com/DragonMinded/bemaniutils.git
synced 2026-10-06 22:08:20 +03:00
Switch to using an enum for API ID constants.
This commit is contained in:
@@ -73,7 +73,7 @@ class ProfileObject(BaseObject):
|
||||
|
||||
return base
|
||||
|
||||
def fetch_v1(self, idtype: str, ids: List[str], params: Dict[str, Any]) -> List[Dict[str, Any]]:
|
||||
def fetch_v1(self, idtype: APIConstants, ids: List[str], params: Dict[str, Any]) -> List[Dict[str, Any]]:
|
||||
# Fetch the profiles
|
||||
profiles: List[Tuple[UserID, ValidatedDict]] = []
|
||||
if idtype == APIConstants.ID_TYPE_SERVER:
|
||||
|
||||
Reference in New Issue
Block a user