Skip to content

Commit

Permalink
Release 2.1.111
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Nov 13, 2024
1 parent b5e5456 commit af9d3ed
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "vital"
version = "2.1.110"
version = "2.1.111"
description = ""
readme = "README.md"
authors = []
Expand Down
2 changes: 1 addition & 1 deletion src/vital/core/client_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def get_headers(self) -> typing.Dict[str, str]:
headers: typing.Dict[str, str] = {
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "vital",
"X-Fern-SDK-Version": "2.1.110",
"X-Fern-SDK-Version": "2.1.111",
}
headers["x-vital-api-key"] = self.api_key
return headers
Expand Down
16 changes: 8 additions & 8 deletions src/vital/types/workout_column_expr_workout.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ class WorkoutColumnExprWorkout(str, enum.Enum):
ELEVATION_GAIN_METER = "elevation_gain_meter"
ELEVATION_MAXIMUM_METER = "elevation_maximum_meter"
ELEVATION_MINIMUM_METER = "elevation_minimum_meter"
AVERAGE_SPEED = "average_speed"
MAX_SPEED = "max_speed"
SPEED_MEAN = "speed_mean"
SPEED_MAXIMUM = "speed_maximum"
POWER_SOURCE = "power_source"
POWER_MEAN = "power_mean"
POWER_MAXIMUM = "power_maximum"
Expand Down Expand Up @@ -63,8 +63,8 @@ def visit(
elevation_gain_meter: typing.Callable[[], T_Result],
elevation_maximum_meter: typing.Callable[[], T_Result],
elevation_minimum_meter: typing.Callable[[], T_Result],
average_speed: typing.Callable[[], T_Result],
max_speed: typing.Callable[[], T_Result],
speed_mean: typing.Callable[[], T_Result],
speed_maximum: typing.Callable[[], T_Result],
power_source: typing.Callable[[], T_Result],
power_mean: typing.Callable[[], T_Result],
power_maximum: typing.Callable[[], T_Result],
Expand Down Expand Up @@ -117,10 +117,10 @@ def visit(
return elevation_maximum_meter()
if self is WorkoutColumnExprWorkout.ELEVATION_MINIMUM_METER:
return elevation_minimum_meter()
if self is WorkoutColumnExprWorkout.AVERAGE_SPEED:
return average_speed()
if self is WorkoutColumnExprWorkout.MAX_SPEED:
return max_speed()
if self is WorkoutColumnExprWorkout.SPEED_MEAN:
return speed_mean()
if self is WorkoutColumnExprWorkout.SPEED_MAXIMUM:
return speed_maximum()
if self is WorkoutColumnExprWorkout.POWER_SOURCE:
return power_source()
if self is WorkoutColumnExprWorkout.POWER_MEAN:
Expand Down

0 comments on commit af9d3ed

Please sign in to comment.