IEEE.org     |     IEEE Xplore Digital Library     |     IEEE Standards     |     IEEE Spectrum     |     More Sites

Verified Commit c87e9c70 authored by Emi Simpson's avatar Emi Simpson
Browse files

Stop treating the web backend like a source that needs processing

parent 6a96fa43
Pipeline #288 passed with stages
in 2 minutes and 32 seconds
......@@ -56,10 +56,14 @@ class CoordinatorConnection:
This will not wait for or attempt to receive a response before exiting. Errors
should be picked up through the notifications channel. TODO: Elaborate
Exits silently if set to run a job with zero backends
See
https://rit.ieee-saopen.org/mystic-coordinator/mystic_coordinator.html#submit_job
for more details
"""
if len(backends) == 0:
return
msg = [
0, # message_type
self.msg_count, # message_id
......
......@@ -233,6 +233,12 @@ class WebsiteLink(Source):
else:
return None
def expand_source(self) -> List[Source]:
"""
Source expansion for Website links is disabled
"""
return []
class Mattermost(Source):
URL_REGEX = re.compile(r'(?:https?://([\w\.\-]+.[\w]+)/([a-z\-]+)/channels/([a-z\-]+)/?)|(?:https?://([\w.-]+.[\w]+)/? ([a-z\d]{26}))')
@staticmethod
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment