Commit eb81132e authored by Ivan Tyagov's avatar Ivan Tyagov

Revert data lake download script parameter rename as it breaks ebulk client download

See merge request !157
parents db189451 34284fac
try:
start_offset = int(float(start_offset))
end_offset = int(float(end_offset))
data_stream = context.restrictedTraverse(identity)
data_stream = context.restrictedTraverse(id)
data_stream_chunk = ''.join(data_stream.readChunkList(start_offset, end_offset))
return data_stream_chunk
except Exception as e:
context.logEntry("Exception getting Data Stream (id '%s') content: %s." % (identity, str(e)))
context.logEntry("Exception getting Data Stream (id '%s') content: %s." % (id, str(e)))
raise e
......@@ -50,7 +50,7 @@
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>identity, start_offset, end_offset</string> </value>
<value> <string>id, start_offset, end_offset</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......
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