Commits

Peter Rudenko  committed 01828b4

API refactor

  • Participants
  • Parent commits 6955d97

Comments (0)

Files changed (1)

File templeton/src/templeton/api.py

             data['callback'] = callback
         return self.post("pig", data)
 
-    def check_job(self, job_id, user="hdfs"):
+    def check_job(self, job_id):
         """
         Check the status of a job and get related job information given its job ID.
         """
         return self.get("queue/%s" % job_id)
 
-    def show_hcat_tables(self, user="hdfs", db="default"):
+    def show_hcat_tables(self, db="default"):
         """
         List the tables in an HCatalog database.
         """
         return self.get("ddl/database/%s/table" % db)['tables']
-        
-            
+
 
 
 if __name__ == "__main__":