Skip to content

fix: make polling interval configurable through Settings #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 9, 2023

Conversation

s0h3yl
Copy link
Contributor

@s0h3yl s0h3yl commented Jun 9, 2023

Changes

Allow users to change the polling interval (used for e.g. polling the Transcript's status) through the global settings:

Example:

import assemblyai as aai

aai.settings.polling_interval = 0.5

or via the environment variable ASSEMBLYAI_POLLING_INTERVAL.

@s0h3yl s0h3yl self-assigned this Jun 9, 2023
@s0h3yl s0h3yl merged commit 9e5ae41 into master Jun 9, 2023
@s0h3yl s0h3yl deleted the s0h3yl/add-polling-interval branch June 9, 2023 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant