Skip to content

Commit aad8349

Browse files
authored
chore(client): ensure UDP port is actually an int. Closes influxdata#651. (influxdata#815)
* chore(client): ensure UDP port is actually an int. Closes influxdata#651. * chore(CHANGELOG): update to include PR#651
1 parent 5929fef commit aad8349

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
3030
- Update DataFrameClient to fix faulty empty tags (#770 thx @michelfripiat)
3131
- Update DataFrameClient to properly return `dropna` values (#778 thx @jgspiro)
3232
- Update DataFrameClient to test for pd.DataTimeIndex before blind conversion (#623 thx @testforvin)
33+
- Update client to type-set UDP port to int (#651 thx @yifeikong)
3334

3435
### Removed
3536

influxdb/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def __init__(self,
107107
self._verify_ssl = verify_ssl
108108

109109
self.__use_udp = use_udp
110-
self.__udp_port = udp_port
110+
self.__udp_port = int(udp_port)
111111

112112
if not session:
113113
session = requests.Session()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy