Skip to content

Adding plugin support to can.io Reader/Writer #783

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

Merged
merged 5 commits into from
Mar 2, 2020

Conversation

sou1hacker
Copy link
Contributor

Allows users to plug in their own reader/writer implementation to can.io functions. Similar to how we have plugin support for can interfaces (BACKENDS)

@codecov
Copy link

codecov bot commented Feb 28, 2020

Codecov Report

Merging #783 into develop will increase coverage by 0.04%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #783      +/-   ##
===========================================
+ Coverage    69.48%   69.52%   +0.04%     
===========================================
  Files           70       70              
  Lines         6535     6544       +9     
===========================================
+ Hits          4541     4550       +9     
  Misses        1994     1994              

Copy link
Collaborator

@felixdivo felixdivo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds good

@hardbyte hardbyte merged commit 780db5c into hardbyte:develop Mar 2, 2020
if not Logger.fetched_plugins:
Logger.message_writers.update(
{
writer.name: writer.load()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@felixdivo @sou1hacker
This is quite old, but is this load method actually documented anywhere?

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.

5 participants