From b2bb495918c3ce44449e7020ad1d7bd7e45c3aec Mon Sep 17 00:00:00 2001 From: Josh Terrill Date: Tue, 30 Jun 2026 14:35:42 -0700 Subject: [PATCH] fixes models_of_account incorrect Str! type and changes it to correct String! type --- CHANGELOG.md | 3 +++ numerapi/base_api.py | 2 +- setup.py | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f4421b..38a193e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Changelog Notable changes to this project. +## [2.23.3] - 2026-06-30 +- fix `models_of_account` referencing incorrect type `Str!` instead of `String!` + ## [2.23.2] - 2026-06-02 - increase dataset download chunk size to 1 MB to improve download speeds diff --git a/numerapi/base_api.py b/numerapi/base_api.py index 97071f9..963bd29 100644 --- a/numerapi/base_api.py +++ b/numerapi/base_api.py @@ -331,7 +331,7 @@ def models_of_account(self, account) -> Dict[str, str]: {'uuazed': '9b157d9b-ce61-4ab5-9413-413f13a0c0a6', ...} """ query = """ - query($username: Str! + query($username: String! $tournament: Int) { accountProfile(username: $username tournament: $tournament){ diff --git a/setup.py b/setup.py index 5b3797a..f5fe41b 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ def load(path): return open(path, "r").read() -numerapi_version = "2.23.2" +numerapi_version = "2.23.3" classifiers = [