Skip to content

Commit

Permalink
Remove no more needed cast
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner authored and renovate[bot] committed Aug 7, 2024
1 parent 0ee5558 commit 4013f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tilecloud_chain/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def get_s3_client(self, config: tilecloud_chain.DatedConfig) -> "botocore.client
for n in range(10):
try:
client = tilecloud.store.s3.get_client(cache_s3.get("host"))
self.s3_client_cache[cast(str, cache_s3.get("host", "aws"))] = client
self.s3_client_cache[cache_s3.get("host", "aws")] = client
return client
except KeyError as e:
error = e
Expand Down

0 comments on commit 4013f20

Please sign in to comment.