From 3ddee4f0ff9a8210e27c8c62f1c7fe336960109b Mon Sep 17 00:00:00 2001 From: Jakub Bednar Date: Thu, 19 Aug 2021 07:24:29 +0200 Subject: [PATCH] docs: add link about `Nanosecond precision` to usage page --- README.rst | 5 ++++- docs/usage.rst | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index ea72042f..9ae80e36 100644 --- a/README.rst +++ b/README.rst @@ -78,9 +78,10 @@ InfluxDB 2.0 client features - `How to efficiently import large dataset`_ - `Efficiency write data from IOT sensor`_ - `How to use Jupyter + Pandas + InfluxDB 2`_ -- Advanced Usage +- `Advanced Usage`_ - `Gzip support`_ - `Proxy configuration`_ + - `Nanosecond precision`_ - `Delete data`_ Installation @@ -1163,6 +1164,7 @@ For more info about how configure HTTP retry see details in `urllib3 documentati Nanosecond precision ^^^^^^^^^^^^^^^^^^^^ +.. marker-nanosecond-start The Python's `datetime `_ doesn't support precision with nanoseconds so the library during writes and queries ignores everything after microseconds. @@ -1226,6 +1228,7 @@ that is replacement for python ``datetime.datetime`` object and also you should """ client.close() +.. marker-nanosecond-end Local tests ----------- diff --git a/docs/usage.rst b/docs/usage.rst index f5631810..9388dc68 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -40,6 +40,12 @@ Proxy configuration :start-after: marker-proxy-start :end-before: marker-proxy-end +Nanosecond precision +^^^^^^^^^^^^^^^^^^^^ +.. include:: ../README.rst + :start-after: marker-nanosecond-start + :end-before: marker-nanosecond-end + Debugging ^^^^^^^^^