|
16 | 16 | QuestionType, |
17 | 17 | SearchType, |
18 | 18 | Tossup, |
19 | | - UnnormalizedDifficulty, |
| 19 | + UnnormalizedAlternateSubcategory, |
20 | 20 | UnnormalizedCategory, |
| 21 | + UnnormalizedDifficulty, |
21 | 22 | UnnormalizedSubcategory, |
22 | | - UnnormalizedAlternateSubcategory, |
23 | 23 | Year, |
24 | 24 | ) |
25 | 25 |
|
@@ -81,10 +81,11 @@ class type. |
81 | 81 | The subcategories to search for. Can be a single or an array of |
82 | 82 | `Subcategory` enums or strings. The API does not check for consistency |
83 | 83 | between categories and subcategories. |
84 | | - alternate_subcategories: qbreaader.types.UnnormalizedAlternateSubcategory, optional |
| 84 | + alternate_subcategories: qbreaader.types.UnnormalizedAlternateSubcategory,\ |
| 85 | + optional |
85 | 86 | The alternates subcategories to search for. Can be a single or an array of |
86 | | - `AlternateSubcategory` enum variants or strings. The API does not check for consistency |
87 | | - between categories, subcategories, and alternate subcategories. |
| 87 | + `AlternateSubcategory` enum variants or strings. The API does not check for |
| 88 | + consistency between categories, subcategories, and alternate subcategories. |
88 | 89 | maxReturnLength : int, default = 25 |
89 | 90 | The maximum number of questions to return. |
90 | 91 | tossupPagination : int, default = 1 |
@@ -209,10 +210,11 @@ def random_tossup( |
209 | 210 | The subcategories to search for. Can be a single or an array of |
210 | 211 | `Subcategory` enums or strings. The API does not check for consistency |
211 | 212 | between categories and subcategories. |
212 | | - alternate_subcategories: qbreaader.types.UnnormalizedAlternateSubcategory, optional |
| 213 | + alternate_subcategories: qbreaader.types.UnnormalizedAlternateSubcategory, |
| 214 | + optional |
213 | 215 | The alternates subcategories to search for. Can be a single or an array of |
214 | | - `AlternateSubcategory` enum variants or strings. The API does not check for consistency |
215 | | - between categories, subcategories, and alternate subcategories. |
| 216 | + `AlternateSubcategory` enum variants or strings. The API does not check for |
| 217 | + consistency between categories, subcategories, and alternate subcategories. |
216 | 218 | number : int, default = 1 |
217 | 219 | The number of tossups to return. |
218 | 220 | min_year : int, default = Year.MIN_YEAR |
@@ -283,19 +285,20 @@ def random_bonus( |
283 | 285 | Parameters |
284 | 286 | ---------- |
285 | 287 | difficulties : qbreader.types.UnnormalizedDifficulty, optional |
286 | | - The difficulties to search for. Can be a single or an array of `Difficulty` |
287 | | - enums, strings, or integers. |
| 288 | + The difficulties to search for. Can be a single or an array of |
| 289 | + `Difficulty` enums, strings, or integers. |
288 | 290 | categories : qbreader.types.UnnormalizedCategory, optional |
289 | | - The categories to search for. Can be a single or an array of `Category` |
290 | | - enums or strings. |
| 291 | + The categories to search for. Can be a single or an array of |
| 292 | + `Category` enums or strings. |
291 | 293 | subcategories : qbreader.types.UnnormalizedSubcategory, optional |
292 | 294 | The subcategories to search for. Can be a single or an array of |
293 | 295 | `Subcategory` enums or strings. The API does not check for consistency |
294 | 296 | between categories and subcategories. |
295 | | - alternate_subcategories: qbreaader.types.UnnormalizedAlternateSubcategory, optional |
| 297 | + alternate_subcategories : qbreaader.types.UnnormalizedAlternateSubcategory, |
| 298 | + optional |
296 | 299 | The alternates subcategories to search for. Can be a single or an array of |
297 | | - `AlternateSubcategory` enum variants or strings. The API does not check for consistency |
298 | | - between categories, subcategories, and alternate subcategories. |
| 300 | + `AlternateSubcategory` enum variants or strings. The API does not check for |
| 301 | + consistency between categories, subcategories, and alternate subcategories. |
299 | 302 | number : int, default = 1 |
300 | 303 | The number of bonuses to return. |
301 | 304 | min_year : int, default = Year.MIN_YEAR |
|
0 commit comments