Merge branch '2751-python-sdk-keep-proxy-support' closes #2751
[arvados.git] / services / api / app / models / job.rb
index d8f8443691de8ac535d0b52220034cb74eaba8d4..fbc5640b3762fef94934ed271d8501b78c31ac14 100644 (file)
@@ -1,5 +1,5 @@
 class Job < ArvadosModel
-  include AssignUuid
+  include HasUuid
   include KindAndEtag
   include CommonApiTemplate
   serialize :script_parameters, Hash
@@ -74,6 +74,10 @@ class Job < ArvadosModel
     super + %w(cancelled_by_client_uuid)
   end
 
+  def skip_uuid_existence_check
+    super + %w(output log)
+  end
+
   def ensure_script_version_is_commit
     if self.is_locked_by_uuid and self.started_at
       # Apparently client has already decided to go for it. This is