Skip to content

Commit

Permalink
Add sum to aggregation type
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-zippenfenig committed Oct 23, 2023
1 parent ae72a79 commit 8c6741c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion flatbuffers/openmeteo_sdk.fbs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,8 @@ enum Aggregation: byte {
median,
p75,
p90,
dominant
dominant,
sum
}

table Series {
Expand Down
1 change: 1 addition & 0 deletions python/openmeteo_sdk/Aggregation.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ class Aggregation(Enum):
p75 = 7
p90 = 8
dominant = 9
sum = 10
3 changes: 2 additions & 1 deletion swift/Sources/OpenMeteoSdk/openmeteo_sdk_generated.swift
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,9 @@ public enum openmeteo_sdk_Aggregation: Int8, Enum, Verifiable {
case p75 = 7
case p90 = 8
case dominant = 9
case sum = 10

public static var max: openmeteo_sdk_Aggregation { return .dominant }
public static var max: openmeteo_sdk_Aggregation { return .sum }
public static var min: openmeteo_sdk_Aggregation { return .none_ }
}

Expand Down
3 changes: 2 additions & 1 deletion ts/aggregation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ export enum Aggregation {
median = 6,
p75 = 7,
p90 = 8,
dominant = 9
dominant = 9,
sum = 10
}

0 comments on commit 8c6741c

Please sign in to comment.