Skip to content
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

28 modularize data adapters #44

Merged
merged 2 commits into from
Sep 26, 2023
Merged

Conversation

the-other-james
Copy link
Contributor

Closes #28

Data sources are now imported in the same way that plugins are: a file name is defined in the config file and imported with importlib.util.spec_from_file_location/module_from_spec.

Removed two unused config options.

Unit tests work on my local set. Also tested by moving the csv_parser.py out of the source tree and specifying the new location in the default .ini.

Copy link
Contributor

@Evana13G Evana13G left a comment

Choose a reason for hiding this comment

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

I ran the code and test. I walked through the changes made and I have no comments or concerns.

@the-other-james the-other-james merged commit 38ac623 into main Sep 26, 2023
2 checks passed
the-other-james added a commit to dennisafa/OnAIR that referenced this pull request Feb 23, 2024
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.

Modularize adapter usage by system
3 participants