diff --git a/README.rst b/README.rst index 9ae80e36..2c805461 100644 --- a/README.rst +++ b/README.rst @@ -349,7 +349,11 @@ Writes The `WriteApi `_ supports synchronous, asynchronous and batching writes into InfluxDB 2.0. The data should be passed as a `InfluxDB Line Protocol `_\ , `Data Point `_ or Observable stream. -**Important: The WriteApi in batching mode (default mode) is suppose to run as a singleton. To flush all your data you should wrap the execution using ``with client.write_api(...) as write_api:`` statement or call ``_write_client.close()`` at the end of your script.** +.. warning:: + + The ``WriteApi`` in batching mode (default mode) is suppose to run as a singleton. + To flush all your data you should wrap the execution using ``with client.write_api(...) as write_api:`` statement + or call ``write_api.close()`` at the end of your script. *The default instance of WriteApi use batching.*