Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
grk2450-fireworks-tutorial
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ivan Kondov
grk2450-fireworks-tutorial
Commits
97191319
Commit
97191319
authored
7 years ago
by
Ivan Kondov
Browse files
Options
Downloads
Patches
Plain Diff
adapted to template for Problem 2.1
parent
26f8bbdc
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/exercise2.rst
+18
-5
18 additions, 5 deletions
docs/exercise2.rst
with
18 additions
and
5 deletions
docs/exercise2.rst
+
18
−
5
View file @
97191319
...
...
@@ -2,17 +2,30 @@ Exercise 2: Managing data flow
==============================
The purpose of this exercise is to learn how to pass data between fireworks and
describe data dependencies using the custom firetask ``PythonFunctionTask``.
describe data dependencies using the custom firetask ``PythonFunctionTask``::
- _fw_name: PythonFunctionTask
function: any_module.any_function
inputs:
- first argument
- second argument
outputs:
- data to forward
The keys specified in the ``inputs`` list must be available in the firework
``spec`` at task run time. These are passed as positional arguments to the
function. The returned outputs will be stored in the specs of the current firework
and of the child fireworks under the keys specified in the ``outputs`` list.
Problem 2.1
-----------
Change to folder **exercises/work/2_data_flow**. Copy the provided template
**exercises/inputs/2_data_flow/template.json** and complete it so that
the script
**exercises/problems/recruiting-script.py** is implemented as a
workflow. Check
the workflow, add it to LaunchPad and run it in singleshot mode
watching the
changes in the fireworks with the workflow run.
**exercises/inputs/2_data_flow/template.
[
json
|yaml]
** and complete it so that
the script
**exercises/problems/recruiting-script.py** is implemented as a
workflow. Check
the workflow, add it to LaunchPad and run it in singleshot mode
watching the
changes in the fireworks with the workflow run.
Problem 2.2
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment