dls-controls / aioca

Asynchronous Channel Access client for asyncio and Python using libca via ctypes
Apache License 2.0
6 stars 3 forks source link

Add ability to coexist with pyepics #36

Closed coretl closed 1 year ago

coretl commented 1 year ago

To ensure some level of interoperability, aioca will only create (and destroy) its own CA context if there is not one set for the asyncio event loop thread. This means that it is safe to:

codecov[bot] commented 1 year ago

Codecov Report

Merging #36 (7f157cd) into master (146dbaf) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #36   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         3    +1     
  Lines          428       446   +18     
=========================================
+ Hits           428       446   +18     
Impacted Files Coverage Δ
aioca/_catools.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.