Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:alexdlaird/pyngrok into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdlaird committed Aug 27, 2023
2 parents 9513c20 + c13b837 commit 356c05a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

## [Unreleased](https://github.com/alexdlaird/pyngrok/compare/6.0.0...HEAD)
### Added
- Documentation improvements.
- Test improvements.

## [6.0.0](https://github.com/alexdlaird/pyngrok/compare/5.2.3...6.0.0) - 2023-04-12
Expand Down
6 changes: 3 additions & 3 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Sphinx
sphinx_rtd_theme
sphinx-notfound-page
Sphinx<7.2
sphinx_rtd_theme<1.4
sphinx-notfound-page<1.0
5 changes: 3 additions & 2 deletions pyngrok/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ class PyngrokConfig:
:var monitor_thread: Whether ``ngrok`` should continue to be monitored (for logs, etc.) after startup
is complete.
:vartype monitor_thread: bool
:var log_event_callback: A callback that will be invoked each time ``ngrok`` emits a log. ``monitor_thread``
must be set to ``True`` or the function will stop being called after ``ngrok`` finishes starting.
:var log_event_callback: A callback that will be invoked each time ``ngrok`` emits a log. The function should take
one argument of type :py:class:`str`. ``monitor_thread`` must be set to ``True`` or the function will stop being called
after ``ngrok`` finishes starting.
:vartype log_event_callback: types.FunctionType
:var startup_timeout: The max number of seconds to wait for ``ngrok`` to start before timing out.
:vartype startup_timeout: int
Expand Down

0 comments on commit 356c05a

Please sign in to comment.