Skip to content

Commit 57eb8d6

Browse files
authored
Merge pull request #4436 from achen88/main
[docs] fix bracket formatting issues in ClickHouse Python Language Client docs
2 parents 85a13ad + c6468e2 commit 57eb8d6

File tree

1 file changed

+2
-2
lines changed
  • docs/integrations/language-clients/python

1 file changed

+2
-2
lines changed

docs/integrations/language-clients/python/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ binding Python expressions to a ClickHouse value expression. Two sorts of bindin
261261
ClickHouse supports [server side binding](/interfaces/cli.md#cli-queries-with-parameters)
262262
for most query values, where the bound value is sent separate from the query as an HTTP query parameter. ClickHouse
263263
Connect will add the appropriate query parameters if it detects a binding expression of the form
264-
`{<name>:<datatype>}`. For server side binding, the `parameters` argument should be a Python dictionary.
264+
`{<name>:<datatype>}`. For server side binding, the `parameters` argument should be a Python dictionary.
265265

266266
- Server Side Binding with Python Dictionary, DateTime value and string value
267267

@@ -1045,7 +1045,7 @@ Ten global settings are currently defined:
10451045
| autogenerate_session_id | True | True, False | Autogenerate a new UUID(1) session id (if not provided) for each client session. If no session id is provided (either at the client or query level, ClickHouse will generate random internal id for each query |
10461046
| invalid_setting_action | 'error' | 'drop', 'send', 'error' | Action to take when an invalid or readonly setting is provided (either for the client session or query). If `drop`, the setting will be ignored, if `send`, the setting will be sent to ClickHouse, if `error` a client side ProgrammingError will be raised |
10471047
| dict_parameter_format | 'json' | 'json', 'map' | This controls whether parameterized queries convert a Python dictionary to JSON or ClickHouse Map syntax. `json` should be used for inserts into JSON columns, `map` for ClickHouse Map columns |
1048-
| product_name | | | A string that is passed with the query to clickhouse for tracking the app using ClickHouse Connect. Should be in the form &lt;product name;&gl/&lt;product version&gt; |
1048+
| product_name | | | A string that is passed with the query to clickhouse for tracking the app using ClickHouse Connect. Should be in the form `<product_name>/<product_version>` |
10491049
| max_connection_age | 600 | | Maximum seconds that an HTTP Keep Alive connection will be kept open/reused. This prevents bunching of connections against a single ClickHouse node behind a load balancer/proxy. Defaults to 10 minutes. |
10501050
| readonly | 0 | 0, 1 | Implied "read_only" ClickHouse settings for versions prior to 19.17. Can be set to match the ClickHouse "read_only" value for settings to allow operation with very old ClickHouse versions |
10511051
| use_protocol_version | True | True, False | Use the client protocol version. This is needed for DateTime timezone columns but breaks with the current version of chproxy |

0 commit comments

Comments
 (0)