🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-09 00:26:46 | PHP 8.2.33
📂
/ (Root)
/
opt
/
alt
/
python38
/
lib
/
python3.8
/
site-packages
/
influxdb_client
/
client
/
__pycache__
📍 /opt/alt/python38/lib/python3.8/site-packages/influxdb_client/client/__pycache__
🔄 Refresh
✏️
Editing: write_api_async.cpython-38.pyc
Read Only
U v�i� � @ s� d Z ddlZddlmZmZ ddlmZ ddlmZm Z m Z ddlmZm Z ddlmZmZ ddlmZ dd lmZ dd lmZ e�d�Zer�ddlmZ G d d� de�ZdS )zKCollect and async write time series data to InfluxDB Cloud or InfluxDB OSS.� N)� ensure_future�gather)�defaultdict)�Union�Iterable� NamedTuple)�Point�WritePrecision)� _BaseWriteApi�_HAS_DATACLASS)�get_org_query_param)�DEFAULT_WRITE_PRECISION)� PointSettingsz&influxdb_client.client.write_api_async)� dataclassc s� e Zd ZdZe� fedd�� fdd� Zddefeeeee d e e d ee d ee d e e d de d f eed�d d�Z� ZS )� WriteApiAsynca� Implementation for '/api/v2/write' endpoint. Example: .. code-block:: python from influxdb_client_async import InfluxDBClientAsync # Initialize async/await instance of Write API async with InfluxDBClientAsync(url="http://localhost:8086", token="my-token", org="my-org") as client: write_api = client.write_api() N)�point_settings�returnc s t � j||d� dS )z� Initialize defaults. :param influxdb_client: with default settings (organization) :param point_settings: settings to store default tags. )�influxdb_clientr N)�super�__init__)�selfr r �� __class__� �W/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/client/write_api_async.pyr "