Skip to content

Add ability to coexist with pyepics#36

Merged
coretl merged 2 commits into
masterfrom
coexist
Apr 6, 2023
Merged

Add ability to coexist with pyepics#36
coretl merged 2 commits into
masterfrom
coexist

Conversation

@coretl

@coretl coretl commented Apr 6, 2023

Copy link
Copy Markdown
Contributor

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:

  • Use aioca and pyepics in different threads
  • Use aioca and pyepics in the same thread as long as pyepics is imported before
    aioca is first used

@codecov

codecov Bot commented Apr 6, 2023

Copy link
Copy Markdown

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant