Skip to content

Commit 3dc4213

Browse files
author
Sean Sullivan
committed
cast to int
1 parent 892446a commit 3dc4213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elastic_datashader/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def config_from_env(env) -> Config:
9494
datashader_headers=load_datashader_headers(env.get("DATASHADER_HEADER_FILE", "headers.yaml")),
9595
elastic_hosts=env.get("DATASHADER_ELASTIC", "http://localhost:9200"),
9696
ellipse_render_mode=env.get("DATASHADER_ELLIPSE_RENDER_MODE", "matrix"),
97-
ellipse_render_min_zoom=env.get("DATASHADER_ELLIPSE_RENDER_MIN_ZOOM", 8),
97+
ellipse_render_min_zoom=int(env.get("DATASHADER_ELLIPSE_RENDER_MIN_ZOOM", 8)),
9898
hostname=getfqdn(),
9999
log_level=get_log_level(env.get("DATASHADER_LOG_LEVEL", None)),
100100
max_batch=int(env.get("DATASHADER_MAX_BATCH", 10_000)),

0 commit comments

Comments
 (0)