Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Iliya Manolov
wendelin
Commits
7827d360
Commit
7827d360
authored
Jul 03, 2015
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow to pass additional keyword arguments to transformation script
parent
015d4f28
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/DataStream_readChunkListAndTransform.xml
...ns/erp5_wendelin/DataStream_readChunkListAndTransform.xml
+5
-3
bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/DataStream_transform.xml
...eItem/portal_skins/erp5_wendelin/DataStream_transform.xml
+5
-2
No files found.
bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/DataStream_readChunkListAndTransform.xml
View file @
7827d360
...
@@ -71,7 +71,8 @@ if transform_script_id is not None:\n
...
@@ -71,7 +71,8 @@ if transform_script_id is not None:\n
start, end = transform_script(context, data_stream_chunk_list, \\\n
start, end = transform_script(context, data_stream_chunk_list, \\\n
start, \\\n
start, \\\n
end, \\\n
end, \\\n
data_array_reference)\n
data_array_reference, \\\n
**kw)\n
\n
\n
# [warning] store current position offset in Data Stream, this can cause easily \n
# [warning] store current position offset in Data Stream, this can cause easily \n
# ConflictErrors and it spawns re-index activities on DataStream. Thus \n
# ConflictErrors and it spawns re-index activities on DataStream. Thus \n
...
@@ -92,14 +93,15 @@ data_stream.activate().DataStream_readChunkListAndTransform( \\\n
...
@@ -92,14 +93,15 @@ data_stream.activate().DataStream_readChunkListAndTransform( \\\n
end, \\\n
end, \\\n
chunk_length, \\\n
chunk_length, \\\n
transform_script_id,\n
transform_script_id,\n
data_array_reference)\n
data_array_reference,\n
**kw)\n
]]>
</string>
</value>
]]>
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_params
</string>
</key>
<key>
<string>
_params
</string>
</key>
<value>
<string>
start, end, chunk_length, transform_script_id=None, data_array_reference=None
</string>
</value>
<value>
<string>
start, end, chunk_length, transform_script_id=None, data_array_reference=None
, **kw
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
...
...
bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/DataStream_transform.xml
View file @
7827d360
...
@@ -64,12 +64,15 @@ context.activate().DataStream_readChunkListAndTransform( \\\n
...
@@ -64,12 +64,15 @@ context.activate().DataStream_readChunkListAndTransform( \\\n
end, \\\n
end, \\\n
chunk_length, \\\n
chunk_length, \\\n
transform_script_id, \\\n
transform_script_id, \\\n
data_array_reference)\n
data_array_reference,\\\n
**kw)\n
\n
return data_length\n
</string>
</value>
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_params
</string>
</key>
<key>
<string>
_params
</string>
</key>
<value>
<string>
chunk_length=1048576, transform_script_id=None, data_array_reference=None
</string>
</value>
<value>
<string>
chunk_length=1048576, transform_script_id=None, data_array_reference=None
, **kw
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
...
...
Write
Preview
Markdown
is supported
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