Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion temporalio/lib/temporalio/priority.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def self.default
# @param priority_key [Integer, nil] The priority key
# @param fairness_key [String, nil] The fairness key
# @param fairness_weight [Float, nil] The fairness weight
def initialize(priority_key:, fairness_key: nil, fairness_weight: nil)
def initialize(priority_key: nil, fairness_key: nil, fairness_weight: nil)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

@Sushisource Sushisource Aug 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll fix it as well, but we can merge this

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

super
end

Expand Down
2 changes: 1 addition & 1 deletion temporalio/sig/temporalio/priority.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module Temporalio
attr_reader fairness_key: String?
attr_reader fairness_weight: Float?

def initialize: (priority_key: Integer?, ?fairness_key: String?, ?fairness_weight: Float?) -> void
def initialize: (?priority_key: Integer?, ?fairness_key: String?, ?fairness_weight: Float?) -> void

def self._from_proto: (untyped) -> Priority

Expand Down
Loading