Skip to content

Commit debac81

Browse files
committed
Intger env fix
1 parent af8aac9 commit debac81

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "temporal-rest-executor"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
description = ""
55
authors = ["Your Name <[email protected]>"]
66
readme = "README.md"

src/executor/env.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
UVICORN_BIND_ADDR: str = getenv("UVICORN_BIND_ADDR", "0.0.0.0")
88

9-
UVICORN_BIND_PORT: int = getenv("UVICORN_BIND_PORT", 8000)
9+
UVICORN_BIND_PORT: int = int(getenv("UVICORN_BIND_PORT", 8000))
1010

1111
TEMPORAL_ENDPOINT: str = getenv("TEMPORAL_ENDPOINT", "localhost:7233")
1212

@@ -36,6 +36,6 @@
3636
"PROMETHEUS_ENDPOINT_ENABLED", True
3737
)
3838

39-
PROMETHEUS_ENDPOINT_PORT: str = getenv(
39+
PROMETHEUS_ENDPOINT_PORT: int = int(getenv(
4040
"PROMETHEUS_ENDPOINT_PORT", "9000"
41-
)
41+
))

src/executor/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121

2222
__title__: str = SERVICE_NAME
23-
__version__: str = "0.3.0"
23+
__version__: str = "0.3.1"
2424

2525

2626
console = Console()

0 commit comments

Comments
 (0)