• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Knio / dominate / 7316727456 / 7
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 24 Dec 2023 08:33PM UTC
Files 8
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Dec 2023 08:32PM UTC coverage: 100.0%. Remained the same
7316727456.7

push

github

web-flow
Allow dominate to work in async contexts (#187)

* Allow dominate to work in async contexts

Using ContextVars to allow dominate to work within async contexts. Added
unit tests to ensure code works as expected.

* Small Fixes

 - Added .venv and .envrc to .gitignore (I use direnv and venv to keep
   my python environments isolated - I hope this is okay!)
 - Removed print statements I left in dom_tag during debugging
 - Replaced global incrementing int with UUID for contextvar ID
   generation - this zeroes the risk of race-hazards/collisions
 - _get_thread_context now returns a tuple vs. a hash of a tuple.
   Functionally not much changes - the underlying dictionary will still
   use the same hashing function but the only difference is that _if_
   there is a collision, the dictionary will still be able to return the
   correct element

---------

Co-authored-by: tlonny <tlonny@lonnycore.lonny.zone>

787 of 787 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 7316727456.7
  • Tree
  • List 8
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7316727456
  • d72dca85 on github
  • Prev Job for on master (#6763408699.1)
  • Next Job for on master (#7316770643.4)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc