Commit c5ab4cb3 authored by Roque's avatar Roque

erp5_wendelin: drop dataset uid argument

parent b0be31a9
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
This script will return all Data streams for Data set This script will return all Data streams for Data set
""" """
catalog_kw = {'portal_type': 'Data Ingestion Line', catalog_kw = {'portal_type': 'Data Ingestion Line',
'aggregate_uid': data_set_uid, 'aggregate_uid': context.getUid(),
'limit': limit, 'limit': limit,
} }
data_ingestion_line_list = context.portal_catalog(**catalog_kw) data_ingestion_line_list = context.portal_catalog(**catalog_kw)
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>data_set_uid, limit=[]</string> </value> <value> <string>limit=[]</string> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
......
""" """
Get list of Data Streams for context Data set. Get list of Data Streams for context Data set.
""" """
data_set_uid = context.getUid() return context.DataSet_getDataStreamList(limit)
return context.DataSet_getDataStreamList(data_set_uid, limit)
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