Rfaulk has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/80956


Change subject: rm - thin_client view method.
......................................................................

rm - thin_client view method.

Change-Id: I36b9eec3ff6647dd9e90d22683db89167e203854
---
M user_metrics/api/views.py
1 file changed, 0 insertions(+), 23 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/analytics/user-metrics 
refs/changes/56/80956/1

diff --git a/user_metrics/api/views.py b/user_metrics/api/views.py
index 32b581b..9b30545 100644
--- a/user_metrics/api/views.py
+++ b/user_metrics/api/views.py
@@ -499,26 +499,6 @@
     return render_template('all_urls.html', urls=url_list)
 
 
-def thin_client_view():
-    """
-        View for handling requests outside sessions.  Useful for processing
-        jobs from https://github.com/rfaulkner/umapi_client.
-
-        Returns:
-
-            1) JSON response if the request is complete
-            2) Validation response (minimal size)
-    """
-
-    # Validate key
-    # Construct request meta
-    # Check for job cached
-    #   If YES return
-    #   If NO queue job, return verify
-
-    return None
-
-
 # Add View Decorators
 # ##
 
@@ -534,7 +514,6 @@
     all_metrics.__name__: all_metrics,
     about.__name__: about,
     contact.__name__: contact,
-    thin_client_view.__name__: thin_client_view,
     upload_csv_cohort.__name__: upload_csv_cohort,
     upload_csv_cohort_finish.__name__: upload_csv_cohort_finish,
     validate_cohort_name_allowed.__name__: validate_cohort_name_allowed,
@@ -562,7 +541,6 @@
     all_metrics.__name__: app.route('/metrics/', methods=['POST', 'GET']),
     about.__name__: app.route('/about/'),
     contact.__name__: app.route('/contact/'),
-    thin_client_view.__name__: 
app.route('/thin/<string:cohort>/<string:metric>'),
     upload_csv_cohort_finish.__name__: app.route('/uploads/cohort/finish', 
methods=['POST']),
     upload_csv_cohort.__name__: app.route('/uploads/cohort', methods=['POST', 
'GET']),
     validate_cohort_name_allowed.__name__: 
app.route('/validate/cohort/allowed', methods=['GET']),
@@ -575,7 +553,6 @@
     all_metrics.__name__,
     about.__name__,
     contact.__name__,
-    thin_client_view.__name__
 ]
 
 # Apply decorators to views

-- 
To view, visit https://gerrit.wikimedia.org/r/80956
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I36b9eec3ff6647dd9e90d22683db89167e203854
Gerrit-PatchSet: 1
Gerrit-Project: analytics/user-metrics
Gerrit-Branch: master
Gerrit-Owner: Rfaulk <rfaulk...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to