Skip to content
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

Added swappable backends for Logot.wait_for() and Logot.await_for() #78

Merged
merged 52 commits into from
Feb 6, 2024

Conversation

etianen
Copy link
Owner

@etianen etianen commented Feb 4, 2024

  • Refactored protected hidden attrs on AbstractWaiter to a separate private _Wait class.
  • Refactored AbtractWaiter to a Protocol to allow direct implementation by Lock.
  • Added an optimized fast-path for log patterns that can be reduced immediately without waiting.
  • Improve pytest tests to allow for more complex expected values.

See #79, #24

@etianen etianen added the enhancement New feature or request label Feb 4, 2024
@etianen etianen mentioned this pull request Feb 5, 2024
@etianen etianen marked this pull request as ready for review February 6, 2024 15:23
@etianen etianen merged commit ff2caa3 into main Feb 6, 2024
11 checks passed
@etianen etianen deleted the dh/waiter-backens branch February 6, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant