Commit b08a429
Fix mypy typing errors by explicitly exporting Client (#643)
Resolves #567
Previously, importing Client from clickhouse_connect.driver would
fail mypy validation with "Module does not explicitly export attribute
Client". This occurred because the module didn't define __all__.
Added __all__ to explicitly export Client, AsyncClient, create_client,
and create_async_client, making these public API symbols clear to
type checkers.
Co-authored-by: Joe Spadola <joe.spadola@clickhouse.com>1 parent fe36fd9 commit b08a429
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
0 commit comments