-
Notifications
You must be signed in to change notification settings - Fork 84
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
feat: custom sms provider using config #562
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additionally this will need a changelog file / sign-off as the PR template says.
@@ -33,6 +35,16 @@ def parse_config(self, cfg: "ConfigParser") -> bool: | |||
self.api_username = cfg.get("sms", "username").encode("UTF-8") | |||
self.api_password = cfg.get("sms", "password").encode("UTF-8") | |||
|
|||
self.provider_class = sydent.sms.openmarket.OpenMarketSMS | |||
try: | |||
sms_provider = cfg.get("sms", "provider") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add documentation for this configuration option.
@AzikDeveloper Do you have interest in finishing this off? See the comments above. |
Pull Request Checklist
EventStore
toEventWorkerStore
.".code blocks
.