File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -117,12 +117,12 @@ def from_DSN(dsn, **kwargs):
117
117
also be passed to this function.
118
118
119
119
Examples:
120
- >>> cli = InfluxDBClient.from_DSN('influxdb://username:password@\
121
- ... localhost:8086/databasename', timeout=5)
120
+ >>> cli = InfluxDBClient.from_DSN('influxdb://username:password@
121
+ localhost:8086/databasename', timeout=5)
122
122
>>> type(cli)
123
123
<class 'influxdb.client.InfluxDBClient'>
124
124
>>> cli = InfluxDBClient.from_DSN('udp+influxdb://username:pass@\
125
- ... localhost:8086/databasename', timeout=5, udp_port=159)
125
+ localhost:8086/databasename', timeout=5, udp_port=159)
126
126
>>> print('{0._baseurl} - {0.use_udp} {0.udp_port}'.format(cli))
127
127
http://localhost:8086 - True 159
128
128
You can’t perform that action at this time.
0 commit comments