Adds a parallel parameter to pybaseball.statcast(). If False, requests will be made sequentially rather than through a ProcessPoolExecutor.
The motivation for this is that I was trying to call the function in an AWS lambda function, where all multiprocessing is disabled. This might be a somewhat niche use case, so no worries if you don't want it. I didn't look into covering it in the tests, but I'm happy to.
Adds a
parallel
parameter topybaseball.statcast()
. IfFalse
, requests will be made sequentially rather than through aProcessPoolExecutor
.The motivation for this is that I was trying to call the function in an AWS lambda function, where all multiprocessing is disabled. This might be a somewhat niche use case, so no worries if you don't want it. I didn't look into covering it in the tests, but I'm happy to.