-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
#192: (WIP: Needs Work) Replace PythonDataflowTask With BeamDataflowJobTask #199
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #199 +/- ##
=========================================
- Coverage 89.11% 87.91% -1.2%
=========================================
Files 12 11 -1
Lines 744 596 -148
=========================================
- Hits 663 524 -139
+ Misses 81 72 -9
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we have a new version minimum for luigi?
Line 26 in 8e807b9
luigi>=2.3.3,<3.0.0 |
spotify_tensorflow/luigi/tfx_task.py
Outdated
@@ -52,6 +55,10 @@ def tfx_args(self): | |||
"--schema_file=%s" % self.get_schema_file() | |||
] | |||
|
|||
def dataflow_executable(self): | |||
""" Must be overwritten from the BeamDataflowTaski """ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, good catch
PR is still WIP cause the new beam task is refactored a bunch, trying to fix tests
There is still work to be done on this ticket. Documenting some discussions on how to proceed: Switching to The most pertinent point is that now there is a class called There are, generally, 2 approaches that can be taken here:
|
Removes
PythonDataflowTask
and related files/tests to replace it with the luigi.contribBeamDataflowJobTask