Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FS-SC
AsapoWorker
Commits
90a632ef
Commit
90a632ef
authored
May 04, 2022
by
Tim Schoof
Browse files
Add retrieve_data method to receiver
parent
cdc97ad2
Pipeline
#26945
passed with stage
in 1 minute and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/AsapoWorker/asapo_receiver.py
View file @
90a632ef
...
...
@@ -166,6 +166,12 @@ class SimpleAsapoReceiver:
except
asapo_consumer
.
AsapoConsumerError
as
err
:
raise
StreamError
(
"Failed to get stream meta"
)
from
err
def
retrieve_data
(
self
,
meta
):
try
:
return
self
.
consumer
.
retrieve_data
(
meta
)
except
asapo_consumer
.
AsapoConsumerError
as
err
:
raise
StreamError
(
"Failed to retrieve data"
)
from
err
# TODO: Ensure also that indices are consecutive or start at 0
@
Configurable
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment