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

Major codebase refactoring #41

Merged
merged 23 commits into from Jan 11, 2021
Merged

Major codebase refactoring #41

merged 23 commits into from Jan 11, 2021

Conversation

HazardDede
Copy link
Owner

@HazardDede HazardDede commented Dec 21, 2020

Refactors the plugin interface to better distinguish sync / async plugins to provide a simpler end-user interface


Introduces runner to start up an application context

Two different types by now:

  • General (non api) runner to run the async engine in it's
    own main loop
  • API Aware runner to spin off an api and run the engine in
    the apis event loop

Migrates from attrs to pydantic for container objects


Updates all dependencies to latest constrained version (if possible)


Removes enable_swagger from the api configuration properties


Replaces auto_str decorator by ReprMixin based on basic_repr from fastcore package

Separates SyncPull and AsyncPull
Separates Sync/Async pulls
* Removes push.mail.GMail
* Removes push.notify.Pushbullet
Two different types by now:
* General (non api) runner to run the async engine in it's
  own main loop
* API Aware runner to spin off an api and run the engine in
  the apis event loop

Migrates from attrs to pydantic for container objects
@HazardDede HazardDede self-assigned this Dec 21, 2020
@HazardDede HazardDede merged commit 33da19e into develop Jan 11, 2021
@HazardDede HazardDede deleted the refactor/plugin_interfaces branch January 11, 2021 21:24
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.

None yet

1 participant