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

Knio / dominate / 7316727456
100%

Build:
DEFAULT BRANCH: master
Ran 24 Dec 2023 08:33PM UTC
Jobs 7
Files 8
Run time 1s
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

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>

15 of 15 new or added lines in 1 file covered. (100.0%)

787 of 787 relevant lines covered (100.0%)

6.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7316727456.1 24 Dec 2023 08:33PM UTC 8
100.0
2 7316727456.2 24 Dec 2023 08:33PM UTC 8
100.0
3 7316727456.3 24 Dec 2023 08:33PM UTC 8
100.0
4 7316727456.4 24 Dec 2023 08:33PM UTC 8
100.0
5 7316727456.5 24 Dec 2023 08:33PM UTC 8
100.0
6 7316727456.6 24 Dec 2023 08:33PM UTC 8
100.0
7 7316727456.7 24 Dec 2023 08:33PM UTC 8
100.0
Source Files on build 7316727456
  • Tree
  • List 8
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d72dca85 on github
  • Prev Build on master (#6763408699)
  • Next Build on master (#7316770643)
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

© 2025 Coveralls, Inc