Skip to content

Commit

Permalink
Release 2.1.139
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Dec 5, 2024
1 parent a0c237e commit 90afe33
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 118 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.138"
version = "2.1.139"
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.138",
"X-Fern-SDK-Version": "2.1.139",
}
headers["x-vital-api-key"] = self.api_key
return headers
Expand Down
116 changes: 0 additions & 116 deletions src/vital/types/minerals.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,35 +16,6 @@ class Minerals(str, enum.Enum):
ZINC = "zinc"
FLUORIDE = "fluoride"
CHLORIDE = "chloride"
BORON = "boron"
COBALT = "cobalt"
NICKEL = "nickel"
SILICON = "silicon"
VANADIUM = "vanadium"
LITHIUM = "lithium"
RUBIDIUM = "rubidium"
STRONTIUM = "strontium"
ALUMINUM = "aluminum"
ARSENIC = "arsenic"
BARIUM = "barium"
BERYLLIUM = "beryllium"
BISMUTH = "bismuth"
CADMIUM = "cadmium"
CESIUM = "cesium"
GERMANIUM = "germanium"
GOLD = "gold"
LEAD = "lead"
MERCURY = "mercury"
PALLADIUM = "palladium"
PLATINUM = "platinum"
SILVER = "silver"
THALLIUM = "thallium"
THORIUM = "thorium"
TIN = "tin"
TITANIUM = "titanium"
TUNGSTEN = "tungsten"
URANIUM = "uranium"
ZIRCONIUM = "zirconium"

def visit(
self,
Expand All @@ -57,35 +28,6 @@ def visit(
zinc: typing.Callable[[], T_Result],
fluoride: typing.Callable[[], T_Result],
chloride: typing.Callable[[], T_Result],
boron: typing.Callable[[], T_Result],
cobalt: typing.Callable[[], T_Result],
nickel: typing.Callable[[], T_Result],
silicon: typing.Callable[[], T_Result],
vanadium: typing.Callable[[], T_Result],
lithium: typing.Callable[[], T_Result],
rubidium: typing.Callable[[], T_Result],
strontium: typing.Callable[[], T_Result],
aluminum: typing.Callable[[], T_Result],
arsenic: typing.Callable[[], T_Result],
barium: typing.Callable[[], T_Result],
beryllium: typing.Callable[[], T_Result],
bismuth: typing.Callable[[], T_Result],
cadmium: typing.Callable[[], T_Result],
cesium: typing.Callable[[], T_Result],
germanium: typing.Callable[[], T_Result],
gold: typing.Callable[[], T_Result],
lead: typing.Callable[[], T_Result],
mercury: typing.Callable[[], T_Result],
palladium: typing.Callable[[], T_Result],
platinum: typing.Callable[[], T_Result],
silver: typing.Callable[[], T_Result],
thallium: typing.Callable[[], T_Result],
thorium: typing.Callable[[], T_Result],
tin: typing.Callable[[], T_Result],
titanium: typing.Callable[[], T_Result],
tungsten: typing.Callable[[], T_Result],
uranium: typing.Callable[[], T_Result],
zirconium: typing.Callable[[], T_Result],
) -> T_Result:
if self is Minerals.SODIUM:
return sodium()
Expand All @@ -105,61 +47,3 @@ def visit(
return fluoride()
if self is Minerals.CHLORIDE:
return chloride()
if self is Minerals.BORON:
return boron()
if self is Minerals.COBALT:
return cobalt()
if self is Minerals.NICKEL:
return nickel()
if self is Minerals.SILICON:
return silicon()
if self is Minerals.VANADIUM:
return vanadium()
if self is Minerals.LITHIUM:
return lithium()
if self is Minerals.RUBIDIUM:
return rubidium()
if self is Minerals.STRONTIUM:
return strontium()
if self is Minerals.ALUMINUM:
return aluminum()
if self is Minerals.ARSENIC:
return arsenic()
if self is Minerals.BARIUM:
return barium()
if self is Minerals.BERYLLIUM:
return beryllium()
if self is Minerals.BISMUTH:
return bismuth()
if self is Minerals.CADMIUM:
return cadmium()
if self is Minerals.CESIUM:
return cesium()
if self is Minerals.GERMANIUM:
return germanium()
if self is Minerals.GOLD:
return gold()
if self is Minerals.LEAD:
return lead()
if self is Minerals.MERCURY:
return mercury()
if self is Minerals.PALLADIUM:
return palladium()
if self is Minerals.PLATINUM:
return platinum()
if self is Minerals.SILVER:
return silver()
if self is Minerals.THALLIUM:
return thallium()
if self is Minerals.THORIUM:
return thorium()
if self is Minerals.TIN:
return tin()
if self is Minerals.TITANIUM:
return titanium()
if self is Minerals.TUNGSTEN:
return tungsten()
if self is Minerals.URANIUM:
return uranium()
if self is Minerals.ZIRCONIUM:
return zirconium()

0 comments on commit 90afe33

Please sign in to comment.