Skip to content

Commit

Permalink
ignore arg-type type check linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
orian committed Jan 9, 2025
1 parent 45e6b82 commit 00e70a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/clickhouse/client/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def __exit__(self, *args):
maxsize=settings.CLICKHOUSE_CONN_POOL_MAX, # max number of open connection per pool
block=True, # makes the maxsize limit per pool, keeps connections
num_pools=12, # number of pools
ca_cert=settings.CLICKHOUSE_CA,
ca_cert=settings.CLICKHOUSE_CA, # type: ignore[arg-type] # ca_cert default value is None, but the type hint is str instead of Optional[str], https://github.com/ClickHouse/clickhouse-connect/pull/450
verify=settings.CLICKHOUSE_VERIFY,
)

Expand Down

0 comments on commit 00e70a3

Please sign in to comment.