sijis on master
Update README.md with new URL (… (compare)
@JothimaniRkrish_twitter: you can create your own webhook for a healthcheck.
For exception handling, not at a core level. You can configure custom/internal plugins to use whatever apm system of your choice.
errbot | 2022-06-29 14:57:08,698 ERROR slack_sdk.socket_mode.builtin.client Failed to run a request listener: 'event' errbot | Traceback (most recent call last): errbot | File "/usr/local/lib/python3.8/site-packages/slack_sdk/socket_mode/client.py", line 143, in run_message_listeners errbot | listener(self, request) # type: ignore errbot | File "/home/errbot/backends/slackv3/slackv3.py", line 377, in _sm_generic_event_handler errbot | self._generic_wrapper(req.payload) errbot | File "/home/errbot/backends/slackv3/slackv3.py", line 357, in _generic_wrapper errbot | event = event_data["event"] errbot | KeyError: 'event'
super()but that's all I've got for now.
activate()would have already been called when the plugin loaded. The only time you would want to do the
super().activate()is if you were overriding
activatewith your own implementation, for example, if you wanted to call
your_methodevery 60 seconds and wanted to start this as soon as the plugin was started.
def activate(self): super().activate() self.start_poller(60, self.your_method, 1)
I haven't looked at your example, but I can say the core plugin that checks for latest version uses a poller.
importlib.resources? I'm looking at the docs and came across a passage the talks about
importlib.resourcesbeing added in py3.7 and how to migrate to it from
I got some importlib code to work but it breaks on py 3.7 :(.
There's less than 1 yr support on 3.7. I m considering dropping support and not worry on a py version try/except code