influxdb-python
influxdb-python copied to clipboard
Types matching
Add function into write_points to get fields types of measurement, before downloading, and if field exists, convert to existed type. This feature is very usefull if you don't care about typing your date, when download and can will avoid error with types mismatch if you try to load float into integer field.
P.S. As bonus I add VSCode files into gitignore.
Thanks for contributing!
Please add a test so that we consider to merge the patch.
Also, please make it optional as it could bread existing uses of the library.