-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix timeout errors and apply some enhancements
* Add `timeout` parameter to creation of `Elasticsearch` object with arbitrary value 60 * Add `request_timeout` parameter to `elasticsearch1.helpers.scan` function invocation with arbitrary value 3600 * transform_result function to a loop with 1 try-except block instead * Change mode from 'a' to 'w' for all "data frame to csv" output files * Remove try-except blocks in favor of `.get()` with default value * Refactor to avoid using loop * Fix up documentation Co-authored-by: Rohit Mohnani <[email protected]>
- Loading branch information
Showing
3 changed files
with
30 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters