Skip to content

Commit 54a487f

Browse files
committed
Removing | operand for 3.8 mypy.
1 parent 705b9cb commit 54a487f

File tree

1 file changed

+1
-1
lines changed
  • stac_fastapi/elasticsearch/stac_fastapi/elasticsearch

1 file changed

+1
-1
lines changed

stac_fastapi/elasticsearch/stac_fastapi/elasticsearch/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def _es_config() -> Dict[str, Any]:
4040
config["http_auth"] = (u, p)
4141

4242
if api_key := os.getenv("ES_API_KEY"):
43-
config |= {"headers": {"x-api-key": api_key}}
43+
config = {**config, **{"headers": {"x-api-key": api_key}}}
4444

4545
return config
4646

0 commit comments

Comments
 (0)