Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-analytics-pipeline
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-analytics-pipeline
Commits
9d41a263
Commit
9d41a263
authored
Dec 19, 2017
by
rao-abdul-mannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Debugging luigi return codes for external url
parent
b36b68a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
+12
-1
edx/analytics/tasks/data_api/student_engagement.py
+12
-1
No files found.
edx/analytics/tasks/data_api/student_engagement.py
View file @
9d41a263
...
@@ -34,7 +34,7 @@ from edx.analytics.tasks.util.url import get_target_from_url, url_path_join
...
@@ -34,7 +34,7 @@ from edx.analytics.tasks.util.url import get_target_from_url, url_path_join
from
edx.analytics.tasks.common.mysql_load
import
MysqlInsertTask
from
edx.analytics.tasks.common.mysql_load
import
MysqlInsertTask
from
edx.analytics.tasks.util.record
import
Record
,
StringField
,
IntegerField
,
DateField
from
edx.analytics.tasks.util.record
import
Record
,
StringField
,
IntegerField
,
DateField
from
luigi.hive
import
HiveQueryTask
from
luigi.hive
import
HiveQueryTask
from
edx.analytics.tasks.util.url
import
ExternalURL
log
=
logging
.
getLogger
(
__name__
)
log
=
logging
.
getLogger
(
__name__
)
SUBSECTION_VIEWED_MARKER
=
'marker:last_subsection_viewed'
SUBSECTION_VIEWED_MARKER
=
'marker:last_subsection_viewed'
...
@@ -764,3 +764,13 @@ class StudentEngagementToMysqlTask(StudentEngagementTableDownstreamMixin, MysqlI
...
@@ -764,3 +764,13 @@ class StudentEngagementToMysqlTask(StudentEngagementTableDownstreamMixin, MysqlI
warehouse_path
=
self
.
warehouse_path
,
warehouse_path
=
self
.
warehouse_path
,
interval_type
=
self
.
interval_type
interval_type
=
self
.
interval_type
)
)
class
TestExternalTask
(
luigi
.
Task
):
test_path
=
luigi
.
Parameter
()
def
requires
(
self
):
return
ExternalURL
(
self
.
test_path
)
def
run
(
self
):
log
.
debug
(
"Testing simple task with External URL for luigi return codes"
)
\ No newline at end of file
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