From 9f69a9e190945378515499136d1c187c00018260 Mon Sep 17 00:00:00 2001 From: Rudolf the Rabbit Date: Fri, 3 Jul 2026 09:56:37 +0000 Subject: [PATCH] chore: update OpenAPI client to 2026.07.03.0944-76b6489 --- openapi/schemas/leaderboard.openapi.json | 1006 ++++++++++++++++- .../schemas/rapidata.filtered.openapi.json | 1006 ++++++++++++++++- openapi/schemas/rapidata.openapi.json | 1006 ++++++++++++++++- src/rapidata/api_client/api/benchmark_api.py | 244 ++++ .../api_client/api/leaderboard_api.py | 244 ++++ 5 files changed, 3449 insertions(+), 57 deletions(-) diff --git a/openapi/schemas/leaderboard.openapi.json b/openapi/schemas/leaderboard.openapi.json index 1f68027f5..249d0fc74 100644 --- a/openapi/schemas/leaderboard.openapi.json +++ b/openapi/schemas/leaderboard.openapi.json @@ -695,6 +695,248 @@ "type": "boolean", "default": false } + }, + { + "name": "country", + "in": "query", + "description": "Filter by country.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "language", + "in": "query", + "description": "Filter by language.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "gender", + "in": "query", + "description": "Filter by gender.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "age_bucket", + "in": "query", + "description": "Filter by age_bucket.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "occupation", + "in": "query", + "description": "Filter by occupation.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "logic", + "in": "query", + "description": "How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match.", + "schema": { + "enum": [ + "and", + "or" + ], + "type": "string" + } } ], "responses": { @@ -1226,24 +1468,266 @@ "items": { "type": "string" } - } - }, - { - "name": "useWeightedScoring", - "in": "query", - "description": "Whether to apply weighted scoring based on user scores.", - "schema": { - "type": "boolean", - "default": false - } + } + }, + { + "name": "useWeightedScoring", + "in": "query", + "description": "Whether to apply weighted scoring based on user scores.", + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "includeConfidenceIntervals", + "in": "query", + "description": "Whether to include confidence intervals in results.", + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "country", + "in": "query", + "description": "Filter by country.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "language", + "in": "query", + "description": "Filter by language.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "gender", + "in": "query", + "description": "Filter by gender.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "age_bucket", + "in": "query", + "description": "Filter by age_bucket.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "occupation", + "in": "query", + "description": "Filter by occupation.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" }, { - "name": "includeConfidenceIntervals", + "name": "logic", "in": "query", - "description": "Whether to include confidence intervals in results.", + "description": "How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match.", "schema": { - "type": "boolean", - "default": false + "enum": [ + "and", + "or" + ], + "type": "string" } } ], @@ -3154,15 +3638,257 @@ "items": { "type": "string" } - } + } + }, + { + "name": "useWeightedScoring", + "in": "query", + "description": "Whether to apply weighted scoring to the matrix values.", + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "country", + "in": "query", + "description": "Filter by country.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "language", + "in": "query", + "description": "Filter by language.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "gender", + "in": "query", + "description": "Filter by gender.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "age_bucket", + "in": "query", + "description": "Filter by age_bucket.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "occupation", + "in": "query", + "description": "Filter by occupation.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" }, { - "name": "useWeightedScoring", + "name": "logic", "in": "query", - "description": "Whether to apply weighted scoring to the matrix values.", + "description": "How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match.", "schema": { - "type": "boolean", - "default": false + "enum": [ + "and", + "or" + ], + "type": "string" } } ], @@ -3951,6 +4677,248 @@ "type": "boolean", "default": false } + }, + { + "name": "country", + "in": "query", + "description": "Filter by country.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "language", + "in": "query", + "description": "Filter by language.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "gender", + "in": "query", + "description": "Filter by gender.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "age_bucket", + "in": "query", + "description": "Filter by age_bucket.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "occupation", + "in": "query", + "description": "Filter by occupation.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "logic", + "in": "query", + "description": "How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match.", + "schema": { + "enum": [ + "and", + "or" + ], + "type": "string" + } } ], "responses": { diff --git a/openapi/schemas/rapidata.filtered.openapi.json b/openapi/schemas/rapidata.filtered.openapi.json index 44a9b2b73..6e5aaccf8 100644 --- a/openapi/schemas/rapidata.filtered.openapi.json +++ b/openapi/schemas/rapidata.filtered.openapi.json @@ -8542,6 +8542,248 @@ "type": "boolean", "default": false } + }, + { + "name": "country", + "in": "query", + "description": "Filter by country.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "language", + "in": "query", + "description": "Filter by language.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "gender", + "in": "query", + "description": "Filter by gender.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "age_bucket", + "in": "query", + "description": "Filter by age_bucket.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "occupation", + "in": "query", + "description": "Filter by occupation.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "logic", + "in": "query", + "description": "How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match.", + "schema": { + "enum": [ + "and", + "or" + ], + "type": "string" + } } ], "responses": { @@ -9113,24 +9355,266 @@ "items": { "type": "string" } - } - }, - { - "name": "useWeightedScoring", - "in": "query", - "description": "Whether to apply weighted scoring based on user scores.", - "schema": { - "type": "boolean", - "default": false - } + } + }, + { + "name": "useWeightedScoring", + "in": "query", + "description": "Whether to apply weighted scoring based on user scores.", + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "includeConfidenceIntervals", + "in": "query", + "description": "Whether to include confidence intervals in results.", + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "country", + "in": "query", + "description": "Filter by country.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "language", + "in": "query", + "description": "Filter by language.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "gender", + "in": "query", + "description": "Filter by gender.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "age_bucket", + "in": "query", + "description": "Filter by age_bucket.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "occupation", + "in": "query", + "description": "Filter by occupation.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" }, { - "name": "includeConfidenceIntervals", + "name": "logic", "in": "query", - "description": "Whether to include confidence intervals in results.", + "description": "How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match.", "schema": { - "type": "boolean", - "default": false + "enum": [ + "and", + "or" + ], + "type": "string" } } ], @@ -11251,15 +11735,257 @@ "items": { "type": "string" } - } + } + }, + { + "name": "useWeightedScoring", + "in": "query", + "description": "Whether to apply weighted scoring to the matrix values.", + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "country", + "in": "query", + "description": "Filter by country.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "language", + "in": "query", + "description": "Filter by language.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "gender", + "in": "query", + "description": "Filter by gender.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "age_bucket", + "in": "query", + "description": "Filter by age_bucket.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "occupation", + "in": "query", + "description": "Filter by occupation.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" }, { - "name": "useWeightedScoring", + "name": "logic", "in": "query", - "description": "Whether to apply weighted scoring to the matrix values.", + "description": "How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match.", "schema": { - "type": "boolean", - "default": false + "enum": [ + "and", + "or" + ], + "type": "string" } } ], @@ -12098,6 +12824,248 @@ "type": "boolean", "default": false } + }, + { + "name": "country", + "in": "query", + "description": "Filter by country.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "language", + "in": "query", + "description": "Filter by language.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "gender", + "in": "query", + "description": "Filter by gender.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "age_bucket", + "in": "query", + "description": "Filter by age_bucket.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "occupation", + "in": "query", + "description": "Filter by occupation.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "logic", + "in": "query", + "description": "How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match.", + "schema": { + "enum": [ + "and", + "or" + ], + "type": "string" + } } ], "responses": { diff --git a/openapi/schemas/rapidata.openapi.json b/openapi/schemas/rapidata.openapi.json index 0336a44fb..74f1a59ad 100644 --- a/openapi/schemas/rapidata.openapi.json +++ b/openapi/schemas/rapidata.openapi.json @@ -8592,6 +8592,248 @@ "type": "boolean", "default": false } + }, + { + "name": "country", + "in": "query", + "description": "Filter by country.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "language", + "in": "query", + "description": "Filter by language.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "gender", + "in": "query", + "description": "Filter by gender.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "age_bucket", + "in": "query", + "description": "Filter by age_bucket.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "occupation", + "in": "query", + "description": "Filter by occupation.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "logic", + "in": "query", + "description": "How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match.", + "schema": { + "enum": [ + "and", + "or" + ], + "type": "string" + } } ], "responses": { @@ -9163,24 +9405,266 @@ "items": { "type": "string" } - } - }, - { - "name": "useWeightedScoring", - "in": "query", - "description": "Whether to apply weighted scoring based on user scores.", - "schema": { - "type": "boolean", - "default": false - } + } + }, + { + "name": "useWeightedScoring", + "in": "query", + "description": "Whether to apply weighted scoring based on user scores.", + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "includeConfidenceIntervals", + "in": "query", + "description": "Whether to include confidence intervals in results.", + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "country", + "in": "query", + "description": "Filter by country.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "language", + "in": "query", + "description": "Filter by language.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "gender", + "in": "query", + "description": "Filter by gender.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "age_bucket", + "in": "query", + "description": "Filter by age_bucket.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "occupation", + "in": "query", + "description": "Filter by occupation.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" }, { - "name": "includeConfidenceIntervals", + "name": "logic", "in": "query", - "description": "Whether to include confidence intervals in results.", + "description": "How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match.", "schema": { - "type": "boolean", - "default": false + "enum": [ + "and", + "or" + ], + "type": "string" } } ], @@ -11301,15 +11785,257 @@ "items": { "type": "string" } - } + } + }, + { + "name": "useWeightedScoring", + "in": "query", + "description": "Whether to apply weighted scoring to the matrix values.", + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "country", + "in": "query", + "description": "Filter by country.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "language", + "in": "query", + "description": "Filter by language.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "gender", + "in": "query", + "description": "Filter by gender.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "age_bucket", + "in": "query", + "description": "Filter by age_bucket.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "occupation", + "in": "query", + "description": "Filter by occupation.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" }, { - "name": "useWeightedScoring", + "name": "logic", "in": "query", - "description": "Whether to apply weighted scoring to the matrix values.", + "description": "How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match.", "schema": { - "type": "boolean", - "default": false + "enum": [ + "and", + "or" + ], + "type": "string" } } ], @@ -12148,6 +12874,248 @@ "type": "boolean", "default": false } + }, + { + "name": "country", + "in": "query", + "description": "Filter by country.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "language", + "in": "query", + "description": "Filter by language.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "gender", + "in": "query", + "description": "Filter by gender.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "age_bucket", + "in": "query", + "description": "Filter by age_bucket.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "occupation", + "in": "query", + "description": "Filter by occupation.", + "style": "deepObject", + "explode": true, + "schema": { + "type": "object", + "properties": { + "eq": { + "type": "string" + }, + "neq": { + "type": "string" + }, + "gt": { + "type": "string" + }, + "gte": { + "type": "string" + }, + "lt": { + "type": "string" + }, + "lte": { + "type": "string" + }, + "contains": { + "type": "string" + }, + "starts_with": { + "type": "string" + }, + "ends_with": { + "type": "string" + }, + "in": { + "type": "string" + }, + "not_contains": { + "type": "string" + } + } + }, + "x-parameter-group": "filters" + }, + { + "name": "logic", + "in": "query", + "description": "How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match.", + "schema": { + "enum": [ + "and", + "or" + ], + "type": "string" + } } ], "responses": { diff --git a/src/rapidata/api_client/api/benchmark_api.py b/src/rapidata/api_client/api/benchmark_api.py index dc5a8845f..4c8d6b6f0 100644 --- a/src/rapidata/api_client/api/benchmark_api.py +++ b/src/rapidata/api_client/api/benchmark_api.py @@ -1250,6 +1250,12 @@ def benchmark_benchmark_id_matrix_get( participant_ids: Annotated[Optional[List[StrictStr]], Field(description="Optional participant identifiers to include in the matrix.")] = None, leaderboard_ids: Annotated[Optional[List[StrictStr]], Field(description="Optional leaderboard identifiers to scope the matrix.")] = None, use_weighted_scoring: Annotated[Optional[StrictBool], Field(description="Whether to apply weighted scoring to the matrix values.")] = None, + country: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by country.")] = None, + language: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by language.")] = None, + gender: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by gender.")] = None, + age_bucket: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by age_bucket.")] = None, + occupation: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by occupation.")] = None, + logic: Annotated[Optional[StrictStr], Field(description="How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1277,6 +1283,18 @@ def benchmark_benchmark_id_matrix_get( :type leaderboard_ids: List[str] :param use_weighted_scoring: Whether to apply weighted scoring to the matrix values. :type use_weighted_scoring: bool + :param country: Filter by country. + :type country: AudienceAudienceIdJobsGetJobIdParameter + :param language: Filter by language. + :type language: AudienceAudienceIdJobsGetJobIdParameter + :param gender: Filter by gender. + :type gender: AudienceAudienceIdJobsGetJobIdParameter + :param age_bucket: Filter by age_bucket. + :type age_bucket: AudienceAudienceIdJobsGetJobIdParameter + :param occupation: Filter by occupation. + :type occupation: AudienceAudienceIdJobsGetJobIdParameter + :param logic: How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match. + :type logic: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1305,6 +1323,12 @@ def benchmark_benchmark_id_matrix_get( participant_ids=participant_ids, leaderboard_ids=leaderboard_ids, use_weighted_scoring=use_weighted_scoring, + country=country, + language=language, + gender=gender, + age_bucket=age_bucket, + occupation=occupation, + logic=logic, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1336,6 +1360,12 @@ def benchmark_benchmark_id_matrix_get_with_http_info( participant_ids: Annotated[Optional[List[StrictStr]], Field(description="Optional participant identifiers to include in the matrix.")] = None, leaderboard_ids: Annotated[Optional[List[StrictStr]], Field(description="Optional leaderboard identifiers to scope the matrix.")] = None, use_weighted_scoring: Annotated[Optional[StrictBool], Field(description="Whether to apply weighted scoring to the matrix values.")] = None, + country: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by country.")] = None, + language: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by language.")] = None, + gender: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by gender.")] = None, + age_bucket: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by age_bucket.")] = None, + occupation: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by occupation.")] = None, + logic: Annotated[Optional[StrictStr], Field(description="How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1363,6 +1393,18 @@ def benchmark_benchmark_id_matrix_get_with_http_info( :type leaderboard_ids: List[str] :param use_weighted_scoring: Whether to apply weighted scoring to the matrix values. :type use_weighted_scoring: bool + :param country: Filter by country. + :type country: AudienceAudienceIdJobsGetJobIdParameter + :param language: Filter by language. + :type language: AudienceAudienceIdJobsGetJobIdParameter + :param gender: Filter by gender. + :type gender: AudienceAudienceIdJobsGetJobIdParameter + :param age_bucket: Filter by age_bucket. + :type age_bucket: AudienceAudienceIdJobsGetJobIdParameter + :param occupation: Filter by occupation. + :type occupation: AudienceAudienceIdJobsGetJobIdParameter + :param logic: How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match. + :type logic: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1391,6 +1433,12 @@ def benchmark_benchmark_id_matrix_get_with_http_info( participant_ids=participant_ids, leaderboard_ids=leaderboard_ids, use_weighted_scoring=use_weighted_scoring, + country=country, + language=language, + gender=gender, + age_bucket=age_bucket, + occupation=occupation, + logic=logic, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1422,6 +1470,12 @@ def benchmark_benchmark_id_matrix_get_without_preload_content( participant_ids: Annotated[Optional[List[StrictStr]], Field(description="Optional participant identifiers to include in the matrix.")] = None, leaderboard_ids: Annotated[Optional[List[StrictStr]], Field(description="Optional leaderboard identifiers to scope the matrix.")] = None, use_weighted_scoring: Annotated[Optional[StrictBool], Field(description="Whether to apply weighted scoring to the matrix values.")] = None, + country: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by country.")] = None, + language: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by language.")] = None, + gender: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by gender.")] = None, + age_bucket: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by age_bucket.")] = None, + occupation: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by occupation.")] = None, + logic: Annotated[Optional[StrictStr], Field(description="How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1449,6 +1503,18 @@ def benchmark_benchmark_id_matrix_get_without_preload_content( :type leaderboard_ids: List[str] :param use_weighted_scoring: Whether to apply weighted scoring to the matrix values. :type use_weighted_scoring: bool + :param country: Filter by country. + :type country: AudienceAudienceIdJobsGetJobIdParameter + :param language: Filter by language. + :type language: AudienceAudienceIdJobsGetJobIdParameter + :param gender: Filter by gender. + :type gender: AudienceAudienceIdJobsGetJobIdParameter + :param age_bucket: Filter by age_bucket. + :type age_bucket: AudienceAudienceIdJobsGetJobIdParameter + :param occupation: Filter by occupation. + :type occupation: AudienceAudienceIdJobsGetJobIdParameter + :param logic: How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match. + :type logic: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1477,6 +1543,12 @@ def benchmark_benchmark_id_matrix_get_without_preload_content( participant_ids=participant_ids, leaderboard_ids=leaderboard_ids, use_weighted_scoring=use_weighted_scoring, + country=country, + language=language, + gender=gender, + age_bucket=age_bucket, + occupation=occupation, + logic=logic, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1503,6 +1575,12 @@ def _benchmark_benchmark_id_matrix_get_serialize( participant_ids, leaderboard_ids, use_weighted_scoring, + country, + language, + gender, + age_bucket, + occupation, + logic, _request_auth, _content_type, _headers, @@ -1546,6 +1624,50 @@ def _benchmark_benchmark_id_matrix_get_serialize( _query_params.append(('useWeightedScoring', use_weighted_scoring)) + if country is not None: + _param_val = country + if hasattr(_param_val, 'to_dict'): + _param_val = _param_val.to_dict() + if isinstance(_param_val, dict): + for _k, _v in _param_val.items(): + if _v is not None: + _query_params.append(('country[' + _k + ']', _v)) + if language is not None: + _param_val = language + if hasattr(_param_val, 'to_dict'): + _param_val = _param_val.to_dict() + if isinstance(_param_val, dict): + for _k, _v in _param_val.items(): + if _v is not None: + _query_params.append(('language[' + _k + ']', _v)) + if gender is not None: + _param_val = gender + if hasattr(_param_val, 'to_dict'): + _param_val = _param_val.to_dict() + if isinstance(_param_val, dict): + for _k, _v in _param_val.items(): + if _v is not None: + _query_params.append(('gender[' + _k + ']', _v)) + if age_bucket is not None: + _param_val = age_bucket + if hasattr(_param_val, 'to_dict'): + _param_val = _param_val.to_dict() + if isinstance(_param_val, dict): + for _k, _v in _param_val.items(): + if _v is not None: + _query_params.append(('age_bucket[' + _k + ']', _v)) + if occupation is not None: + _param_val = occupation + if hasattr(_param_val, 'to_dict'): + _param_val = _param_val.to_dict() + if isinstance(_param_val, dict): + for _k, _v in _param_val.items(): + if _v is not None: + _query_params.append(('occupation[' + _k + ']', _v)) + if logic is not None: + + _query_params.append(('logic', logic)) + # process the header parameters # process the form parameters # process the body parameter @@ -4471,6 +4593,12 @@ def benchmark_benchmark_id_standings_get( leaderboard_ids: Annotated[Optional[List[StrictStr]], Field(description="The leaderboard ids to filter by; leave empty for no filter.")] = None, use_weighted_scoring: Annotated[Optional[StrictBool], Field(description="Whether to apply weighted scoring based on user scores.")] = None, include_confidence_intervals: Annotated[Optional[StrictBool], Field(description="Whether to include confidence intervals in results.")] = None, + country: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by country.")] = None, + language: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by language.")] = None, + gender: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by gender.")] = None, + age_bucket: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by age_bucket.")] = None, + occupation: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by occupation.")] = None, + logic: Annotated[Optional[StrictStr], Field(description="How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4499,6 +4627,18 @@ def benchmark_benchmark_id_standings_get( :type use_weighted_scoring: bool :param include_confidence_intervals: Whether to include confidence intervals in results. :type include_confidence_intervals: bool + :param country: Filter by country. + :type country: AudienceAudienceIdJobsGetJobIdParameter + :param language: Filter by language. + :type language: AudienceAudienceIdJobsGetJobIdParameter + :param gender: Filter by gender. + :type gender: AudienceAudienceIdJobsGetJobIdParameter + :param age_bucket: Filter by age_bucket. + :type age_bucket: AudienceAudienceIdJobsGetJobIdParameter + :param occupation: Filter by occupation. + :type occupation: AudienceAudienceIdJobsGetJobIdParameter + :param logic: How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match. + :type logic: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4528,6 +4668,12 @@ def benchmark_benchmark_id_standings_get( leaderboard_ids=leaderboard_ids, use_weighted_scoring=use_weighted_scoring, include_confidence_intervals=include_confidence_intervals, + country=country, + language=language, + gender=gender, + age_bucket=age_bucket, + occupation=occupation, + logic=logic, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4560,6 +4706,12 @@ def benchmark_benchmark_id_standings_get_with_http_info( leaderboard_ids: Annotated[Optional[List[StrictStr]], Field(description="The leaderboard ids to filter by; leave empty for no filter.")] = None, use_weighted_scoring: Annotated[Optional[StrictBool], Field(description="Whether to apply weighted scoring based on user scores.")] = None, include_confidence_intervals: Annotated[Optional[StrictBool], Field(description="Whether to include confidence intervals in results.")] = None, + country: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by country.")] = None, + language: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by language.")] = None, + gender: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by gender.")] = None, + age_bucket: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by age_bucket.")] = None, + occupation: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by occupation.")] = None, + logic: Annotated[Optional[StrictStr], Field(description="How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4588,6 +4740,18 @@ def benchmark_benchmark_id_standings_get_with_http_info( :type use_weighted_scoring: bool :param include_confidence_intervals: Whether to include confidence intervals in results. :type include_confidence_intervals: bool + :param country: Filter by country. + :type country: AudienceAudienceIdJobsGetJobIdParameter + :param language: Filter by language. + :type language: AudienceAudienceIdJobsGetJobIdParameter + :param gender: Filter by gender. + :type gender: AudienceAudienceIdJobsGetJobIdParameter + :param age_bucket: Filter by age_bucket. + :type age_bucket: AudienceAudienceIdJobsGetJobIdParameter + :param occupation: Filter by occupation. + :type occupation: AudienceAudienceIdJobsGetJobIdParameter + :param logic: How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match. + :type logic: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4617,6 +4781,12 @@ def benchmark_benchmark_id_standings_get_with_http_info( leaderboard_ids=leaderboard_ids, use_weighted_scoring=use_weighted_scoring, include_confidence_intervals=include_confidence_intervals, + country=country, + language=language, + gender=gender, + age_bucket=age_bucket, + occupation=occupation, + logic=logic, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4649,6 +4819,12 @@ def benchmark_benchmark_id_standings_get_without_preload_content( leaderboard_ids: Annotated[Optional[List[StrictStr]], Field(description="The leaderboard ids to filter by; leave empty for no filter.")] = None, use_weighted_scoring: Annotated[Optional[StrictBool], Field(description="Whether to apply weighted scoring based on user scores.")] = None, include_confidence_intervals: Annotated[Optional[StrictBool], Field(description="Whether to include confidence intervals in results.")] = None, + country: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by country.")] = None, + language: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by language.")] = None, + gender: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by gender.")] = None, + age_bucket: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by age_bucket.")] = None, + occupation: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by occupation.")] = None, + logic: Annotated[Optional[StrictStr], Field(description="How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4677,6 +4853,18 @@ def benchmark_benchmark_id_standings_get_without_preload_content( :type use_weighted_scoring: bool :param include_confidence_intervals: Whether to include confidence intervals in results. :type include_confidence_intervals: bool + :param country: Filter by country. + :type country: AudienceAudienceIdJobsGetJobIdParameter + :param language: Filter by language. + :type language: AudienceAudienceIdJobsGetJobIdParameter + :param gender: Filter by gender. + :type gender: AudienceAudienceIdJobsGetJobIdParameter + :param age_bucket: Filter by age_bucket. + :type age_bucket: AudienceAudienceIdJobsGetJobIdParameter + :param occupation: Filter by occupation. + :type occupation: AudienceAudienceIdJobsGetJobIdParameter + :param logic: How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match. + :type logic: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4706,6 +4894,12 @@ def benchmark_benchmark_id_standings_get_without_preload_content( leaderboard_ids=leaderboard_ids, use_weighted_scoring=use_weighted_scoring, include_confidence_intervals=include_confidence_intervals, + country=country, + language=language, + gender=gender, + age_bucket=age_bucket, + occupation=occupation, + logic=logic, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4733,6 +4927,12 @@ def _benchmark_benchmark_id_standings_get_serialize( leaderboard_ids, use_weighted_scoring, include_confidence_intervals, + country, + language, + gender, + age_bucket, + occupation, + logic, _request_auth, _content_type, _headers, @@ -4780,6 +4980,50 @@ def _benchmark_benchmark_id_standings_get_serialize( _query_params.append(('includeConfidenceIntervals', include_confidence_intervals)) + if country is not None: + _param_val = country + if hasattr(_param_val, 'to_dict'): + _param_val = _param_val.to_dict() + if isinstance(_param_val, dict): + for _k, _v in _param_val.items(): + if _v is not None: + _query_params.append(('country[' + _k + ']', _v)) + if language is not None: + _param_val = language + if hasattr(_param_val, 'to_dict'): + _param_val = _param_val.to_dict() + if isinstance(_param_val, dict): + for _k, _v in _param_val.items(): + if _v is not None: + _query_params.append(('language[' + _k + ']', _v)) + if gender is not None: + _param_val = gender + if hasattr(_param_val, 'to_dict'): + _param_val = _param_val.to_dict() + if isinstance(_param_val, dict): + for _k, _v in _param_val.items(): + if _v is not None: + _query_params.append(('gender[' + _k + ']', _v)) + if age_bucket is not None: + _param_val = age_bucket + if hasattr(_param_val, 'to_dict'): + _param_val = _param_val.to_dict() + if isinstance(_param_val, dict): + for _k, _v in _param_val.items(): + if _v is not None: + _query_params.append(('age_bucket[' + _k + ']', _v)) + if occupation is not None: + _param_val = occupation + if hasattr(_param_val, 'to_dict'): + _param_val = _param_val.to_dict() + if isinstance(_param_val, dict): + for _k, _v in _param_val.items(): + if _v is not None: + _query_params.append(('occupation[' + _k + ']', _v)) + if logic is not None: + + _query_params.append(('logic', logic)) + # process the header parameters # process the form parameters # process the body parameter diff --git a/src/rapidata/api_client/api/leaderboard_api.py b/src/rapidata/api_client/api/leaderboard_api.py index 7493235fa..9a992827d 100644 --- a/src/rapidata/api_client/api/leaderboard_api.py +++ b/src/rapidata/api_client/api/leaderboard_api.py @@ -1767,6 +1767,12 @@ def leaderboard_leaderboard_id_matrix_get( leaderboard_id: Annotated[StrictStr, Field(description="The identifier of the leaderboard.")], tags: Annotated[Optional[List[StrictStr]], Field(description="Optional tags to filter the matrix entries.")] = None, use_weighted_scoring: Annotated[Optional[StrictBool], Field(description="Whether to apply weighted scoring to the matrix values.")] = None, + country: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by country.")] = None, + language: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by language.")] = None, + gender: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by gender.")] = None, + age_bucket: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by age_bucket.")] = None, + occupation: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by occupation.")] = None, + logic: Annotated[Optional[StrictStr], Field(description="How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1790,6 +1796,18 @@ def leaderboard_leaderboard_id_matrix_get( :type tags: List[str] :param use_weighted_scoring: Whether to apply weighted scoring to the matrix values. :type use_weighted_scoring: bool + :param country: Filter by country. + :type country: AudienceAudienceIdJobsGetJobIdParameter + :param language: Filter by language. + :type language: AudienceAudienceIdJobsGetJobIdParameter + :param gender: Filter by gender. + :type gender: AudienceAudienceIdJobsGetJobIdParameter + :param age_bucket: Filter by age_bucket. + :type age_bucket: AudienceAudienceIdJobsGetJobIdParameter + :param occupation: Filter by occupation. + :type occupation: AudienceAudienceIdJobsGetJobIdParameter + :param logic: How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match. + :type logic: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1816,6 +1834,12 @@ def leaderboard_leaderboard_id_matrix_get( leaderboard_id=leaderboard_id, tags=tags, use_weighted_scoring=use_weighted_scoring, + country=country, + language=language, + gender=gender, + age_bucket=age_bucket, + occupation=occupation, + logic=logic, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1845,6 +1869,12 @@ def leaderboard_leaderboard_id_matrix_get_with_http_info( leaderboard_id: Annotated[StrictStr, Field(description="The identifier of the leaderboard.")], tags: Annotated[Optional[List[StrictStr]], Field(description="Optional tags to filter the matrix entries.")] = None, use_weighted_scoring: Annotated[Optional[StrictBool], Field(description="Whether to apply weighted scoring to the matrix values.")] = None, + country: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by country.")] = None, + language: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by language.")] = None, + gender: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by gender.")] = None, + age_bucket: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by age_bucket.")] = None, + occupation: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by occupation.")] = None, + logic: Annotated[Optional[StrictStr], Field(description="How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1868,6 +1898,18 @@ def leaderboard_leaderboard_id_matrix_get_with_http_info( :type tags: List[str] :param use_weighted_scoring: Whether to apply weighted scoring to the matrix values. :type use_weighted_scoring: bool + :param country: Filter by country. + :type country: AudienceAudienceIdJobsGetJobIdParameter + :param language: Filter by language. + :type language: AudienceAudienceIdJobsGetJobIdParameter + :param gender: Filter by gender. + :type gender: AudienceAudienceIdJobsGetJobIdParameter + :param age_bucket: Filter by age_bucket. + :type age_bucket: AudienceAudienceIdJobsGetJobIdParameter + :param occupation: Filter by occupation. + :type occupation: AudienceAudienceIdJobsGetJobIdParameter + :param logic: How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match. + :type logic: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1894,6 +1936,12 @@ def leaderboard_leaderboard_id_matrix_get_with_http_info( leaderboard_id=leaderboard_id, tags=tags, use_weighted_scoring=use_weighted_scoring, + country=country, + language=language, + gender=gender, + age_bucket=age_bucket, + occupation=occupation, + logic=logic, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1923,6 +1971,12 @@ def leaderboard_leaderboard_id_matrix_get_without_preload_content( leaderboard_id: Annotated[StrictStr, Field(description="The identifier of the leaderboard.")], tags: Annotated[Optional[List[StrictStr]], Field(description="Optional tags to filter the matrix entries.")] = None, use_weighted_scoring: Annotated[Optional[StrictBool], Field(description="Whether to apply weighted scoring to the matrix values.")] = None, + country: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by country.")] = None, + language: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by language.")] = None, + gender: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by gender.")] = None, + age_bucket: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by age_bucket.")] = None, + occupation: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by occupation.")] = None, + logic: Annotated[Optional[StrictStr], Field(description="How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1946,6 +2000,18 @@ def leaderboard_leaderboard_id_matrix_get_without_preload_content( :type tags: List[str] :param use_weighted_scoring: Whether to apply weighted scoring to the matrix values. :type use_weighted_scoring: bool + :param country: Filter by country. + :type country: AudienceAudienceIdJobsGetJobIdParameter + :param language: Filter by language. + :type language: AudienceAudienceIdJobsGetJobIdParameter + :param gender: Filter by gender. + :type gender: AudienceAudienceIdJobsGetJobIdParameter + :param age_bucket: Filter by age_bucket. + :type age_bucket: AudienceAudienceIdJobsGetJobIdParameter + :param occupation: Filter by occupation. + :type occupation: AudienceAudienceIdJobsGetJobIdParameter + :param logic: How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match. + :type logic: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1972,6 +2038,12 @@ def leaderboard_leaderboard_id_matrix_get_without_preload_content( leaderboard_id=leaderboard_id, tags=tags, use_weighted_scoring=use_weighted_scoring, + country=country, + language=language, + gender=gender, + age_bucket=age_bucket, + occupation=occupation, + logic=logic, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1996,6 +2068,12 @@ def _leaderboard_leaderboard_id_matrix_get_serialize( leaderboard_id, tags, use_weighted_scoring, + country, + language, + gender, + age_bucket, + occupation, + logic, _request_auth, _content_type, _headers, @@ -2029,6 +2107,50 @@ def _leaderboard_leaderboard_id_matrix_get_serialize( _query_params.append(('useWeightedScoring', use_weighted_scoring)) + if country is not None: + _param_val = country + if hasattr(_param_val, 'to_dict'): + _param_val = _param_val.to_dict() + if isinstance(_param_val, dict): + for _k, _v in _param_val.items(): + if _v is not None: + _query_params.append(('country[' + _k + ']', _v)) + if language is not None: + _param_val = language + if hasattr(_param_val, 'to_dict'): + _param_val = _param_val.to_dict() + if isinstance(_param_val, dict): + for _k, _v in _param_val.items(): + if _v is not None: + _query_params.append(('language[' + _k + ']', _v)) + if gender is not None: + _param_val = gender + if hasattr(_param_val, 'to_dict'): + _param_val = _param_val.to_dict() + if isinstance(_param_val, dict): + for _k, _v in _param_val.items(): + if _v is not None: + _query_params.append(('gender[' + _k + ']', _v)) + if age_bucket is not None: + _param_val = age_bucket + if hasattr(_param_val, 'to_dict'): + _param_val = _param_val.to_dict() + if isinstance(_param_val, dict): + for _k, _v in _param_val.items(): + if _v is not None: + _query_params.append(('age_bucket[' + _k + ']', _v)) + if occupation is not None: + _param_val = occupation + if hasattr(_param_val, 'to_dict'): + _param_val = _param_val.to_dict() + if isinstance(_param_val, dict): + for _k, _v in _param_val.items(): + if _v is not None: + _query_params.append(('occupation[' + _k + ']', _v)) + if logic is not None: + + _query_params.append(('logic', logic)) + # process the header parameters # process the form parameters # process the body parameter @@ -4820,6 +4942,12 @@ def leaderboard_leaderboard_id_standings_get( tags: Annotated[Optional[List[StrictStr]], Field(description="The tags the standings should be filtered by.")] = None, use_weighted_scoring: Annotated[Optional[StrictBool], Field(description="Whether to use weighted scoring based on user scores.")] = None, include_confidence_intervals: Annotated[Optional[StrictBool], Field(description="Whether to include confidence intervals in results.")] = None, + country: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by country.")] = None, + language: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by language.")] = None, + gender: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by gender.")] = None, + age_bucket: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by age_bucket.")] = None, + occupation: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by occupation.")] = None, + logic: Annotated[Optional[StrictStr], Field(description="How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4844,6 +4972,18 @@ def leaderboard_leaderboard_id_standings_get( :type use_weighted_scoring: bool :param include_confidence_intervals: Whether to include confidence intervals in results. :type include_confidence_intervals: bool + :param country: Filter by country. + :type country: AudienceAudienceIdJobsGetJobIdParameter + :param language: Filter by language. + :type language: AudienceAudienceIdJobsGetJobIdParameter + :param gender: Filter by gender. + :type gender: AudienceAudienceIdJobsGetJobIdParameter + :param age_bucket: Filter by age_bucket. + :type age_bucket: AudienceAudienceIdJobsGetJobIdParameter + :param occupation: Filter by occupation. + :type occupation: AudienceAudienceIdJobsGetJobIdParameter + :param logic: How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match. + :type logic: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4871,6 +5011,12 @@ def leaderboard_leaderboard_id_standings_get( tags=tags, use_weighted_scoring=use_weighted_scoring, include_confidence_intervals=include_confidence_intervals, + country=country, + language=language, + gender=gender, + age_bucket=age_bucket, + occupation=occupation, + logic=logic, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4901,6 +5047,12 @@ def leaderboard_leaderboard_id_standings_get_with_http_info( tags: Annotated[Optional[List[StrictStr]], Field(description="The tags the standings should be filtered by.")] = None, use_weighted_scoring: Annotated[Optional[StrictBool], Field(description="Whether to use weighted scoring based on user scores.")] = None, include_confidence_intervals: Annotated[Optional[StrictBool], Field(description="Whether to include confidence intervals in results.")] = None, + country: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by country.")] = None, + language: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by language.")] = None, + gender: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by gender.")] = None, + age_bucket: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by age_bucket.")] = None, + occupation: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by occupation.")] = None, + logic: Annotated[Optional[StrictStr], Field(description="How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4925,6 +5077,18 @@ def leaderboard_leaderboard_id_standings_get_with_http_info( :type use_weighted_scoring: bool :param include_confidence_intervals: Whether to include confidence intervals in results. :type include_confidence_intervals: bool + :param country: Filter by country. + :type country: AudienceAudienceIdJobsGetJobIdParameter + :param language: Filter by language. + :type language: AudienceAudienceIdJobsGetJobIdParameter + :param gender: Filter by gender. + :type gender: AudienceAudienceIdJobsGetJobIdParameter + :param age_bucket: Filter by age_bucket. + :type age_bucket: AudienceAudienceIdJobsGetJobIdParameter + :param occupation: Filter by occupation. + :type occupation: AudienceAudienceIdJobsGetJobIdParameter + :param logic: How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match. + :type logic: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4952,6 +5116,12 @@ def leaderboard_leaderboard_id_standings_get_with_http_info( tags=tags, use_weighted_scoring=use_weighted_scoring, include_confidence_intervals=include_confidence_intervals, + country=country, + language=language, + gender=gender, + age_bucket=age_bucket, + occupation=occupation, + logic=logic, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4982,6 +5152,12 @@ def leaderboard_leaderboard_id_standings_get_without_preload_content( tags: Annotated[Optional[List[StrictStr]], Field(description="The tags the standings should be filtered by.")] = None, use_weighted_scoring: Annotated[Optional[StrictBool], Field(description="Whether to use weighted scoring based on user scores.")] = None, include_confidence_intervals: Annotated[Optional[StrictBool], Field(description="Whether to include confidence intervals in results.")] = None, + country: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by country.")] = None, + language: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by language.")] = None, + gender: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by gender.")] = None, + age_bucket: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by age_bucket.")] = None, + occupation: Annotated[Optional[AudienceAudienceIdJobsGetJobIdParameter], Field(description="Filter by occupation.")] = None, + logic: Annotated[Optional[StrictStr], Field(description="How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -5006,6 +5182,18 @@ def leaderboard_leaderboard_id_standings_get_without_preload_content( :type use_weighted_scoring: bool :param include_confidence_intervals: Whether to include confidence intervals in results. :type include_confidence_intervals: bool + :param country: Filter by country. + :type country: AudienceAudienceIdJobsGetJobIdParameter + :param language: Filter by language. + :type language: AudienceAudienceIdJobsGetJobIdParameter + :param gender: Filter by gender. + :type gender: AudienceAudienceIdJobsGetJobIdParameter + :param age_bucket: Filter by age_bucket. + :type age_bucket: AudienceAudienceIdJobsGetJobIdParameter + :param occupation: Filter by occupation. + :type occupation: AudienceAudienceIdJobsGetJobIdParameter + :param logic: How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match. + :type logic: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -5033,6 +5221,12 @@ def leaderboard_leaderboard_id_standings_get_without_preload_content( tags=tags, use_weighted_scoring=use_weighted_scoring, include_confidence_intervals=include_confidence_intervals, + country=country, + language=language, + gender=gender, + age_bucket=age_bucket, + occupation=occupation, + logic=logic, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -5058,6 +5252,12 @@ def _leaderboard_leaderboard_id_standings_get_serialize( tags, use_weighted_scoring, include_confidence_intervals, + country, + language, + gender, + age_bucket, + occupation, + logic, _request_auth, _content_type, _headers, @@ -5095,6 +5295,50 @@ def _leaderboard_leaderboard_id_standings_get_serialize( _query_params.append(('includeConfidenceIntervals', include_confidence_intervals)) + if country is not None: + _param_val = country + if hasattr(_param_val, 'to_dict'): + _param_val = _param_val.to_dict() + if isinstance(_param_val, dict): + for _k, _v in _param_val.items(): + if _v is not None: + _query_params.append(('country[' + _k + ']', _v)) + if language is not None: + _param_val = language + if hasattr(_param_val, 'to_dict'): + _param_val = _param_val.to_dict() + if isinstance(_param_val, dict): + for _k, _v in _param_val.items(): + if _v is not None: + _query_params.append(('language[' + _k + ']', _v)) + if gender is not None: + _param_val = gender + if hasattr(_param_val, 'to_dict'): + _param_val = _param_val.to_dict() + if isinstance(_param_val, dict): + for _k, _v in _param_val.items(): + if _v is not None: + _query_params.append(('gender[' + _k + ']', _v)) + if age_bucket is not None: + _param_val = age_bucket + if hasattr(_param_val, 'to_dict'): + _param_val = _param_val.to_dict() + if isinstance(_param_val, dict): + for _k, _v in _param_val.items(): + if _v is not None: + _query_params.append(('age_bucket[' + _k + ']', _v)) + if occupation is not None: + _param_val = occupation + if hasattr(_param_val, 'to_dict'): + _param_val = _param_val.to_dict() + if isinstance(_param_val, dict): + for _k, _v in _param_val.items(): + if _v is not None: + _query_params.append(('occupation[' + _k + ']', _v)) + if logic is not None: + + _query_params.append(('logic', logic)) + # process the header parameters # process the form parameters # process the body parameter