Sha256: 8960f54954f9251a637738cd288ce74b5ec076f9e0fc0ad8127eda8bb92e7dc0

Contents?: true

Size: 268 Bytes

Versions: 46

Compression:

Stored size: 268 Bytes

Contents

module EasyML
  class FinalizeFeatureJob < ApplicationJob
    queue_as :features

    def perform(feature_id)
      feature = EasyML::Feature.find(feature_id)
      feature.update!(
        applied_at: Time.current,
        needs_fit: false,
      )
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
easy_ml-0.2.0.pre.rc52 app/jobs/easy_ml/finalize_feature_job.rb
easy_ml-0.2.0.pre.rc51 app/jobs/easy_ml/finalize_feature_job.rb
easy_ml-0.2.0.pre.rc50 app/jobs/easy_ml/finalize_feature_job.rb
easy_ml-0.2.0.pre.rc49 app/jobs/easy_ml/finalize_feature_job.rb
easy_ml-0.2.0.pre.rc48 app/jobs/easy_ml/finalize_feature_job.rb
easy_ml-0.2.0.pre.rc47 app/jobs/easy_ml/finalize_feature_job.rb
easy_ml-0.2.0.pre.rc46 app/jobs/easy_ml/finalize_feature_job.rb
easy_ml-0.2.0.pre.rc45 app/jobs/easy_ml/finalize_feature_job.rb
easy_ml-0.2.0.pre.rc44 app/jobs/easy_ml/finalize_feature_job.rb
easy_ml-0.2.0.pre.rc43 app/jobs/easy_ml/finalize_feature_job.rb
easy_ml-0.2.0.pre.rc41 app/jobs/easy_ml/finalize_feature_job.rb
easy_ml-0.2.0.pre.rc40 app/jobs/easy_ml/finalize_feature_job.rb
easy_ml-0.2.0.pre.rc39 app/jobs/easy_ml/finalize_feature_job.rb
easy_ml-0.2.0.pre.rc38 app/jobs/easy_ml/finalize_feature_job.rb
easy_ml-0.2.0.pre.rc37 app/jobs/easy_ml/finalize_feature_job.rb
easy_ml-0.2.0.pre.rc36 app/jobs/easy_ml/finalize_feature_job.rb
easy_ml-0.2.0.pre.rc35 app/jobs/easy_ml/finalize_feature_job.rb
easy_ml-0.2.0.pre.rc34 app/jobs/easy_ml/finalize_feature_job.rb
easy_ml-0.2.0.pre.rc33 app/jobs/easy_ml/finalize_feature_job.rb
easy_ml-0.2.0.pre.rc32 app/jobs/easy_ml/finalize_feature_job.rb