bool is a subclass of int, which means they are both natural numbers. Natural numbers are a subset of real numbers, so they are acceptable where a float is acceptable. That int is acceptable where float is specified is explicitly called out in PEP 484 -- Type Hints:PEP 484 -- Type Hints:
Ребят, не могу разобраться с Request с конечной точкой. Допустим у меня есть сайт https://example.com и конечная точка /api/v1/get_listbook, как мне записать параметры и вообще строчку кода?