mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Add stubs for influxdb-client (#9429)
This commit is contained in:
1
stubs/influxdb-client/@tests/requirements-stubtest.txt
Normal file
1
stubs/influxdb-client/@tests/requirements-stubtest.txt
Normal file
@@ -0,0 +1 @@
|
||||
aiohttp
|
||||
13
stubs/influxdb-client/@tests/stubtest_allowlist.txt
Normal file
13
stubs/influxdb-client/@tests/stubtest_allowlist.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
# Imports that stubtest thinks should be re-exported.
|
||||
influxdb_client.client.write.dataframe_serializer.DEFAULT_WRITE_PRECISION
|
||||
influxdb_client.client.write.retry.random
|
||||
influxdb_client.client.write_api.DEFAULT_WRITE_PRECISION
|
||||
influxdb_client.client.write_api.random
|
||||
influxdb_client.client.write_api_async.DEFAULT_WRITE_PRECISION
|
||||
|
||||
# Metaclass problem inherited from urllib3.
|
||||
influxdb_client.client.write.retry.WritesRetry
|
||||
|
||||
# Requires numpy and pandas to be installed.
|
||||
influxdb_client.client.util.date_utils_pandas
|
||||
influxdb_client.extras
|
||||
5
stubs/influxdb-client/METADATA.toml
Normal file
5
stubs/influxdb-client/METADATA.toml
Normal file
@@ -0,0 +1,5 @@
|
||||
version = "1.35.*"
|
||||
requires = ["types-urllib3"]
|
||||
|
||||
[tool.stubtest]
|
||||
ignore_missing_stub = false
|
||||
427
stubs/influxdb-client/influxdb_client/__init__.pyi
Normal file
427
stubs/influxdb-client/influxdb_client/__init__.pyi
Normal file
@@ -0,0 +1,427 @@
|
||||
from influxdb_client.client.authorizations_api import AuthorizationsApi as AuthorizationsApi
|
||||
from influxdb_client.client.bucket_api import BucketsApi as BucketsApi
|
||||
from influxdb_client.client.delete_api import DeleteApi as DeleteApi
|
||||
from influxdb_client.client.influxdb_client import InfluxDBClient as InfluxDBClient
|
||||
from influxdb_client.client.invokable_scripts_api import InvokableScriptsApi as InvokableScriptsApi
|
||||
from influxdb_client.client.labels_api import LabelsApi as LabelsApi
|
||||
from influxdb_client.client.logging_handler import InfluxLoggingHandler as InfluxLoggingHandler
|
||||
from influxdb_client.client.organizations_api import OrganizationsApi as OrganizationsApi
|
||||
from influxdb_client.client.query_api import QueryApi as QueryApi
|
||||
from influxdb_client.client.tasks_api import TasksApi as TasksApi
|
||||
from influxdb_client.client.users_api import UsersApi as UsersApi
|
||||
from influxdb_client.client.write.point import Point as Point
|
||||
from influxdb_client.client.write_api import WriteApi as WriteApi, WriteOptions as WriteOptions
|
||||
from influxdb_client.configuration import Configuration as Configuration
|
||||
from influxdb_client.domain.add_resource_member_request_body import AddResourceMemberRequestBody as AddResourceMemberRequestBody
|
||||
from influxdb_client.domain.analyze_query_response import AnalyzeQueryResponse as AnalyzeQueryResponse
|
||||
from influxdb_client.domain.analyze_query_response_errors import AnalyzeQueryResponseErrors as AnalyzeQueryResponseErrors
|
||||
from influxdb_client.domain.array_expression import ArrayExpression as ArrayExpression
|
||||
from influxdb_client.domain.ast_response import ASTResponse as ASTResponse
|
||||
from influxdb_client.domain.authorization import Authorization as Authorization
|
||||
from influxdb_client.domain.authorization_post_request import AuthorizationPostRequest as AuthorizationPostRequest
|
||||
from influxdb_client.domain.authorization_update_request import AuthorizationUpdateRequest as AuthorizationUpdateRequest
|
||||
from influxdb_client.domain.authorizations import Authorizations as Authorizations
|
||||
from influxdb_client.domain.axes import Axes as Axes
|
||||
from influxdb_client.domain.axis import Axis as Axis
|
||||
from influxdb_client.domain.axis_scale import AxisScale as AxisScale
|
||||
from influxdb_client.domain.bad_statement import BadStatement as BadStatement
|
||||
from influxdb_client.domain.band_view_properties import BandViewProperties as BandViewProperties
|
||||
from influxdb_client.domain.binary_expression import BinaryExpression as BinaryExpression
|
||||
from influxdb_client.domain.block import Block as Block
|
||||
from influxdb_client.domain.boolean_literal import BooleanLiteral as BooleanLiteral
|
||||
from influxdb_client.domain.bucket import Bucket as Bucket
|
||||
from influxdb_client.domain.bucket_links import BucketLinks as BucketLinks
|
||||
from influxdb_client.domain.bucket_metadata_manifest import BucketMetadataManifest as BucketMetadataManifest
|
||||
from influxdb_client.domain.bucket_retention_rules import BucketRetentionRules as BucketRetentionRules
|
||||
from influxdb_client.domain.bucket_shard_mapping import BucketShardMapping as BucketShardMapping
|
||||
from influxdb_client.domain.buckets import Buckets as Buckets
|
||||
from influxdb_client.domain.builder_aggregate_function_type import BuilderAggregateFunctionType as BuilderAggregateFunctionType
|
||||
from influxdb_client.domain.builder_config import BuilderConfig as BuilderConfig
|
||||
from influxdb_client.domain.builder_config_aggregate_window import BuilderConfigAggregateWindow as BuilderConfigAggregateWindow
|
||||
from influxdb_client.domain.builder_functions_type import BuilderFunctionsType as BuilderFunctionsType
|
||||
from influxdb_client.domain.builder_tags_type import BuilderTagsType as BuilderTagsType
|
||||
from influxdb_client.domain.builtin_statement import BuiltinStatement as BuiltinStatement
|
||||
from influxdb_client.domain.call_expression import CallExpression as CallExpression
|
||||
from influxdb_client.domain.cell import Cell as Cell
|
||||
from influxdb_client.domain.cell_links import CellLinks as CellLinks
|
||||
from influxdb_client.domain.cell_update import CellUpdate as CellUpdate
|
||||
from influxdb_client.domain.cell_with_view_properties import CellWithViewProperties as CellWithViewProperties
|
||||
from influxdb_client.domain.check import Check as Check
|
||||
from influxdb_client.domain.check_base import CheckBase as CheckBase
|
||||
from influxdb_client.domain.check_base_links import CheckBaseLinks as CheckBaseLinks
|
||||
from influxdb_client.domain.check_discriminator import CheckDiscriminator as CheckDiscriminator
|
||||
from influxdb_client.domain.check_patch import CheckPatch as CheckPatch
|
||||
from influxdb_client.domain.check_status_level import CheckStatusLevel as CheckStatusLevel
|
||||
from influxdb_client.domain.check_view_properties import CheckViewProperties as CheckViewProperties
|
||||
from influxdb_client.domain.checks import Checks as Checks
|
||||
from influxdb_client.domain.column_data_type import ColumnDataType as ColumnDataType
|
||||
from influxdb_client.domain.column_semantic_type import ColumnSemanticType as ColumnSemanticType
|
||||
from influxdb_client.domain.conditional_expression import ConditionalExpression as ConditionalExpression
|
||||
from influxdb_client.domain.config import Config as Config
|
||||
from influxdb_client.domain.constant_variable_properties import ConstantVariableProperties as ConstantVariableProperties
|
||||
from influxdb_client.domain.create_cell import CreateCell as CreateCell
|
||||
from influxdb_client.domain.create_dashboard_request import CreateDashboardRequest as CreateDashboardRequest
|
||||
from influxdb_client.domain.custom_check import CustomCheck as CustomCheck
|
||||
from influxdb_client.domain.dashboard import Dashboard as Dashboard
|
||||
from influxdb_client.domain.dashboard_color import DashboardColor as DashboardColor
|
||||
from influxdb_client.domain.dashboard_query import DashboardQuery as DashboardQuery
|
||||
from influxdb_client.domain.dashboard_with_view_properties import DashboardWithViewProperties as DashboardWithViewProperties
|
||||
from influxdb_client.domain.dashboards import Dashboards as Dashboards
|
||||
from influxdb_client.domain.date_time_literal import DateTimeLiteral as DateTimeLiteral
|
||||
from influxdb_client.domain.dbr_ps import DBRPs as DBRPs
|
||||
from influxdb_client.domain.dbrp import DBRP as DBRP
|
||||
from influxdb_client.domain.dbrp_create import DBRPCreate as DBRPCreate
|
||||
from influxdb_client.domain.dbrp_get import DBRPGet as DBRPGet
|
||||
from influxdb_client.domain.dbrp_update import DBRPUpdate as DBRPUpdate
|
||||
from influxdb_client.domain.deadman_check import DeadmanCheck as DeadmanCheck
|
||||
from influxdb_client.domain.decimal_places import DecimalPlaces as DecimalPlaces
|
||||
from influxdb_client.domain.delete_predicate_request import DeletePredicateRequest as DeletePredicateRequest
|
||||
from influxdb_client.domain.dialect import Dialect as Dialect
|
||||
from influxdb_client.domain.dict_expression import DictExpression as DictExpression
|
||||
from influxdb_client.domain.dict_item import DictItem as DictItem
|
||||
from influxdb_client.domain.duration import Duration as Duration
|
||||
from influxdb_client.domain.duration_literal import DurationLiteral as DurationLiteral
|
||||
from influxdb_client.domain.error import Error as Error
|
||||
from influxdb_client.domain.expression import Expression as Expression
|
||||
from influxdb_client.domain.expression_statement import ExpressionStatement as ExpressionStatement
|
||||
from influxdb_client.domain.field import Field as Field
|
||||
from influxdb_client.domain.file import File as File
|
||||
from influxdb_client.domain.float_literal import FloatLiteral as FloatLiteral
|
||||
from influxdb_client.domain.flux_response import FluxResponse as FluxResponse
|
||||
from influxdb_client.domain.flux_suggestion import FluxSuggestion as FluxSuggestion
|
||||
from influxdb_client.domain.flux_suggestions import FluxSuggestions as FluxSuggestions
|
||||
from influxdb_client.domain.function_expression import FunctionExpression as FunctionExpression
|
||||
from influxdb_client.domain.gauge_view_properties import GaugeViewProperties as GaugeViewProperties
|
||||
from influxdb_client.domain.greater_threshold import GreaterThreshold as GreaterThreshold
|
||||
from influxdb_client.domain.health_check import HealthCheck as HealthCheck
|
||||
from influxdb_client.domain.heatmap_view_properties import HeatmapViewProperties as HeatmapViewProperties
|
||||
from influxdb_client.domain.histogram_view_properties import HistogramViewProperties as HistogramViewProperties
|
||||
from influxdb_client.domain.http_notification_endpoint import HTTPNotificationEndpoint as HTTPNotificationEndpoint
|
||||
from influxdb_client.domain.http_notification_rule import HTTPNotificationRule as HTTPNotificationRule
|
||||
from influxdb_client.domain.http_notification_rule_base import HTTPNotificationRuleBase as HTTPNotificationRuleBase
|
||||
from influxdb_client.domain.identifier import Identifier as Identifier
|
||||
from influxdb_client.domain.import_declaration import ImportDeclaration as ImportDeclaration
|
||||
from influxdb_client.domain.index_expression import IndexExpression as IndexExpression
|
||||
from influxdb_client.domain.integer_literal import IntegerLiteral as IntegerLiteral
|
||||
from influxdb_client.domain.is_onboarding import IsOnboarding as IsOnboarding
|
||||
from influxdb_client.domain.label import Label as Label
|
||||
from influxdb_client.domain.label_create_request import LabelCreateRequest as LabelCreateRequest
|
||||
from influxdb_client.domain.label_mapping import LabelMapping as LabelMapping
|
||||
from influxdb_client.domain.label_response import LabelResponse as LabelResponse
|
||||
from influxdb_client.domain.label_update import LabelUpdate as LabelUpdate
|
||||
from influxdb_client.domain.labels_response import LabelsResponse as LabelsResponse
|
||||
from influxdb_client.domain.language_request import LanguageRequest as LanguageRequest
|
||||
from influxdb_client.domain.legacy_authorization_post_request import (
|
||||
LegacyAuthorizationPostRequest as LegacyAuthorizationPostRequest,
|
||||
)
|
||||
from influxdb_client.domain.lesser_threshold import LesserThreshold as LesserThreshold
|
||||
from influxdb_client.domain.line_plus_single_stat_properties import LinePlusSingleStatProperties as LinePlusSingleStatProperties
|
||||
from influxdb_client.domain.line_protocol_error import LineProtocolError as LineProtocolError
|
||||
from influxdb_client.domain.line_protocol_length_error import LineProtocolLengthError as LineProtocolLengthError
|
||||
from influxdb_client.domain.links import Links as Links
|
||||
from influxdb_client.domain.list_stacks_response import ListStacksResponse as ListStacksResponse
|
||||
from influxdb_client.domain.log_event import LogEvent as LogEvent
|
||||
from influxdb_client.domain.logical_expression import LogicalExpression as LogicalExpression
|
||||
from influxdb_client.domain.logs import Logs as Logs
|
||||
from influxdb_client.domain.map_variable_properties import MapVariableProperties as MapVariableProperties
|
||||
from influxdb_client.domain.markdown_view_properties import MarkdownViewProperties as MarkdownViewProperties
|
||||
from influxdb_client.domain.measurement_schema import MeasurementSchema as MeasurementSchema
|
||||
from influxdb_client.domain.measurement_schema_column import MeasurementSchemaColumn as MeasurementSchemaColumn
|
||||
from influxdb_client.domain.measurement_schema_create_request import (
|
||||
MeasurementSchemaCreateRequest as MeasurementSchemaCreateRequest,
|
||||
)
|
||||
from influxdb_client.domain.measurement_schema_list import MeasurementSchemaList as MeasurementSchemaList
|
||||
from influxdb_client.domain.measurement_schema_update_request import (
|
||||
MeasurementSchemaUpdateRequest as MeasurementSchemaUpdateRequest,
|
||||
)
|
||||
from influxdb_client.domain.member_assignment import MemberAssignment as MemberAssignment
|
||||
from influxdb_client.domain.member_expression import MemberExpression as MemberExpression
|
||||
from influxdb_client.domain.metadata_backup import MetadataBackup as MetadataBackup
|
||||
from influxdb_client.domain.model_property import ModelProperty as ModelProperty
|
||||
from influxdb_client.domain.mosaic_view_properties import MosaicViewProperties as MosaicViewProperties
|
||||
from influxdb_client.domain.node import Node as Node
|
||||
from influxdb_client.domain.notification_endpoint import NotificationEndpoint as NotificationEndpoint
|
||||
from influxdb_client.domain.notification_endpoint_base import NotificationEndpointBase as NotificationEndpointBase
|
||||
from influxdb_client.domain.notification_endpoint_base_links import NotificationEndpointBaseLinks as NotificationEndpointBaseLinks
|
||||
from influxdb_client.domain.notification_endpoint_discriminator import (
|
||||
NotificationEndpointDiscriminator as NotificationEndpointDiscriminator,
|
||||
)
|
||||
from influxdb_client.domain.notification_endpoint_type import NotificationEndpointType as NotificationEndpointType
|
||||
from influxdb_client.domain.notification_endpoint_update import NotificationEndpointUpdate as NotificationEndpointUpdate
|
||||
from influxdb_client.domain.notification_endpoints import NotificationEndpoints as NotificationEndpoints
|
||||
from influxdb_client.domain.notification_rule import NotificationRule as NotificationRule
|
||||
from influxdb_client.domain.notification_rule_base import NotificationRuleBase as NotificationRuleBase
|
||||
from influxdb_client.domain.notification_rule_base_links import NotificationRuleBaseLinks as NotificationRuleBaseLinks
|
||||
from influxdb_client.domain.notification_rule_discriminator import NotificationRuleDiscriminator as NotificationRuleDiscriminator
|
||||
from influxdb_client.domain.notification_rule_update import NotificationRuleUpdate as NotificationRuleUpdate
|
||||
from influxdb_client.domain.notification_rules import NotificationRules as NotificationRules
|
||||
from influxdb_client.domain.object_expression import ObjectExpression as ObjectExpression
|
||||
from influxdb_client.domain.onboarding_request import OnboardingRequest as OnboardingRequest
|
||||
from influxdb_client.domain.onboarding_response import OnboardingResponse as OnboardingResponse
|
||||
from influxdb_client.domain.option_statement import OptionStatement as OptionStatement
|
||||
from influxdb_client.domain.organization import Organization as Organization
|
||||
from influxdb_client.domain.organization_links import OrganizationLinks as OrganizationLinks
|
||||
from influxdb_client.domain.organizations import Organizations as Organizations
|
||||
from influxdb_client.domain.package import Package as Package
|
||||
from influxdb_client.domain.package_clause import PackageClause as PackageClause
|
||||
from influxdb_client.domain.pager_duty_notification_endpoint import PagerDutyNotificationEndpoint as PagerDutyNotificationEndpoint
|
||||
from influxdb_client.domain.pager_duty_notification_rule import PagerDutyNotificationRule as PagerDutyNotificationRule
|
||||
from influxdb_client.domain.pager_duty_notification_rule_base import (
|
||||
PagerDutyNotificationRuleBase as PagerDutyNotificationRuleBase,
|
||||
)
|
||||
from influxdb_client.domain.paren_expression import ParenExpression as ParenExpression
|
||||
from influxdb_client.domain.password_reset_body import PasswordResetBody as PasswordResetBody
|
||||
from influxdb_client.domain.patch_bucket_request import PatchBucketRequest as PatchBucketRequest
|
||||
from influxdb_client.domain.patch_dashboard_request import PatchDashboardRequest as PatchDashboardRequest
|
||||
from influxdb_client.domain.patch_organization_request import PatchOrganizationRequest as PatchOrganizationRequest
|
||||
from influxdb_client.domain.patch_retention_rule import PatchRetentionRule as PatchRetentionRule
|
||||
from influxdb_client.domain.patch_stack_request import PatchStackRequest as PatchStackRequest
|
||||
from influxdb_client.domain.patch_stack_request_additional_resources import (
|
||||
PatchStackRequestAdditionalResources as PatchStackRequestAdditionalResources,
|
||||
)
|
||||
from influxdb_client.domain.permission import Permission as Permission
|
||||
from influxdb_client.domain.permission_resource import PermissionResource as PermissionResource
|
||||
from influxdb_client.domain.pipe_expression import PipeExpression as PipeExpression
|
||||
from influxdb_client.domain.pipe_literal import PipeLiteral as PipeLiteral
|
||||
from influxdb_client.domain.post_bucket_request import PostBucketRequest as PostBucketRequest
|
||||
from influxdb_client.domain.post_check import PostCheck as PostCheck
|
||||
from influxdb_client.domain.post_notification_endpoint import PostNotificationEndpoint as PostNotificationEndpoint
|
||||
from influxdb_client.domain.post_notification_rule import PostNotificationRule as PostNotificationRule
|
||||
from influxdb_client.domain.post_organization_request import PostOrganizationRequest as PostOrganizationRequest
|
||||
from influxdb_client.domain.post_restore_kv_response import PostRestoreKVResponse as PostRestoreKVResponse
|
||||
from influxdb_client.domain.post_stack_request import PostStackRequest as PostStackRequest
|
||||
from influxdb_client.domain.property_key import PropertyKey as PropertyKey
|
||||
from influxdb_client.domain.query import Query as Query
|
||||
from influxdb_client.domain.query_edit_mode import QueryEditMode as QueryEditMode
|
||||
from influxdb_client.domain.query_variable_properties import QueryVariableProperties as QueryVariableProperties
|
||||
from influxdb_client.domain.query_variable_properties_values import QueryVariablePropertiesValues as QueryVariablePropertiesValues
|
||||
from influxdb_client.domain.range_threshold import RangeThreshold as RangeThreshold
|
||||
from influxdb_client.domain.ready import Ready as Ready
|
||||
from influxdb_client.domain.regexp_literal import RegexpLiteral as RegexpLiteral
|
||||
from influxdb_client.domain.remote_connection import RemoteConnection as RemoteConnection
|
||||
from influxdb_client.domain.remote_connection_creation_request import (
|
||||
RemoteConnectionCreationRequest as RemoteConnectionCreationRequest,
|
||||
)
|
||||
from influxdb_client.domain.remote_connection_update_request import RemoteConnectionUpdateRequest as RemoteConnectionUpdateRequest
|
||||
from influxdb_client.domain.remote_connections import RemoteConnections as RemoteConnections
|
||||
from influxdb_client.domain.renamable_field import RenamableField as RenamableField
|
||||
from influxdb_client.domain.replication import Replication as Replication
|
||||
from influxdb_client.domain.replication_creation_request import ReplicationCreationRequest as ReplicationCreationRequest
|
||||
from influxdb_client.domain.replication_update_request import ReplicationUpdateRequest as ReplicationUpdateRequest
|
||||
from influxdb_client.domain.replications import Replications as Replications
|
||||
from influxdb_client.domain.resource_member import ResourceMember as ResourceMember
|
||||
from influxdb_client.domain.resource_members import ResourceMembers as ResourceMembers
|
||||
from influxdb_client.domain.resource_members_links import ResourceMembersLinks as ResourceMembersLinks
|
||||
from influxdb_client.domain.resource_owner import ResourceOwner as ResourceOwner
|
||||
from influxdb_client.domain.resource_owners import ResourceOwners as ResourceOwners
|
||||
from influxdb_client.domain.restored_bucket_mappings import RestoredBucketMappings as RestoredBucketMappings
|
||||
from influxdb_client.domain.retention_policy_manifest import RetentionPolicyManifest as RetentionPolicyManifest
|
||||
from influxdb_client.domain.return_statement import ReturnStatement as ReturnStatement
|
||||
from influxdb_client.domain.routes import Routes as Routes
|
||||
from influxdb_client.domain.routes_external import RoutesExternal as RoutesExternal
|
||||
from influxdb_client.domain.routes_query import RoutesQuery as RoutesQuery
|
||||
from influxdb_client.domain.routes_system import RoutesSystem as RoutesSystem
|
||||
from influxdb_client.domain.rule_status_level import RuleStatusLevel as RuleStatusLevel
|
||||
from influxdb_client.domain.run import Run as Run
|
||||
from influxdb_client.domain.run_links import RunLinks as RunLinks
|
||||
from influxdb_client.domain.run_manually import RunManually as RunManually
|
||||
from influxdb_client.domain.runs import Runs as Runs
|
||||
from influxdb_client.domain.scatter_view_properties import ScatterViewProperties as ScatterViewProperties
|
||||
from influxdb_client.domain.schema_type import SchemaType as SchemaType
|
||||
from influxdb_client.domain.scraper_target_request import ScraperTargetRequest as ScraperTargetRequest
|
||||
from influxdb_client.domain.scraper_target_response import ScraperTargetResponse as ScraperTargetResponse
|
||||
from influxdb_client.domain.scraper_target_responses import ScraperTargetResponses as ScraperTargetResponses
|
||||
from influxdb_client.domain.script import Script as Script
|
||||
from influxdb_client.domain.script_create_request import ScriptCreateRequest as ScriptCreateRequest
|
||||
from influxdb_client.domain.script_invocation_params import ScriptInvocationParams as ScriptInvocationParams
|
||||
from influxdb_client.domain.script_language import ScriptLanguage as ScriptLanguage
|
||||
from influxdb_client.domain.script_update_request import ScriptUpdateRequest as ScriptUpdateRequest
|
||||
from influxdb_client.domain.scripts import Scripts as Scripts
|
||||
from influxdb_client.domain.secret_keys import SecretKeys as SecretKeys
|
||||
from influxdb_client.domain.secret_keys_response import SecretKeysResponse as SecretKeysResponse
|
||||
from influxdb_client.domain.shard_group_manifest import ShardGroupManifest as ShardGroupManifest
|
||||
from influxdb_client.domain.shard_manifest import ShardManifest as ShardManifest
|
||||
from influxdb_client.domain.shard_owner import ShardOwner as ShardOwner
|
||||
from influxdb_client.domain.simple_table_view_properties import SimpleTableViewProperties as SimpleTableViewProperties
|
||||
from influxdb_client.domain.single_stat_view_properties import SingleStatViewProperties as SingleStatViewProperties
|
||||
from influxdb_client.domain.slack_notification_endpoint import SlackNotificationEndpoint as SlackNotificationEndpoint
|
||||
from influxdb_client.domain.slack_notification_rule import SlackNotificationRule as SlackNotificationRule
|
||||
from influxdb_client.domain.slack_notification_rule_base import SlackNotificationRuleBase as SlackNotificationRuleBase
|
||||
from influxdb_client.domain.smtp_notification_rule import SMTPNotificationRule as SMTPNotificationRule
|
||||
from influxdb_client.domain.smtp_notification_rule_base import SMTPNotificationRuleBase as SMTPNotificationRuleBase
|
||||
from influxdb_client.domain.source import Source as Source
|
||||
from influxdb_client.domain.source_links import SourceLinks as SourceLinks
|
||||
from influxdb_client.domain.sources import Sources as Sources
|
||||
from influxdb_client.domain.stack import Stack as Stack
|
||||
from influxdb_client.domain.stack_associations import StackAssociations as StackAssociations
|
||||
from influxdb_client.domain.stack_events import StackEvents as StackEvents
|
||||
from influxdb_client.domain.stack_links import StackLinks as StackLinks
|
||||
from influxdb_client.domain.stack_resources import StackResources as StackResources
|
||||
from influxdb_client.domain.statement import Statement as Statement
|
||||
from influxdb_client.domain.static_legend import StaticLegend as StaticLegend
|
||||
from influxdb_client.domain.status_rule import StatusRule as StatusRule
|
||||
from influxdb_client.domain.string_literal import StringLiteral as StringLiteral
|
||||
from influxdb_client.domain.subscription_manifest import SubscriptionManifest as SubscriptionManifest
|
||||
from influxdb_client.domain.table_view_properties import TableViewProperties as TableViewProperties
|
||||
from influxdb_client.domain.table_view_properties_table_options import (
|
||||
TableViewPropertiesTableOptions as TableViewPropertiesTableOptions,
|
||||
)
|
||||
from influxdb_client.domain.tag_rule import TagRule as TagRule
|
||||
from influxdb_client.domain.task import Task as Task
|
||||
from influxdb_client.domain.task_create_request import TaskCreateRequest as TaskCreateRequest
|
||||
from influxdb_client.domain.task_links import TaskLinks as TaskLinks
|
||||
from influxdb_client.domain.task_status_type import TaskStatusType as TaskStatusType
|
||||
from influxdb_client.domain.task_update_request import TaskUpdateRequest as TaskUpdateRequest
|
||||
from influxdb_client.domain.tasks import Tasks as Tasks
|
||||
from influxdb_client.domain.telegraf import Telegraf as Telegraf
|
||||
from influxdb_client.domain.telegraf_plugin import TelegrafPlugin as TelegrafPlugin
|
||||
from influxdb_client.domain.telegraf_plugin_request import TelegrafPluginRequest as TelegrafPluginRequest
|
||||
from influxdb_client.domain.telegraf_plugin_request_plugins import TelegrafPluginRequestPlugins as TelegrafPluginRequestPlugins
|
||||
from influxdb_client.domain.telegraf_plugins import TelegrafPlugins as TelegrafPlugins
|
||||
from influxdb_client.domain.telegraf_request import TelegrafRequest as TelegrafRequest
|
||||
from influxdb_client.domain.telegraf_request_metadata import TelegrafRequestMetadata as TelegrafRequestMetadata
|
||||
from influxdb_client.domain.telegrafs import Telegrafs as Telegrafs
|
||||
from influxdb_client.domain.telegram_notification_endpoint import TelegramNotificationEndpoint as TelegramNotificationEndpoint
|
||||
from influxdb_client.domain.telegram_notification_rule import TelegramNotificationRule as TelegramNotificationRule
|
||||
from influxdb_client.domain.telegram_notification_rule_base import TelegramNotificationRuleBase as TelegramNotificationRuleBase
|
||||
from influxdb_client.domain.template_apply import TemplateApply as TemplateApply
|
||||
from influxdb_client.domain.template_apply_remotes import TemplateApplyRemotes as TemplateApplyRemotes
|
||||
from influxdb_client.domain.template_apply_template import TemplateApplyTemplate as TemplateApplyTemplate
|
||||
from influxdb_client.domain.template_chart import TemplateChart as TemplateChart
|
||||
from influxdb_client.domain.template_export_by_id import TemplateExportByID as TemplateExportByID
|
||||
from influxdb_client.domain.template_export_by_id_org_ids import TemplateExportByIDOrgIDs as TemplateExportByIDOrgIDs
|
||||
from influxdb_client.domain.template_export_by_id_resource_filters import (
|
||||
TemplateExportByIDResourceFilters as TemplateExportByIDResourceFilters,
|
||||
)
|
||||
from influxdb_client.domain.template_export_by_id_resources import TemplateExportByIDResources as TemplateExportByIDResources
|
||||
from influxdb_client.domain.template_kind import TemplateKind as TemplateKind
|
||||
from influxdb_client.domain.template_summary import TemplateSummary as TemplateSummary
|
||||
from influxdb_client.domain.template_summary_diff import TemplateSummaryDiff as TemplateSummaryDiff
|
||||
from influxdb_client.domain.template_summary_diff_buckets import TemplateSummaryDiffBuckets as TemplateSummaryDiffBuckets
|
||||
from influxdb_client.domain.template_summary_diff_buckets_new_old import (
|
||||
TemplateSummaryDiffBucketsNewOld as TemplateSummaryDiffBucketsNewOld,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_diff_checks import TemplateSummaryDiffChecks as TemplateSummaryDiffChecks
|
||||
from influxdb_client.domain.template_summary_diff_dashboards import TemplateSummaryDiffDashboards as TemplateSummaryDiffDashboards
|
||||
from influxdb_client.domain.template_summary_diff_dashboards_new_old import (
|
||||
TemplateSummaryDiffDashboardsNewOld as TemplateSummaryDiffDashboardsNewOld,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_diff_label_mappings import (
|
||||
TemplateSummaryDiffLabelMappings as TemplateSummaryDiffLabelMappings,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_diff_labels import TemplateSummaryDiffLabels as TemplateSummaryDiffLabels
|
||||
from influxdb_client.domain.template_summary_diff_labels_new_old import (
|
||||
TemplateSummaryDiffLabelsNewOld as TemplateSummaryDiffLabelsNewOld,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_diff_notification_endpoints import (
|
||||
TemplateSummaryDiffNotificationEndpoints as TemplateSummaryDiffNotificationEndpoints,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_diff_notification_rules import (
|
||||
TemplateSummaryDiffNotificationRules as TemplateSummaryDiffNotificationRules,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_diff_notification_rules_new_old import (
|
||||
TemplateSummaryDiffNotificationRulesNewOld as TemplateSummaryDiffNotificationRulesNewOld,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_diff_tasks import TemplateSummaryDiffTasks as TemplateSummaryDiffTasks
|
||||
from influxdb_client.domain.template_summary_diff_tasks_new_old import (
|
||||
TemplateSummaryDiffTasksNewOld as TemplateSummaryDiffTasksNewOld,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_diff_telegraf_configs import (
|
||||
TemplateSummaryDiffTelegrafConfigs as TemplateSummaryDiffTelegrafConfigs,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_diff_variables import TemplateSummaryDiffVariables as TemplateSummaryDiffVariables
|
||||
from influxdb_client.domain.template_summary_diff_variables_new_old import (
|
||||
TemplateSummaryDiffVariablesNewOld as TemplateSummaryDiffVariablesNewOld,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_errors import TemplateSummaryErrors as TemplateSummaryErrors
|
||||
from influxdb_client.domain.template_summary_label import TemplateSummaryLabel as TemplateSummaryLabel
|
||||
from influxdb_client.domain.template_summary_label_properties import (
|
||||
TemplateSummaryLabelProperties as TemplateSummaryLabelProperties,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_summary import TemplateSummarySummary as TemplateSummarySummary
|
||||
from influxdb_client.domain.template_summary_summary_buckets import TemplateSummarySummaryBuckets as TemplateSummarySummaryBuckets
|
||||
from influxdb_client.domain.template_summary_summary_dashboards import (
|
||||
TemplateSummarySummaryDashboards as TemplateSummarySummaryDashboards,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_summary_label_mappings import (
|
||||
TemplateSummarySummaryLabelMappings as TemplateSummarySummaryLabelMappings,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_summary_notification_rules import (
|
||||
TemplateSummarySummaryNotificationRules as TemplateSummarySummaryNotificationRules,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_summary_status_rules import (
|
||||
TemplateSummarySummaryStatusRules as TemplateSummarySummaryStatusRules,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_summary_tag_rules import (
|
||||
TemplateSummarySummaryTagRules as TemplateSummarySummaryTagRules,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_summary_tasks import TemplateSummarySummaryTasks as TemplateSummarySummaryTasks
|
||||
from influxdb_client.domain.template_summary_summary_variables import (
|
||||
TemplateSummarySummaryVariables as TemplateSummarySummaryVariables,
|
||||
)
|
||||
from influxdb_client.domain.test_statement import TestStatement as TestStatement
|
||||
from influxdb_client.domain.threshold import Threshold as Threshold
|
||||
from influxdb_client.domain.threshold_base import ThresholdBase as ThresholdBase
|
||||
from influxdb_client.domain.threshold_check import ThresholdCheck as ThresholdCheck
|
||||
from influxdb_client.domain.unary_expression import UnaryExpression as UnaryExpression
|
||||
from influxdb_client.domain.unsigned_integer_literal import UnsignedIntegerLiteral as UnsignedIntegerLiteral
|
||||
from influxdb_client.domain.user import User as User
|
||||
from influxdb_client.domain.user_response import UserResponse as UserResponse
|
||||
from influxdb_client.domain.user_response_links import UserResponseLinks as UserResponseLinks
|
||||
from influxdb_client.domain.users import Users as Users
|
||||
from influxdb_client.domain.variable import Variable as Variable
|
||||
from influxdb_client.domain.variable_assignment import VariableAssignment as VariableAssignment
|
||||
from influxdb_client.domain.variable_links import VariableLinks as VariableLinks
|
||||
from influxdb_client.domain.variable_properties import VariableProperties as VariableProperties
|
||||
from influxdb_client.domain.variables import Variables as Variables
|
||||
from influxdb_client.domain.view import View as View
|
||||
from influxdb_client.domain.view_links import ViewLinks as ViewLinks
|
||||
from influxdb_client.domain.view_properties import ViewProperties as ViewProperties
|
||||
from influxdb_client.domain.views import Views as Views
|
||||
from influxdb_client.domain.write_precision import WritePrecision as WritePrecision
|
||||
from influxdb_client.domain.xy_geom import XYGeom as XYGeom
|
||||
from influxdb_client.domain.xy_view_properties import XYViewProperties as XYViewProperties
|
||||
from influxdb_client.service.authorizations_service import AuthorizationsService as AuthorizationsService
|
||||
from influxdb_client.service.backup_service import BackupService as BackupService
|
||||
from influxdb_client.service.bucket_schemas_service import BucketSchemasService as BucketSchemasService
|
||||
from influxdb_client.service.buckets_service import BucketsService as BucketsService
|
||||
from influxdb_client.service.cells_service import CellsService as CellsService
|
||||
from influxdb_client.service.checks_service import ChecksService as ChecksService
|
||||
from influxdb_client.service.config_service import ConfigService as ConfigService
|
||||
from influxdb_client.service.dashboards_service import DashboardsService as DashboardsService
|
||||
from influxdb_client.service.dbr_ps_service import DBRPsService as DBRPsService
|
||||
from influxdb_client.service.delete_service import DeleteService as DeleteService
|
||||
from influxdb_client.service.health_service import HealthService as HealthService
|
||||
from influxdb_client.service.invokable_scripts_service import InvokableScriptsService as InvokableScriptsService
|
||||
from influxdb_client.service.labels_service import LabelsService as LabelsService
|
||||
from influxdb_client.service.legacy_authorizations_service import LegacyAuthorizationsService as LegacyAuthorizationsService
|
||||
from influxdb_client.service.metrics_service import MetricsService as MetricsService
|
||||
from influxdb_client.service.notification_endpoints_service import NotificationEndpointsService as NotificationEndpointsService
|
||||
from influxdb_client.service.notification_rules_service import NotificationRulesService as NotificationRulesService
|
||||
from influxdb_client.service.organizations_service import OrganizationsService as OrganizationsService
|
||||
from influxdb_client.service.ping_service import PingService as PingService
|
||||
from influxdb_client.service.query_service import QueryService as QueryService
|
||||
from influxdb_client.service.ready_service import ReadyService as ReadyService
|
||||
from influxdb_client.service.remote_connections_service import RemoteConnectionsService as RemoteConnectionsService
|
||||
from influxdb_client.service.replications_service import ReplicationsService as ReplicationsService
|
||||
from influxdb_client.service.resources_service import ResourcesService as ResourcesService
|
||||
from influxdb_client.service.restore_service import RestoreService as RestoreService
|
||||
from influxdb_client.service.routes_service import RoutesService as RoutesService
|
||||
from influxdb_client.service.rules_service import RulesService as RulesService
|
||||
from influxdb_client.service.scraper_targets_service import ScraperTargetsService as ScraperTargetsService
|
||||
from influxdb_client.service.secrets_service import SecretsService as SecretsService
|
||||
from influxdb_client.service.setup_service import SetupService as SetupService
|
||||
from influxdb_client.service.signin_service import SigninService as SigninService
|
||||
from influxdb_client.service.signout_service import SignoutService as SignoutService
|
||||
from influxdb_client.service.sources_service import SourcesService as SourcesService
|
||||
from influxdb_client.service.tasks_service import TasksService as TasksService
|
||||
from influxdb_client.service.telegraf_plugins_service import TelegrafPluginsService as TelegrafPluginsService
|
||||
from influxdb_client.service.telegrafs_service import TelegrafsService as TelegrafsService
|
||||
from influxdb_client.service.templates_service import TemplatesService as TemplatesService
|
||||
from influxdb_client.service.users_service import UsersService as UsersService
|
||||
from influxdb_client.service.variables_service import VariablesService as VariablesService
|
||||
from influxdb_client.service.views_service import ViewsService as ViewsService
|
||||
from influxdb_client.service.write_service import WriteService as WriteService
|
||||
from influxdb_client.version import VERSION as VERSION
|
||||
|
||||
__version__ = VERSION
|
||||
65
stubs/influxdb-client/influxdb_client/_async/api_client.pyi
Normal file
65
stubs/influxdb-client/influxdb_client/_async/api_client.pyi
Normal file
@@ -0,0 +1,65 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class ApiClientAsync:
|
||||
PRIMITIVE_TYPES: Incomplete
|
||||
NATIVE_TYPES_MAPPING: Incomplete
|
||||
configuration: Incomplete
|
||||
pool_threads: Incomplete
|
||||
rest_client: Incomplete
|
||||
default_headers: Incomplete
|
||||
cookie: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
configuration: Incomplete | None = ...,
|
||||
header_name: Incomplete | None = ...,
|
||||
header_value: Incomplete | None = ...,
|
||||
cookie: Incomplete | None = ...,
|
||||
pool_threads: Incomplete | None = ...,
|
||||
**kwargs,
|
||||
) -> None: ...
|
||||
async def close(self) -> None: ...
|
||||
@property
|
||||
def pool(self): ...
|
||||
@property
|
||||
def user_agent(self): ...
|
||||
@user_agent.setter
|
||||
def user_agent(self, value) -> None: ...
|
||||
def set_default_header(self, header_name, header_value) -> None: ...
|
||||
def sanitize_for_serialization(self, obj): ...
|
||||
def deserialize(self, response, response_type): ...
|
||||
def call_api(
|
||||
self,
|
||||
resource_path,
|
||||
method,
|
||||
path_params: Incomplete | None = ...,
|
||||
query_params: Incomplete | None = ...,
|
||||
header_params: Incomplete | None = ...,
|
||||
body: Incomplete | None = ...,
|
||||
post_params: Incomplete | None = ...,
|
||||
files: Incomplete | None = ...,
|
||||
response_type: Incomplete | None = ...,
|
||||
auth_settings: Incomplete | None = ...,
|
||||
async_req: Incomplete | None = ...,
|
||||
_return_http_data_only: Incomplete | None = ...,
|
||||
collection_formats: Incomplete | None = ...,
|
||||
_preload_content: bool = ...,
|
||||
_request_timeout: Incomplete | None = ...,
|
||||
urlopen_kw: Incomplete | None = ...,
|
||||
): ...
|
||||
def request(
|
||||
self,
|
||||
method,
|
||||
url,
|
||||
query_params: Incomplete | None = ...,
|
||||
headers: Incomplete | None = ...,
|
||||
post_params: Incomplete | None = ...,
|
||||
body: Incomplete | None = ...,
|
||||
_preload_content: bool = ...,
|
||||
_request_timeout: Incomplete | None = ...,
|
||||
**urlopen_kw,
|
||||
): ...
|
||||
def parameters_to_tuples(self, params, collection_formats): ...
|
||||
def prepare_post_parameters(self, post_params: Incomplete | None = ..., files: Incomplete | None = ...): ...
|
||||
def select_header_accept(self, accepts): ...
|
||||
def select_header_content_type(self, content_types): ...
|
||||
def update_params_for_auth(self, headers, querys, auth_settings) -> None: ...
|
||||
96
stubs/influxdb-client/influxdb_client/_async/rest.pyi
Normal file
96
stubs/influxdb-client/influxdb_client/_async/rest.pyi
Normal file
@@ -0,0 +1,96 @@
|
||||
import io
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class RESTResponseAsync(io.IOBase):
|
||||
aiohttp_response: Incomplete
|
||||
status: Incomplete
|
||||
reason: Incomplete
|
||||
data: Incomplete
|
||||
def __init__(self, resp, data) -> None: ...
|
||||
def getheaders(self): ...
|
||||
def getheader(self, name, default: Incomplete | None = ...): ...
|
||||
|
||||
class RESTClientObjectAsync:
|
||||
proxy: Incomplete
|
||||
proxy_headers: Incomplete
|
||||
allow_redirects: Incomplete
|
||||
max_redirects: Incomplete
|
||||
pool_manager: Incomplete
|
||||
def __init__(self, configuration, pools_size: int = ..., maxsize: Incomplete | None = ..., **kwargs) -> None: ...
|
||||
async def close(self) -> None: ...
|
||||
async def request(
|
||||
self,
|
||||
method,
|
||||
url,
|
||||
query_params: Incomplete | None = ...,
|
||||
headers: Incomplete | None = ...,
|
||||
body: Incomplete | None = ...,
|
||||
post_params: Incomplete | None = ...,
|
||||
_preload_content: bool = ...,
|
||||
_request_timeout: Incomplete | None = ...,
|
||||
): ...
|
||||
async def GET(
|
||||
self,
|
||||
url,
|
||||
headers: Incomplete | None = ...,
|
||||
query_params: Incomplete | None = ...,
|
||||
_preload_content: bool = ...,
|
||||
_request_timeout: Incomplete | None = ...,
|
||||
): ...
|
||||
async def HEAD(
|
||||
self,
|
||||
url,
|
||||
headers: Incomplete | None = ...,
|
||||
query_params: Incomplete | None = ...,
|
||||
_preload_content: bool = ...,
|
||||
_request_timeout: Incomplete | None = ...,
|
||||
): ...
|
||||
async def OPTIONS(
|
||||
self,
|
||||
url,
|
||||
headers: Incomplete | None = ...,
|
||||
query_params: Incomplete | None = ...,
|
||||
post_params: Incomplete | None = ...,
|
||||
body: Incomplete | None = ...,
|
||||
_preload_content: bool = ...,
|
||||
_request_timeout: Incomplete | None = ...,
|
||||
): ...
|
||||
async def DELETE(
|
||||
self,
|
||||
url,
|
||||
headers: Incomplete | None = ...,
|
||||
query_params: Incomplete | None = ...,
|
||||
body: Incomplete | None = ...,
|
||||
_preload_content: bool = ...,
|
||||
_request_timeout: Incomplete | None = ...,
|
||||
): ...
|
||||
async def POST(
|
||||
self,
|
||||
url,
|
||||
headers: Incomplete | None = ...,
|
||||
query_params: Incomplete | None = ...,
|
||||
post_params: Incomplete | None = ...,
|
||||
body: Incomplete | None = ...,
|
||||
_preload_content: bool = ...,
|
||||
_request_timeout: Incomplete | None = ...,
|
||||
): ...
|
||||
async def PUT(
|
||||
self,
|
||||
url,
|
||||
headers: Incomplete | None = ...,
|
||||
query_params: Incomplete | None = ...,
|
||||
post_params: Incomplete | None = ...,
|
||||
body: Incomplete | None = ...,
|
||||
_preload_content: bool = ...,
|
||||
_request_timeout: Incomplete | None = ...,
|
||||
): ...
|
||||
async def PATCH(
|
||||
self,
|
||||
url,
|
||||
headers: Incomplete | None = ...,
|
||||
query_params: Incomplete | None = ...,
|
||||
post_params: Incomplete | None = ...,
|
||||
body: Incomplete | None = ...,
|
||||
_preload_content: bool = ...,
|
||||
_request_timeout: Incomplete | None = ...,
|
||||
): ...
|
||||
65
stubs/influxdb-client/influxdb_client/_sync/api_client.pyi
Normal file
65
stubs/influxdb-client/influxdb_client/_sync/api_client.pyi
Normal file
@@ -0,0 +1,65 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class ApiClient:
|
||||
PRIMITIVE_TYPES: Incomplete
|
||||
NATIVE_TYPES_MAPPING: Incomplete
|
||||
configuration: Incomplete
|
||||
pool_threads: Incomplete
|
||||
rest_client: Incomplete
|
||||
default_headers: Incomplete
|
||||
cookie: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
configuration: Incomplete | None = ...,
|
||||
header_name: Incomplete | None = ...,
|
||||
header_value: Incomplete | None = ...,
|
||||
cookie: Incomplete | None = ...,
|
||||
pool_threads: Incomplete | None = ...,
|
||||
retries: bool = ...,
|
||||
) -> None: ...
|
||||
def __del__(self) -> None: ...
|
||||
@property
|
||||
def pool(self): ...
|
||||
@property
|
||||
def user_agent(self): ...
|
||||
@user_agent.setter
|
||||
def user_agent(self, value) -> None: ...
|
||||
def set_default_header(self, header_name, header_value) -> None: ...
|
||||
def sanitize_for_serialization(self, obj): ...
|
||||
def deserialize(self, response, response_type): ...
|
||||
def call_api(
|
||||
self,
|
||||
resource_path,
|
||||
method,
|
||||
path_params: Incomplete | None = ...,
|
||||
query_params: Incomplete | None = ...,
|
||||
header_params: Incomplete | None = ...,
|
||||
body: Incomplete | None = ...,
|
||||
post_params: Incomplete | None = ...,
|
||||
files: Incomplete | None = ...,
|
||||
response_type: Incomplete | None = ...,
|
||||
auth_settings: Incomplete | None = ...,
|
||||
async_req: Incomplete | None = ...,
|
||||
_return_http_data_only: Incomplete | None = ...,
|
||||
collection_formats: Incomplete | None = ...,
|
||||
_preload_content: bool = ...,
|
||||
_request_timeout: Incomplete | None = ...,
|
||||
urlopen_kw: Incomplete | None = ...,
|
||||
): ...
|
||||
def request(
|
||||
self,
|
||||
method,
|
||||
url,
|
||||
query_params: Incomplete | None = ...,
|
||||
headers: Incomplete | None = ...,
|
||||
post_params: Incomplete | None = ...,
|
||||
body: Incomplete | None = ...,
|
||||
_preload_content: bool = ...,
|
||||
_request_timeout: Incomplete | None = ...,
|
||||
**urlopen_kw,
|
||||
): ...
|
||||
def parameters_to_tuples(self, params, collection_formats): ...
|
||||
def prepare_post_parameters(self, post_params: Incomplete | None = ..., files: Incomplete | None = ...): ...
|
||||
def select_header_accept(self, accepts): ...
|
||||
def select_header_content_type(self, content_types): ...
|
||||
def update_params_for_auth(self, headers, querys, auth_settings) -> None: ...
|
||||
103
stubs/influxdb-client/influxdb_client/_sync/rest.pyi
Normal file
103
stubs/influxdb-client/influxdb_client/_sync/rest.pyi
Normal file
@@ -0,0 +1,103 @@
|
||||
import io
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class RESTResponse(io.IOBase):
|
||||
urllib3_response: Incomplete
|
||||
status: Incomplete
|
||||
reason: Incomplete
|
||||
data: Incomplete
|
||||
def __init__(self, resp) -> None: ...
|
||||
def getheaders(self): ...
|
||||
def getheader(self, name, default: Incomplete | None = ...): ...
|
||||
|
||||
class RESTClientObject:
|
||||
configuration: Incomplete
|
||||
pools_size: Incomplete
|
||||
maxsize: Incomplete
|
||||
retries: Incomplete
|
||||
pool_manager: Incomplete
|
||||
def __init__(self, configuration, pools_size: int = ..., maxsize: Incomplete | None = ..., retries: bool = ...) -> None: ...
|
||||
def request(
|
||||
self,
|
||||
method,
|
||||
url,
|
||||
query_params: Incomplete | None = ...,
|
||||
headers: Incomplete | None = ...,
|
||||
body: Incomplete | None = ...,
|
||||
post_params: Incomplete | None = ...,
|
||||
_preload_content: bool = ...,
|
||||
_request_timeout: Incomplete | None = ...,
|
||||
**urlopen_kw,
|
||||
): ...
|
||||
def GET(
|
||||
self,
|
||||
url,
|
||||
headers: Incomplete | None = ...,
|
||||
query_params: Incomplete | None = ...,
|
||||
_preload_content: bool = ...,
|
||||
_request_timeout: Incomplete | None = ...,
|
||||
**urlopen_kw,
|
||||
): ...
|
||||
def HEAD(
|
||||
self,
|
||||
url,
|
||||
headers: Incomplete | None = ...,
|
||||
query_params: Incomplete | None = ...,
|
||||
_preload_content: bool = ...,
|
||||
_request_timeout: Incomplete | None = ...,
|
||||
**urlopen_kw,
|
||||
): ...
|
||||
def OPTIONS(
|
||||
self,
|
||||
url,
|
||||
headers: Incomplete | None = ...,
|
||||
query_params: Incomplete | None = ...,
|
||||
post_params: Incomplete | None = ...,
|
||||
body: Incomplete | None = ...,
|
||||
_preload_content: bool = ...,
|
||||
_request_timeout: Incomplete | None = ...,
|
||||
**urlopen_kw,
|
||||
): ...
|
||||
def DELETE(
|
||||
self,
|
||||
url,
|
||||
headers: Incomplete | None = ...,
|
||||
query_params: Incomplete | None = ...,
|
||||
body: Incomplete | None = ...,
|
||||
_preload_content: bool = ...,
|
||||
_request_timeout: Incomplete | None = ...,
|
||||
**urlopen_kw,
|
||||
): ...
|
||||
def POST(
|
||||
self,
|
||||
url,
|
||||
headers: Incomplete | None = ...,
|
||||
query_params: Incomplete | None = ...,
|
||||
post_params: Incomplete | None = ...,
|
||||
body: Incomplete | None = ...,
|
||||
_preload_content: bool = ...,
|
||||
_request_timeout: Incomplete | None = ...,
|
||||
**urlopen_kw,
|
||||
): ...
|
||||
def PUT(
|
||||
self,
|
||||
url,
|
||||
headers: Incomplete | None = ...,
|
||||
query_params: Incomplete | None = ...,
|
||||
post_params: Incomplete | None = ...,
|
||||
body: Incomplete | None = ...,
|
||||
_preload_content: bool = ...,
|
||||
_request_timeout: Incomplete | None = ...,
|
||||
**urlopen_kw,
|
||||
): ...
|
||||
def PATCH(
|
||||
self,
|
||||
url,
|
||||
headers: Incomplete | None = ...,
|
||||
query_params: Incomplete | None = ...,
|
||||
post_params: Incomplete | None = ...,
|
||||
body: Incomplete | None = ...,
|
||||
_preload_content: bool = ...,
|
||||
_request_timeout: Incomplete | None = ...,
|
||||
**urlopen_kw,
|
||||
): ...
|
||||
41
stubs/influxdb-client/influxdb_client/client/__init__.pyi
Normal file
41
stubs/influxdb-client/influxdb_client/client/__init__.pyi
Normal file
@@ -0,0 +1,41 @@
|
||||
from influxdb_client.service.authorizations_service import AuthorizationsService as AuthorizationsService
|
||||
from influxdb_client.service.backup_service import BackupService as BackupService
|
||||
from influxdb_client.service.bucket_schemas_service import BucketSchemasService as BucketSchemasService
|
||||
from influxdb_client.service.buckets_service import BucketsService as BucketsService
|
||||
from influxdb_client.service.cells_service import CellsService as CellsService
|
||||
from influxdb_client.service.checks_service import ChecksService as ChecksService
|
||||
from influxdb_client.service.config_service import ConfigService as ConfigService
|
||||
from influxdb_client.service.dashboards_service import DashboardsService as DashboardsService
|
||||
from influxdb_client.service.dbr_ps_service import DBRPsService as DBRPsService
|
||||
from influxdb_client.service.delete_service import DeleteService as DeleteService
|
||||
from influxdb_client.service.health_service import HealthService as HealthService
|
||||
from influxdb_client.service.invokable_scripts_service import InvokableScriptsService as InvokableScriptsService
|
||||
from influxdb_client.service.labels_service import LabelsService as LabelsService
|
||||
from influxdb_client.service.legacy_authorizations_service import LegacyAuthorizationsService as LegacyAuthorizationsService
|
||||
from influxdb_client.service.metrics_service import MetricsService as MetricsService
|
||||
from influxdb_client.service.notification_endpoints_service import NotificationEndpointsService as NotificationEndpointsService
|
||||
from influxdb_client.service.notification_rules_service import NotificationRulesService as NotificationRulesService
|
||||
from influxdb_client.service.organizations_service import OrganizationsService as OrganizationsService
|
||||
from influxdb_client.service.ping_service import PingService as PingService
|
||||
from influxdb_client.service.query_service import QueryService as QueryService
|
||||
from influxdb_client.service.ready_service import ReadyService as ReadyService
|
||||
from influxdb_client.service.remote_connections_service import RemoteConnectionsService as RemoteConnectionsService
|
||||
from influxdb_client.service.replications_service import ReplicationsService as ReplicationsService
|
||||
from influxdb_client.service.resources_service import ResourcesService as ResourcesService
|
||||
from influxdb_client.service.restore_service import RestoreService as RestoreService
|
||||
from influxdb_client.service.routes_service import RoutesService as RoutesService
|
||||
from influxdb_client.service.rules_service import RulesService as RulesService
|
||||
from influxdb_client.service.scraper_targets_service import ScraperTargetsService as ScraperTargetsService
|
||||
from influxdb_client.service.secrets_service import SecretsService as SecretsService
|
||||
from influxdb_client.service.setup_service import SetupService as SetupService
|
||||
from influxdb_client.service.signin_service import SigninService as SigninService
|
||||
from influxdb_client.service.signout_service import SignoutService as SignoutService
|
||||
from influxdb_client.service.sources_service import SourcesService as SourcesService
|
||||
from influxdb_client.service.tasks_service import TasksService as TasksService
|
||||
from influxdb_client.service.telegraf_plugins_service import TelegrafPluginsService as TelegrafPluginsService
|
||||
from influxdb_client.service.telegrafs_service import TelegrafsService as TelegrafsService
|
||||
from influxdb_client.service.templates_service import TemplatesService as TemplatesService
|
||||
from influxdb_client.service.users_service import UsersService as UsersService
|
||||
from influxdb_client.service.variables_service import VariablesService as VariablesService
|
||||
from influxdb_client.service.views_service import ViewsService as ViewsService
|
||||
from influxdb_client.service.write_service import WriteService as WriteService
|
||||
46
stubs/influxdb-client/influxdb_client/client/_base.pyi
Normal file
46
stubs/influxdb-client/influxdb_client/client/_base.pyi
Normal file
@@ -0,0 +1,46 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from influxdb_client import Configuration
|
||||
|
||||
LOGGERS_NAMES: Incomplete
|
||||
|
||||
class _BaseClient:
|
||||
url: Incomplete
|
||||
token: Incomplete
|
||||
org: Incomplete
|
||||
default_tags: Incomplete
|
||||
conf: Incomplete
|
||||
auth_header_name: Incomplete
|
||||
auth_header_value: Incomplete
|
||||
retries: Incomplete
|
||||
profilers: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
url,
|
||||
token,
|
||||
debug: Incomplete | None = ...,
|
||||
timeout: int = ...,
|
||||
enable_gzip: bool = ...,
|
||||
org: str | None = ...,
|
||||
default_tags: dict[Incomplete, Incomplete] | None = ...,
|
||||
http_client_logger: str | None = ...,
|
||||
**kwargs,
|
||||
) -> None: ...
|
||||
|
||||
class _BaseQueryApi:
|
||||
default_dialect: Incomplete
|
||||
def __init__(self, influxdb_client, query_options: Incomplete | None = ...) -> None: ...
|
||||
|
||||
class _BaseWriteApi:
|
||||
def __init__(self, influxdb_client, point_settings: Incomplete | None = ...) -> None: ...
|
||||
|
||||
class _BaseDeleteApi:
|
||||
def __init__(self, influxdb_client) -> None: ...
|
||||
|
||||
class _Configuration(Configuration):
|
||||
enable_gzip: bool
|
||||
username: Incomplete
|
||||
password: Incomplete
|
||||
def __init__(self) -> None: ...
|
||||
def update_request_header_params(self, path: str, params: dict[Incomplete, Incomplete]): ...
|
||||
def update_request_body(self, path: str, body): ...
|
||||
@@ -0,0 +1,23 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from influxdb_client import Authorization, Organization, User
|
||||
|
||||
class AuthorizationsApi:
|
||||
def __init__(self, influxdb_client) -> None: ...
|
||||
def create_authorization(
|
||||
self,
|
||||
org_id: Incomplete | None = ...,
|
||||
permissions: list[Incomplete] | None = ...,
|
||||
authorization: Authorization | None = ...,
|
||||
) -> Authorization: ...
|
||||
def find_authorization_by_id(self, auth_id: str) -> Authorization: ...
|
||||
def find_authorizations(self, **kwargs): ...
|
||||
def find_authorizations_by_user(self, user: User): ...
|
||||
def find_authorizations_by_user_id(self, user_id: str): ...
|
||||
def find_authorizations_by_user_name(self, user_name: str): ...
|
||||
def find_authorizations_by_org(self, org: Organization): ...
|
||||
def find_authorizations_by_org_name(self, org_name: str): ...
|
||||
def find_authorizations_by_org_id(self, org_id: str): ...
|
||||
def update_authorization(self, auth): ...
|
||||
def clone_authorization(self, auth) -> Authorization: ...
|
||||
def delete_authorization(self, auth): ...
|
||||
20
stubs/influxdb-client/influxdb_client/client/bucket_api.pyi
Normal file
20
stubs/influxdb-client/influxdb_client/client/bucket_api.pyi
Normal file
@@ -0,0 +1,20 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from influxdb_client import Bucket
|
||||
|
||||
class BucketsApi:
|
||||
def __init__(self, influxdb_client) -> None: ...
|
||||
def create_bucket(
|
||||
self,
|
||||
bucket: Incomplete | None = ...,
|
||||
bucket_name: Incomplete | None = ...,
|
||||
org_id: Incomplete | None = ...,
|
||||
retention_rules: Incomplete | None = ...,
|
||||
description: Incomplete | None = ...,
|
||||
org: Incomplete | None = ...,
|
||||
) -> Bucket: ...
|
||||
def update_bucket(self, bucket: Bucket) -> Bucket: ...
|
||||
def delete_bucket(self, bucket): ...
|
||||
def find_bucket_by_id(self, id): ...
|
||||
def find_bucket_by_name(self, bucket_name): ...
|
||||
def find_buckets(self, **kwargs): ...
|
||||
10
stubs/influxdb-client/influxdb_client/client/delete_api.pyi
Normal file
10
stubs/influxdb-client/influxdb_client/client/delete_api.pyi
Normal file
@@ -0,0 +1,10 @@
|
||||
from datetime import datetime
|
||||
|
||||
from influxdb_client import Organization
|
||||
from influxdb_client.client._base import _BaseDeleteApi
|
||||
|
||||
class DeleteApi(_BaseDeleteApi):
|
||||
def __init__(self, influxdb_client) -> None: ...
|
||||
def delete(
|
||||
self, start: str | datetime, stop: str | datetime, predicate: str, bucket: str, org: str | Organization | None = ...
|
||||
) -> None: ...
|
||||
@@ -0,0 +1,10 @@
|
||||
from datetime import datetime
|
||||
|
||||
from influxdb_client import Organization
|
||||
from influxdb_client.client._base import _BaseDeleteApi
|
||||
|
||||
class DeleteApiAsync(_BaseDeleteApi):
|
||||
def __init__(self, influxdb_client) -> None: ...
|
||||
async def delete(
|
||||
self, start: str | datetime, stop: str | datetime, predicate: str, bucket: str, org: str | Organization | None = ...
|
||||
) -> bool: ...
|
||||
11
stubs/influxdb-client/influxdb_client/client/exceptions.pyi
Normal file
11
stubs/influxdb-client/influxdb_client/client/exceptions.pyi
Normal file
@@ -0,0 +1,11 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from urllib3 import HTTPResponse
|
||||
|
||||
logger: Incomplete
|
||||
|
||||
class InfluxDBError(Exception):
|
||||
response: Incomplete
|
||||
message: Incomplete
|
||||
retry_after: Incomplete
|
||||
def __init__(self, response: HTTPResponse | None = ..., message: str | None = ...) -> None: ...
|
||||
@@ -0,0 +1,68 @@
|
||||
from _typeshed import Incomplete, Self
|
||||
from collections.abc import Generator
|
||||
from enum import Enum
|
||||
|
||||
from influxdb_client.client.flux_table import TableList
|
||||
|
||||
ANNOTATION_DEFAULT: str
|
||||
ANNOTATION_GROUP: str
|
||||
ANNOTATION_DATATYPE: str
|
||||
ANNOTATIONS: Incomplete
|
||||
|
||||
class FluxQueryException(Exception):
|
||||
message: Incomplete
|
||||
reference: Incomplete
|
||||
def __init__(self, message, reference) -> None: ...
|
||||
|
||||
class FluxCsvParserException(Exception): ...
|
||||
|
||||
class FluxSerializationMode(Enum):
|
||||
tables: int
|
||||
stream: int
|
||||
dataFrame: int
|
||||
|
||||
class FluxResponseMetadataMode(Enum):
|
||||
full: int
|
||||
only_names: int
|
||||
|
||||
class _FluxCsvParserMetadata:
|
||||
table_index: int
|
||||
table_id: int
|
||||
start_new_table: bool
|
||||
table: Incomplete
|
||||
groups: Incomplete
|
||||
parsing_state_error: bool
|
||||
def __init__(self) -> None: ...
|
||||
|
||||
class FluxCsvParser:
|
||||
tables: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
response,
|
||||
serialization_mode: FluxSerializationMode,
|
||||
data_frame_index: list[str] | None = ...,
|
||||
query_options: Incomplete | None = ...,
|
||||
response_metadata_mode: FluxResponseMetadataMode = ...,
|
||||
) -> None: ...
|
||||
def __enter__(self: Self) -> Self: ...
|
||||
def __exit__(self, exc_type, exc_val, exc_tb) -> None: ...
|
||||
async def __aenter__(self: Self) -> Self: ...
|
||||
async def __aexit__(self, exc_type, exc_val, exc_tb) -> None: ...
|
||||
def generator(self) -> Generator[Incomplete, None, None]: ...
|
||||
def generator_async(self): ...
|
||||
def parse_record(self, table_index, table, csv): ...
|
||||
@staticmethod
|
||||
def add_data_types(table, data_types) -> None: ...
|
||||
@staticmethod
|
||||
def add_groups(table, csv) -> None: ...
|
||||
@staticmethod
|
||||
def add_default_empty_values(table, default_values) -> None: ...
|
||||
@staticmethod
|
||||
def add_column_names_and_tags(table, csv) -> None: ...
|
||||
def table_list(self) -> TableList: ...
|
||||
|
||||
class _StreamReaderToWithAsyncRead:
|
||||
response: Incomplete
|
||||
decoder: Incomplete
|
||||
def __init__(self, response) -> None: ...
|
||||
async def read(self, size: int) -> str: ...
|
||||
56
stubs/influxdb-client/influxdb_client/client/flux_table.pyi
Normal file
56
stubs/influxdb-client/influxdb_client/client/flux_table.pyi
Normal file
@@ -0,0 +1,56 @@
|
||||
from _typeshed import Incomplete
|
||||
from collections.abc import Iterator
|
||||
from http.client import HTTPResponse
|
||||
from json import JSONEncoder
|
||||
|
||||
class FluxStructure: ...
|
||||
|
||||
class FluxStructureEncoder(JSONEncoder):
|
||||
def default(self, obj): ...
|
||||
|
||||
class FluxTable(FluxStructure):
|
||||
columns: Incomplete
|
||||
records: Incomplete
|
||||
def __init__(self) -> None: ...
|
||||
def get_group_key(self): ...
|
||||
def __iter__(self): ...
|
||||
|
||||
class FluxColumn(FluxStructure):
|
||||
default_value: Incomplete
|
||||
group: Incomplete
|
||||
data_type: Incomplete
|
||||
label: Incomplete
|
||||
index: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
index: Incomplete | None = ...,
|
||||
label: Incomplete | None = ...,
|
||||
data_type: Incomplete | None = ...,
|
||||
group: Incomplete | None = ...,
|
||||
default_value: Incomplete | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class FluxRecord(FluxStructure):
|
||||
table: Incomplete
|
||||
values: Incomplete
|
||||
row: Incomplete
|
||||
def __init__(self, table, values: Incomplete | None = ...) -> None: ...
|
||||
def get_start(self): ...
|
||||
def get_stop(self): ...
|
||||
def get_time(self): ...
|
||||
def get_value(self): ...
|
||||
def get_field(self): ...
|
||||
def get_measurement(self): ...
|
||||
def __getitem__(self, key): ...
|
||||
def __setitem__(self, key, value): ...
|
||||
|
||||
class TableList(list[FluxTable]):
|
||||
def to_values(self, columns: list[str] | None = ...) -> list[list[object]]: ...
|
||||
def to_json(self, columns: list[str] | None = ..., **kwargs) -> str: ...
|
||||
|
||||
class CSVIterator(Iterator[list[str]]):
|
||||
delegate: Incomplete
|
||||
def __init__(self, response: HTTPResponse) -> None: ...
|
||||
def __iter__(self): ...
|
||||
def __next__(self): ...
|
||||
def to_values(self) -> list[list[str]]: ...
|
||||
@@ -0,0 +1,52 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from influxdb_client import HealthCheck, InvokableScriptsApi, Ready
|
||||
from influxdb_client.client._base import _BaseClient
|
||||
from influxdb_client.client.authorizations_api import AuthorizationsApi
|
||||
from influxdb_client.client.bucket_api import BucketsApi
|
||||
from influxdb_client.client.delete_api import DeleteApi
|
||||
from influxdb_client.client.labels_api import LabelsApi
|
||||
from influxdb_client.client.organizations_api import OrganizationsApi
|
||||
from influxdb_client.client.query_api import QueryApi, QueryOptions
|
||||
from influxdb_client.client.tasks_api import TasksApi
|
||||
from influxdb_client.client.users_api import UsersApi
|
||||
from influxdb_client.client.write_api import WriteApi
|
||||
|
||||
logger: Incomplete
|
||||
|
||||
class InfluxDBClient(_BaseClient):
|
||||
api_client: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
url,
|
||||
token: str | None = ...,
|
||||
debug: Incomplete | None = ...,
|
||||
timeout: int = ...,
|
||||
enable_gzip: bool = ...,
|
||||
org: str | None = ...,
|
||||
default_tags: dict[Incomplete, Incomplete] | None = ...,
|
||||
**kwargs,
|
||||
) -> None: ...
|
||||
def __enter__(self): ...
|
||||
def __exit__(self, exc_type, exc_value, traceback) -> None: ...
|
||||
@classmethod
|
||||
def from_config_file(cls, config_file: str = ..., debug: Incomplete | None = ..., enable_gzip: bool = ..., **kwargs): ...
|
||||
@classmethod
|
||||
def from_env_properties(cls, debug: Incomplete | None = ..., enable_gzip: bool = ..., **kwargs): ...
|
||||
def write_api(self, write_options=..., point_settings=..., **kwargs) -> WriteApi: ...
|
||||
def query_api(self, query_options: QueryOptions = ...) -> QueryApi: ...
|
||||
def invokable_scripts_api(self) -> InvokableScriptsApi: ...
|
||||
def close(self) -> None: ...
|
||||
def __del__(self) -> None: ...
|
||||
def buckets_api(self) -> BucketsApi: ...
|
||||
def authorizations_api(self) -> AuthorizationsApi: ...
|
||||
def users_api(self) -> UsersApi: ...
|
||||
def organizations_api(self) -> OrganizationsApi: ...
|
||||
def tasks_api(self) -> TasksApi: ...
|
||||
def labels_api(self) -> LabelsApi: ...
|
||||
def health(self) -> HealthCheck: ...
|
||||
def ping(self) -> bool: ...
|
||||
def version(self) -> str: ...
|
||||
def build(self) -> str: ...
|
||||
def ready(self) -> Ready: ...
|
||||
def delete_api(self) -> DeleteApi: ...
|
||||
@@ -0,0 +1,35 @@
|
||||
from _typeshed import Incomplete, Self
|
||||
|
||||
from influxdb_client.client._base import _BaseClient
|
||||
from influxdb_client.client.delete_api_async import DeleteApiAsync
|
||||
from influxdb_client.client.query_api import QueryOptions
|
||||
from influxdb_client.client.query_api_async import QueryApiAsync
|
||||
from influxdb_client.client.write_api_async import WriteApiAsync
|
||||
|
||||
logger: Incomplete
|
||||
|
||||
class InfluxDBClientAsync(_BaseClient):
|
||||
api_client: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
url,
|
||||
token: str | None = ...,
|
||||
org: str | None = ...,
|
||||
debug: Incomplete | None = ...,
|
||||
timeout: int = ...,
|
||||
enable_gzip: bool = ...,
|
||||
**kwargs,
|
||||
) -> None: ...
|
||||
async def __aenter__(self: Self) -> Self: ...
|
||||
async def __aexit__(self, exc_type, exc, tb) -> None: ...
|
||||
async def close(self) -> None: ...
|
||||
@classmethod
|
||||
def from_config_file(cls, config_file: str = ..., debug: Incomplete | None = ..., enable_gzip: bool = ..., **kwargs): ...
|
||||
@classmethod
|
||||
def from_env_properties(cls, debug: Incomplete | None = ..., enable_gzip: bool = ..., **kwargs): ...
|
||||
async def ping(self) -> bool: ...
|
||||
async def version(self) -> str: ...
|
||||
async def build(self) -> str: ...
|
||||
def query_api(self, query_options: QueryOptions = ...) -> QueryApiAsync: ...
|
||||
def write_api(self, point_settings=...) -> WriteApiAsync: ...
|
||||
def delete_api(self) -> DeleteApiAsync: ...
|
||||
@@ -0,0 +1,26 @@
|
||||
from _typeshed import Incomplete
|
||||
from collections.abc import Generator, Iterator
|
||||
from typing import Any
|
||||
|
||||
from influxdb_client import Script, ScriptCreateRequest, ScriptUpdateRequest
|
||||
from influxdb_client.client._base import _BaseQueryApi
|
||||
from influxdb_client.client.flux_table import CSVIterator, FluxRecord, TableList
|
||||
|
||||
class InvokableScriptsApi(_BaseQueryApi):
|
||||
def __init__(self, influxdb_client) -> None: ...
|
||||
def create_script(self, create_request: ScriptCreateRequest) -> Script: ...
|
||||
def update_script(self, script_id: str, update_request: ScriptUpdateRequest) -> Script: ...
|
||||
def delete_script(self, script_id: str) -> None: ...
|
||||
def find_scripts(self, **kwargs): ...
|
||||
def invoke_script(self, script_id: str, params: dict[Incomplete, Incomplete] | None = ...) -> TableList: ...
|
||||
def invoke_script_stream(
|
||||
self, script_id: str, params: dict[Incomplete, Incomplete] | None = ...
|
||||
) -> Generator[FluxRecord, Any, None]: ...
|
||||
def invoke_script_data_frame(
|
||||
self, script_id: str, params: dict[Incomplete, Incomplete] | None = ..., data_frame_index: list[str] | None = ...
|
||||
): ...
|
||||
def invoke_script_data_frame_stream(
|
||||
self, script_id: str, params: dict[Incomplete, Incomplete] | None = ..., data_frame_index: list[str] | None = ...
|
||||
): ...
|
||||
def invoke_script_csv(self, script_id: str, params: dict[Incomplete, Incomplete] | None = ...) -> CSVIterator: ...
|
||||
def invoke_script_raw(self, script_id: str, params: dict[Incomplete, Incomplete] | None = ...) -> Iterator[list[str]]: ...
|
||||
11
stubs/influxdb-client/influxdb_client/client/labels_api.pyi
Normal file
11
stubs/influxdb-client/influxdb_client/client/labels_api.pyi
Normal file
@@ -0,0 +1,11 @@
|
||||
from influxdb_client import Label
|
||||
|
||||
class LabelsApi:
|
||||
def __init__(self, influxdb_client) -> None: ...
|
||||
def create_label(self, name: str, org_id: str, properties: dict[str, str] | None = ...) -> Label: ...
|
||||
def update_label(self, label: Label): ...
|
||||
def delete_label(self, label: str | Label): ...
|
||||
def clone_label(self, cloned_name: str, label: Label) -> Label: ...
|
||||
def find_labels(self, **kwargs) -> list[Label]: ...
|
||||
def find_label_by_id(self, label_id: str): ...
|
||||
def find_label_by_org(self, org_id) -> list[Label]: ...
|
||||
@@ -0,0 +1,14 @@
|
||||
import logging
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class InfluxLoggingHandler(logging.Handler):
|
||||
DEFAULT_LOG_RECORD_KEYS: Incomplete
|
||||
bucket: Incomplete
|
||||
client: Incomplete
|
||||
write_api: Incomplete
|
||||
def __init__(
|
||||
self, *, url, token, org, bucket, client_args: Incomplete | None = ..., write_api_args: Incomplete | None = ...
|
||||
) -> None: ...
|
||||
def __del__(self) -> None: ...
|
||||
def close(self) -> None: ...
|
||||
def emit(self, record: logging.LogRecord) -> None: ...
|
||||
@@ -0,0 +1,10 @@
|
||||
from influxdb_client import Organization
|
||||
|
||||
class OrganizationsApi:
|
||||
def __init__(self, influxdb_client) -> None: ...
|
||||
def me(self): ...
|
||||
def find_organization(self, org_id): ...
|
||||
def find_organizations(self, **kwargs): ...
|
||||
def create_organization(self, name: str | None = ..., organization: Organization | None = ...) -> Organization: ...
|
||||
def update_organization(self, organization: Organization) -> Organization: ...
|
||||
def delete_organization(self, org_id: str): ...
|
||||
40
stubs/influxdb-client/influxdb_client/client/query_api.pyi
Normal file
40
stubs/influxdb-client/influxdb_client/client/query_api.pyi
Normal file
@@ -0,0 +1,40 @@
|
||||
from _typeshed import Incomplete
|
||||
from collections.abc import Callable, Generator
|
||||
from typing import Any
|
||||
|
||||
from influxdb_client import Dialect
|
||||
from influxdb_client.client._base import _BaseQueryApi
|
||||
from influxdb_client.client.flux_table import CSVIterator, FluxRecord, TableList
|
||||
|
||||
class QueryOptions:
|
||||
profilers: Incomplete
|
||||
profiler_callback: Incomplete
|
||||
def __init__(self, profilers: list[str] | None = ..., profiler_callback: Callable[..., Incomplete] | None = ...) -> None: ...
|
||||
|
||||
class QueryApi(_BaseQueryApi):
|
||||
def __init__(self, influxdb_client, query_options=...) -> None: ...
|
||||
def query_csv(
|
||||
self, query: str, org: Incomplete | None = ..., dialect: Dialect = ..., params: dict[Incomplete, Incomplete] | None = ...
|
||||
) -> CSVIterator: ...
|
||||
def query_raw(
|
||||
self, query: str, org: Incomplete | None = ..., dialect=..., params: dict[Incomplete, Incomplete] | None = ...
|
||||
): ...
|
||||
def query(self, query: str, org: Incomplete | None = ..., params: dict[Incomplete, Incomplete] | None = ...) -> TableList: ...
|
||||
def query_stream(
|
||||
self, query: str, org: Incomplete | None = ..., params: dict[Incomplete, Incomplete] | None = ...
|
||||
) -> Generator[FluxRecord, Any, None]: ...
|
||||
def query_data_frame(
|
||||
self,
|
||||
query: str,
|
||||
org: Incomplete | None = ...,
|
||||
data_frame_index: list[str] | None = ...,
|
||||
params: dict[Incomplete, Incomplete] | None = ...,
|
||||
): ...
|
||||
def query_data_frame_stream(
|
||||
self,
|
||||
query: str,
|
||||
org: Incomplete | None = ...,
|
||||
data_frame_index: list[str] | None = ...,
|
||||
params: dict[Incomplete, Incomplete] | None = ...,
|
||||
): ...
|
||||
def __del__(self) -> None: ...
|
||||
@@ -0,0 +1,31 @@
|
||||
from _typeshed import Incomplete
|
||||
from collections.abc import AsyncGenerator
|
||||
|
||||
from influxdb_client.client._base import _BaseQueryApi
|
||||
from influxdb_client.client.flux_table import FluxRecord, TableList
|
||||
|
||||
class QueryApiAsync(_BaseQueryApi):
|
||||
def __init__(self, influxdb_client, query_options=...) -> None: ...
|
||||
async def query(
|
||||
self, query: str, org: Incomplete | None = ..., params: dict[Incomplete, Incomplete] | None = ...
|
||||
) -> TableList: ...
|
||||
async def query_stream(
|
||||
self, query: str, org: Incomplete | None = ..., params: dict[Incomplete, Incomplete] | None = ...
|
||||
) -> AsyncGenerator[FluxRecord, None]: ...
|
||||
async def query_data_frame(
|
||||
self,
|
||||
query: str,
|
||||
org: Incomplete | None = ...,
|
||||
data_frame_index: list[str] | None = ...,
|
||||
params: dict[Incomplete, Incomplete] | None = ...,
|
||||
): ...
|
||||
async def query_data_frame_stream(
|
||||
self,
|
||||
query: str,
|
||||
org: Incomplete | None = ...,
|
||||
data_frame_index: list[str] | None = ...,
|
||||
params: dict[Incomplete, Incomplete] | None = ...,
|
||||
): ...
|
||||
async def query_raw(
|
||||
self, query: str, org: Incomplete | None = ..., dialect=..., params: dict[Incomplete, Incomplete] | None = ...
|
||||
): ...
|
||||
32
stubs/influxdb-client/influxdb_client/client/tasks_api.pyi
Normal file
32
stubs/influxdb-client/influxdb_client/client/tasks_api.pyi
Normal file
@@ -0,0 +1,32 @@
|
||||
from datetime import datetime
|
||||
|
||||
from influxdb_client import LabelResponse, LogEvent, Run, Task, TaskCreateRequest, TaskUpdateRequest
|
||||
|
||||
class TasksApi:
|
||||
def __init__(self, influxdb_client) -> None: ...
|
||||
def find_task_by_id(self, task_id) -> Task: ...
|
||||
def find_tasks(self, **kwargs): ...
|
||||
def create_task(self, task: Task | None = ..., task_create_request: TaskCreateRequest | None = ...) -> Task: ...
|
||||
def create_task_every(self, name, flux, every, organization) -> Task: ...
|
||||
def create_task_cron(self, name: str, flux: str, cron: str, org_id: str) -> Task: ...
|
||||
def delete_task(self, task_id: str): ...
|
||||
def update_task(self, task: Task) -> Task: ...
|
||||
def update_task_request(self, task_id, task_update_request: TaskUpdateRequest) -> Task: ...
|
||||
def clone_task(self, task: Task) -> Task: ...
|
||||
def get_labels(self, task_id): ...
|
||||
def add_label(self, label_id: str, task_id: str) -> LabelResponse: ...
|
||||
def delete_label(self, label_id: str, task_id: str): ...
|
||||
def get_members(self, task_id: str): ...
|
||||
def add_member(self, member_id, task_id): ...
|
||||
def delete_member(self, member_id, task_id): ...
|
||||
def get_owners(self, task_id): ...
|
||||
def add_owner(self, owner_id, task_id): ...
|
||||
def delete_owner(self, owner_id, task_id): ...
|
||||
def get_runs(self, task_id, **kwargs) -> list[Run]: ...
|
||||
def get_run(self, task_id: str, run_id: str) -> Run: ...
|
||||
def get_run_logs(self, task_id: str, run_id: str) -> list[LogEvent]: ...
|
||||
def run_manually(self, task_id: str, scheduled_for: datetime | None = ...): ...
|
||||
def retry_run(self, task_id: str, run_id: str): ...
|
||||
def cancel_run(self, task_id: str, run_id: str): ...
|
||||
def get_logs(self, task_id: str) -> list[LogEvent]: ...
|
||||
def find_tasks_by_user(self, task_user_id): ...
|
||||
10
stubs/influxdb-client/influxdb_client/client/users_api.pyi
Normal file
10
stubs/influxdb-client/influxdb_client/client/users_api.pyi
Normal file
@@ -0,0 +1,10 @@
|
||||
from influxdb_client import User, UserResponse, Users
|
||||
|
||||
class UsersApi:
|
||||
def __init__(self, influxdb_client) -> None: ...
|
||||
def me(self) -> User: ...
|
||||
def create_user(self, name: str) -> User: ...
|
||||
def update_user(self, user: User) -> UserResponse: ...
|
||||
def update_password(self, user: str | User | UserResponse, password: str) -> None: ...
|
||||
def delete_user(self, user: str | User | UserResponse) -> None: ...
|
||||
def find_users(self, **kwargs) -> Users: ...
|
||||
@@ -0,0 +1,16 @@
|
||||
from datetime import datetime, timedelta, tzinfo
|
||||
from threading import Lock
|
||||
|
||||
date_helper: DateHelper | None
|
||||
lock_: Lock
|
||||
|
||||
class DateHelper:
|
||||
timezone: tzinfo
|
||||
def __init__(self, timezone: tzinfo = ...) -> None: ...
|
||||
# This returns None in the implementation, but a datetime-compatible
|
||||
# object is monkey-patched in at runtime.
|
||||
def parse_date(self, date_string: str) -> datetime: ...
|
||||
def to_nanoseconds(self, delta: timedelta) -> int: ...
|
||||
def to_utc(self, value: datetime) -> datetime: ...
|
||||
|
||||
def get_date_helper() -> DateHelper: ...
|
||||
@@ -0,0 +1,5 @@
|
||||
from influxdb_client.client.util.date_utils import DateHelper
|
||||
|
||||
class PandasDateTimeHelper(DateHelper):
|
||||
def parse_date(self, date_string: str): ...
|
||||
def to_nanoseconds(self, delta): ...
|
||||
@@ -0,0 +1 @@
|
||||
def get_org_query_param(org, client, required_id: bool = ...): ...
|
||||
@@ -0,0 +1,22 @@
|
||||
import multiprocessing
|
||||
from _typeshed import Incomplete
|
||||
|
||||
logger: Incomplete
|
||||
|
||||
class _PoisonPill: ...
|
||||
|
||||
class MultiprocessingWriter(multiprocessing.Process):
|
||||
__started__: bool
|
||||
__disposed__: bool
|
||||
kwargs: Incomplete
|
||||
client: Incomplete
|
||||
write_api: Incomplete
|
||||
queue_: Incomplete
|
||||
def __init__(self, **kwargs) -> None: ...
|
||||
def write(self, **kwargs) -> None: ...
|
||||
def run(self) -> None: ...
|
||||
def start(self) -> None: ...
|
||||
def terminate(self) -> None: ...
|
||||
def __enter__(self): ...
|
||||
def __exit__(self, exc_type, exc_value, traceback) -> None: ...
|
||||
def __del__(self) -> None: ...
|
||||
@@ -0,0 +1,7 @@
|
||||
class MissingPivotFunction(UserWarning):
|
||||
@staticmethod
|
||||
def print_warning(query: str): ...
|
||||
|
||||
class CloudOnlyWarning(UserWarning):
|
||||
@staticmethod
|
||||
def print_warning(api_name: str, doc_url: str): ...
|
||||
@@ -0,0 +1,41 @@
|
||||
from influxdb_client.service.authorizations_service import AuthorizationsService as AuthorizationsService
|
||||
from influxdb_client.service.backup_service import BackupService as BackupService
|
||||
from influxdb_client.service.bucket_schemas_service import BucketSchemasService as BucketSchemasService
|
||||
from influxdb_client.service.buckets_service import BucketsService as BucketsService
|
||||
from influxdb_client.service.cells_service import CellsService as CellsService
|
||||
from influxdb_client.service.checks_service import ChecksService as ChecksService
|
||||
from influxdb_client.service.config_service import ConfigService as ConfigService
|
||||
from influxdb_client.service.dashboards_service import DashboardsService as DashboardsService
|
||||
from influxdb_client.service.dbr_ps_service import DBRPsService as DBRPsService
|
||||
from influxdb_client.service.delete_service import DeleteService as DeleteService
|
||||
from influxdb_client.service.health_service import HealthService as HealthService
|
||||
from influxdb_client.service.invokable_scripts_service import InvokableScriptsService as InvokableScriptsService
|
||||
from influxdb_client.service.labels_service import LabelsService as LabelsService
|
||||
from influxdb_client.service.legacy_authorizations_service import LegacyAuthorizationsService as LegacyAuthorizationsService
|
||||
from influxdb_client.service.metrics_service import MetricsService as MetricsService
|
||||
from influxdb_client.service.notification_endpoints_service import NotificationEndpointsService as NotificationEndpointsService
|
||||
from influxdb_client.service.notification_rules_service import NotificationRulesService as NotificationRulesService
|
||||
from influxdb_client.service.organizations_service import OrganizationsService as OrganizationsService
|
||||
from influxdb_client.service.ping_service import PingService as PingService
|
||||
from influxdb_client.service.query_service import QueryService as QueryService
|
||||
from influxdb_client.service.ready_service import ReadyService as ReadyService
|
||||
from influxdb_client.service.remote_connections_service import RemoteConnectionsService as RemoteConnectionsService
|
||||
from influxdb_client.service.replications_service import ReplicationsService as ReplicationsService
|
||||
from influxdb_client.service.resources_service import ResourcesService as ResourcesService
|
||||
from influxdb_client.service.restore_service import RestoreService as RestoreService
|
||||
from influxdb_client.service.routes_service import RoutesService as RoutesService
|
||||
from influxdb_client.service.rules_service import RulesService as RulesService
|
||||
from influxdb_client.service.scraper_targets_service import ScraperTargetsService as ScraperTargetsService
|
||||
from influxdb_client.service.secrets_service import SecretsService as SecretsService
|
||||
from influxdb_client.service.setup_service import SetupService as SetupService
|
||||
from influxdb_client.service.signin_service import SigninService as SigninService
|
||||
from influxdb_client.service.signout_service import SignoutService as SignoutService
|
||||
from influxdb_client.service.sources_service import SourcesService as SourcesService
|
||||
from influxdb_client.service.tasks_service import TasksService as TasksService
|
||||
from influxdb_client.service.telegraf_plugins_service import TelegrafPluginsService as TelegrafPluginsService
|
||||
from influxdb_client.service.telegrafs_service import TelegrafsService as TelegrafsService
|
||||
from influxdb_client.service.templates_service import TemplatesService as TemplatesService
|
||||
from influxdb_client.service.users_service import UsersService as UsersService
|
||||
from influxdb_client.service.variables_service import VariablesService as VariablesService
|
||||
from influxdb_client.service.views_service import ViewsService as ViewsService
|
||||
from influxdb_client.service.write_service import WriteService as WriteService
|
||||
@@ -0,0 +1,15 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
logger: Incomplete
|
||||
|
||||
class DataframeSerializer:
|
||||
data_frame: Incomplete
|
||||
f: Incomplete
|
||||
field_indexes: Incomplete
|
||||
first_field_maybe_null: Incomplete
|
||||
chunk_size: Incomplete
|
||||
def __init__(self, data_frame, point_settings, precision=..., chunk_size: int | None = ..., **kwargs) -> None: ...
|
||||
def serialize(self, chunk_idx: int | None = ...): ...
|
||||
def number_of_chunks(self): ...
|
||||
|
||||
def data_frame_to_list_of_points(data_frame, point_settings, precision=..., **kwargs): ...
|
||||
21
stubs/influxdb-client/influxdb_client/client/write/point.pyi
Normal file
21
stubs/influxdb-client/influxdb_client/client/write/point.pyi
Normal file
@@ -0,0 +1,21 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from influxdb_client.domain.write_precision import _WritePrecision
|
||||
|
||||
EPOCH: Incomplete
|
||||
DEFAULT_WRITE_PRECISION: _WritePrecision
|
||||
|
||||
class Point:
|
||||
@staticmethod
|
||||
def measurement(measurement): ...
|
||||
@staticmethod
|
||||
def from_dict(dictionary: dict[Incomplete, Incomplete], write_precision: _WritePrecision = ..., **kwargs): ...
|
||||
def __init__(self, measurement_name) -> None: ...
|
||||
def time(self, time, write_precision=...): ...
|
||||
def tag(self, key, value): ...
|
||||
def field(self, field, value): ...
|
||||
def to_line_protocol(self, precision: Incomplete | None = ...): ...
|
||||
@property
|
||||
def write_precision(self): ...
|
||||
@classmethod
|
||||
def set_str_rep(cls, rep_function) -> None: ...
|
||||
40
stubs/influxdb-client/influxdb_client/client/write/retry.pyi
Normal file
40
stubs/influxdb-client/influxdb_client/client/write/retry.pyi
Normal file
@@ -0,0 +1,40 @@
|
||||
from _typeshed import Incomplete
|
||||
from collections.abc import Callable
|
||||
|
||||
from urllib3 import Retry
|
||||
|
||||
logger: Incomplete
|
||||
|
||||
class WritesRetry(Retry):
|
||||
jitter_interval: Incomplete
|
||||
total: Incomplete
|
||||
retry_interval: Incomplete
|
||||
max_retry_delay: Incomplete
|
||||
max_retry_time: Incomplete
|
||||
exponential_base: Incomplete
|
||||
retry_timeout: Incomplete
|
||||
retry_callback: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
jitter_interval: int = ...,
|
||||
max_retry_delay: int = ...,
|
||||
exponential_base: int = ...,
|
||||
max_retry_time: int = ...,
|
||||
total: int = ...,
|
||||
retry_interval: int = ...,
|
||||
retry_callback: Callable[[Exception], int] | None = ...,
|
||||
**kw,
|
||||
) -> None: ...
|
||||
def new(self, **kw): ...
|
||||
def is_retry(self, method, status_code, has_retry_after: bool = ...): ...
|
||||
def get_backoff_time(self): ...
|
||||
def get_retry_after(self, response): ...
|
||||
def increment(
|
||||
self,
|
||||
method: Incomplete | None = ...,
|
||||
url: Incomplete | None = ...,
|
||||
response: Incomplete | None = ...,
|
||||
error: Incomplete | None = ...,
|
||||
_pool: Incomplete | None = ...,
|
||||
_stacktrace: Incomplete | None = ...,
|
||||
): ...
|
||||
104
stubs/influxdb-client/influxdb_client/client/write_api.pyi
Normal file
104
stubs/influxdb-client/influxdb_client/client/write_api.pyi
Normal file
@@ -0,0 +1,104 @@
|
||||
from _typeshed import Incomplete
|
||||
from collections.abc import Iterable
|
||||
from enum import Enum
|
||||
from typing import Any
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
from influxdb_client.client._base import _BaseWriteApi
|
||||
from influxdb_client.client.write.point import Point
|
||||
from influxdb_client.domain.write_precision import _WritePrecision
|
||||
|
||||
_DataClass: TypeAlias = Any # any dataclass
|
||||
_NamedTuple: TypeAlias = tuple[Any, ...] # any NamedTuple
|
||||
_Observable: TypeAlias = Any # reactivex.Observable
|
||||
|
||||
logger: Incomplete
|
||||
|
||||
class WriteType(Enum):
|
||||
batching: int
|
||||
asynchronous: int
|
||||
synchronous: int
|
||||
|
||||
class WriteOptions:
|
||||
write_type: Incomplete
|
||||
batch_size: Incomplete
|
||||
flush_interval: Incomplete
|
||||
jitter_interval: Incomplete
|
||||
retry_interval: Incomplete
|
||||
max_retries: Incomplete
|
||||
max_retry_delay: Incomplete
|
||||
max_retry_time: Incomplete
|
||||
exponential_base: Incomplete
|
||||
write_scheduler: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
write_type: WriteType = ...,
|
||||
batch_size: int = ...,
|
||||
flush_interval: int = ...,
|
||||
jitter_interval: int = ...,
|
||||
retry_interval: int = ...,
|
||||
max_retries: int = ...,
|
||||
max_retry_delay: int = ...,
|
||||
max_retry_time: int = ...,
|
||||
exponential_base: int = ...,
|
||||
write_scheduler=...,
|
||||
) -> None: ...
|
||||
def to_retry_strategy(self, **kwargs): ...
|
||||
|
||||
SYNCHRONOUS: Incomplete
|
||||
ASYNCHRONOUS: Incomplete
|
||||
|
||||
class PointSettings:
|
||||
defaultTags: Incomplete
|
||||
def __init__(self, **default_tags) -> None: ...
|
||||
def add_default_tag(self, key, value) -> None: ...
|
||||
|
||||
class _BatchItemKey:
|
||||
bucket: Incomplete
|
||||
org: Incomplete
|
||||
precision: Incomplete
|
||||
def __init__(self, bucket, org, precision=...) -> None: ...
|
||||
def __hash__(self) -> int: ...
|
||||
def __eq__(self, o: object) -> bool: ...
|
||||
|
||||
class _BatchItem:
|
||||
key: Incomplete
|
||||
data: Incomplete
|
||||
size: Incomplete
|
||||
def __init__(self, key: _BatchItemKey, data, size: int = ...) -> None: ...
|
||||
def to_key_tuple(self) -> tuple[str, str, str]: ...
|
||||
|
||||
class _BatchResponse:
|
||||
data: Incomplete
|
||||
exception: Incomplete
|
||||
def __init__(self, data: _BatchItem, exception: Exception | None = ...) -> None: ...
|
||||
|
||||
class WriteApi(_BaseWriteApi):
|
||||
def __init__(
|
||||
self, influxdb_client, write_options: WriteOptions = ..., point_settings: PointSettings = ..., **kwargs
|
||||
) -> None: ...
|
||||
def write(
|
||||
self,
|
||||
bucket: str,
|
||||
org: str | None = ...,
|
||||
record: str
|
||||
| Iterable[str]
|
||||
| Point
|
||||
| Iterable[Point]
|
||||
| dict[Incomplete, Incomplete]
|
||||
| Iterable[dict[Incomplete, Incomplete]]
|
||||
| bytes
|
||||
| Iterable[bytes]
|
||||
| _Observable
|
||||
| _NamedTuple
|
||||
| Iterable[_NamedTuple]
|
||||
| _DataClass
|
||||
| Iterable[_DataClass] = ...,
|
||||
write_precision: _WritePrecision = ...,
|
||||
**kwargs,
|
||||
) -> Any: ...
|
||||
def flush(self) -> None: ...
|
||||
def close(self) -> None: ...
|
||||
def __enter__(self): ...
|
||||
def __exit__(self, exc_type, exc_val, exc_tb) -> None: ...
|
||||
def __del__(self) -> None: ...
|
||||
@@ -0,0 +1,36 @@
|
||||
from _typeshed import Incomplete
|
||||
from collections.abc import Iterable
|
||||
from typing import Any
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
from influxdb_client.client._base import _BaseWriteApi
|
||||
from influxdb_client.client.write.point import Point
|
||||
from influxdb_client.client.write_api import PointSettings
|
||||
from influxdb_client.domain.write_precision import _WritePrecision
|
||||
|
||||
_DataClass: TypeAlias = Any # any dataclass
|
||||
_NamedTuple: TypeAlias = tuple[Any, ...] # any NamedTuple
|
||||
|
||||
logger: Incomplete
|
||||
|
||||
class WriteApiAsync(_BaseWriteApi):
|
||||
def __init__(self, influxdb_client, point_settings: PointSettings = ...) -> None: ...
|
||||
async def write(
|
||||
self,
|
||||
bucket: str,
|
||||
org: str | None = ...,
|
||||
record: str
|
||||
| Iterable[str]
|
||||
| Point
|
||||
| Iterable[Point]
|
||||
| dict[Incomplete, Incomplete]
|
||||
| Iterable[dict[Incomplete, Incomplete]]
|
||||
| bytes
|
||||
| Iterable[bytes]
|
||||
| _NamedTuple
|
||||
| Iterable[_NamedTuple]
|
||||
| _DataClass
|
||||
| Iterable[_DataClass] = ...,
|
||||
write_precision: _WritePrecision = ...,
|
||||
**kwargs,
|
||||
) -> bool: ...
|
||||
50
stubs/influxdb-client/influxdb_client/configuration.pyi
Normal file
50
stubs/influxdb-client/influxdb_client/configuration.pyi
Normal file
@@ -0,0 +1,50 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class TypeWithDefault(type):
|
||||
def __init__(cls, name, bases, dct) -> None: ...
|
||||
def __call__(cls): ...
|
||||
def set_default(cls, default) -> None: ...
|
||||
|
||||
class Configuration(metaclass=TypeWithDefault):
|
||||
host: str
|
||||
temp_folder_path: Incomplete
|
||||
api_key: Incomplete
|
||||
api_key_prefix: Incomplete
|
||||
username: str
|
||||
password: str
|
||||
loggers: Incomplete
|
||||
logger_stream_handler: Incomplete
|
||||
logger_file_handler: Incomplete
|
||||
verify_ssl: bool
|
||||
ssl_ca_cert: Incomplete
|
||||
cert_file: Incomplete
|
||||
cert_key_file: Incomplete
|
||||
cert_key_password: Incomplete
|
||||
assert_hostname: Incomplete
|
||||
ssl_context: Incomplete
|
||||
connection_pool_maxsize: Incomplete
|
||||
timeout: Incomplete
|
||||
auth_basic: bool
|
||||
proxy: Incomplete
|
||||
proxy_headers: Incomplete
|
||||
safe_chars_for_path_param: str
|
||||
logger_formatter: Incomplete
|
||||
def __init__(self) -> None: ...
|
||||
@property
|
||||
def logger_file(self): ...
|
||||
@logger_file.setter
|
||||
def logger_file(self, value) -> None: ...
|
||||
@property
|
||||
def debug(self): ...
|
||||
@debug.setter
|
||||
def debug(self, value): ...
|
||||
@property
|
||||
def logger_format(self): ...
|
||||
@logger_format.setter
|
||||
def logger_format(self, value) -> None: ...
|
||||
def get_api_key_with_prefix(self, identifier): ...
|
||||
def get_basic_auth_token(self): ...
|
||||
def auth_settings(self): ...
|
||||
def to_debug_report(self): ...
|
||||
def update_request_header_params(self, path: str, params: dict[Incomplete, Incomplete]): ...
|
||||
def update_request_body(self, path: str, body): ...
|
||||
373
stubs/influxdb-client/influxdb_client/domain/__init__.pyi
Normal file
373
stubs/influxdb-client/influxdb_client/domain/__init__.pyi
Normal file
@@ -0,0 +1,373 @@
|
||||
from influxdb_client.domain.add_resource_member_request_body import AddResourceMemberRequestBody as AddResourceMemberRequestBody
|
||||
from influxdb_client.domain.analyze_query_response import AnalyzeQueryResponse as AnalyzeQueryResponse
|
||||
from influxdb_client.domain.analyze_query_response_errors import AnalyzeQueryResponseErrors as AnalyzeQueryResponseErrors
|
||||
from influxdb_client.domain.array_expression import ArrayExpression as ArrayExpression
|
||||
from influxdb_client.domain.ast_response import ASTResponse as ASTResponse
|
||||
from influxdb_client.domain.authorization import Authorization as Authorization
|
||||
from influxdb_client.domain.authorization_post_request import AuthorizationPostRequest as AuthorizationPostRequest
|
||||
from influxdb_client.domain.authorization_update_request import AuthorizationUpdateRequest as AuthorizationUpdateRequest
|
||||
from influxdb_client.domain.authorizations import Authorizations as Authorizations
|
||||
from influxdb_client.domain.axes import Axes as Axes
|
||||
from influxdb_client.domain.axis import Axis as Axis
|
||||
from influxdb_client.domain.axis_scale import AxisScale as AxisScale
|
||||
from influxdb_client.domain.bad_statement import BadStatement as BadStatement
|
||||
from influxdb_client.domain.band_view_properties import BandViewProperties as BandViewProperties
|
||||
from influxdb_client.domain.binary_expression import BinaryExpression as BinaryExpression
|
||||
from influxdb_client.domain.block import Block as Block
|
||||
from influxdb_client.domain.boolean_literal import BooleanLiteral as BooleanLiteral
|
||||
from influxdb_client.domain.bucket import Bucket as Bucket
|
||||
from influxdb_client.domain.bucket_links import BucketLinks as BucketLinks
|
||||
from influxdb_client.domain.bucket_metadata_manifest import BucketMetadataManifest as BucketMetadataManifest
|
||||
from influxdb_client.domain.bucket_retention_rules import BucketRetentionRules as BucketRetentionRules
|
||||
from influxdb_client.domain.bucket_shard_mapping import BucketShardMapping as BucketShardMapping
|
||||
from influxdb_client.domain.buckets import Buckets as Buckets
|
||||
from influxdb_client.domain.builder_aggregate_function_type import BuilderAggregateFunctionType as BuilderAggregateFunctionType
|
||||
from influxdb_client.domain.builder_config import BuilderConfig as BuilderConfig
|
||||
from influxdb_client.domain.builder_config_aggregate_window import BuilderConfigAggregateWindow as BuilderConfigAggregateWindow
|
||||
from influxdb_client.domain.builder_functions_type import BuilderFunctionsType as BuilderFunctionsType
|
||||
from influxdb_client.domain.builder_tags_type import BuilderTagsType as BuilderTagsType
|
||||
from influxdb_client.domain.builtin_statement import BuiltinStatement as BuiltinStatement
|
||||
from influxdb_client.domain.call_expression import CallExpression as CallExpression
|
||||
from influxdb_client.domain.cell import Cell as Cell
|
||||
from influxdb_client.domain.cell_links import CellLinks as CellLinks
|
||||
from influxdb_client.domain.cell_update import CellUpdate as CellUpdate
|
||||
from influxdb_client.domain.cell_with_view_properties import CellWithViewProperties as CellWithViewProperties
|
||||
from influxdb_client.domain.check import Check as Check
|
||||
from influxdb_client.domain.check_base import CheckBase as CheckBase
|
||||
from influxdb_client.domain.check_base_links import CheckBaseLinks as CheckBaseLinks
|
||||
from influxdb_client.domain.check_discriminator import CheckDiscriminator as CheckDiscriminator
|
||||
from influxdb_client.domain.check_patch import CheckPatch as CheckPatch
|
||||
from influxdb_client.domain.check_status_level import CheckStatusLevel as CheckStatusLevel
|
||||
from influxdb_client.domain.check_view_properties import CheckViewProperties as CheckViewProperties
|
||||
from influxdb_client.domain.checks import Checks as Checks
|
||||
from influxdb_client.domain.column_data_type import ColumnDataType as ColumnDataType
|
||||
from influxdb_client.domain.column_semantic_type import ColumnSemanticType as ColumnSemanticType
|
||||
from influxdb_client.domain.conditional_expression import ConditionalExpression as ConditionalExpression
|
||||
from influxdb_client.domain.config import Config as Config
|
||||
from influxdb_client.domain.constant_variable_properties import ConstantVariableProperties as ConstantVariableProperties
|
||||
from influxdb_client.domain.create_cell import CreateCell as CreateCell
|
||||
from influxdb_client.domain.create_dashboard_request import CreateDashboardRequest as CreateDashboardRequest
|
||||
from influxdb_client.domain.custom_check import CustomCheck as CustomCheck
|
||||
from influxdb_client.domain.dashboard import Dashboard as Dashboard
|
||||
from influxdb_client.domain.dashboard_color import DashboardColor as DashboardColor
|
||||
from influxdb_client.domain.dashboard_query import DashboardQuery as DashboardQuery
|
||||
from influxdb_client.domain.dashboard_with_view_properties import DashboardWithViewProperties as DashboardWithViewProperties
|
||||
from influxdb_client.domain.dashboards import Dashboards as Dashboards
|
||||
from influxdb_client.domain.date_time_literal import DateTimeLiteral as DateTimeLiteral
|
||||
from influxdb_client.domain.dbr_ps import DBRPs as DBRPs
|
||||
from influxdb_client.domain.dbrp import DBRP as DBRP
|
||||
from influxdb_client.domain.dbrp_create import DBRPCreate as DBRPCreate
|
||||
from influxdb_client.domain.dbrp_get import DBRPGet as DBRPGet
|
||||
from influxdb_client.domain.dbrp_update import DBRPUpdate as DBRPUpdate
|
||||
from influxdb_client.domain.deadman_check import DeadmanCheck as DeadmanCheck
|
||||
from influxdb_client.domain.decimal_places import DecimalPlaces as DecimalPlaces
|
||||
from influxdb_client.domain.delete_predicate_request import DeletePredicateRequest as DeletePredicateRequest
|
||||
from influxdb_client.domain.dialect import Dialect as Dialect
|
||||
from influxdb_client.domain.dict_expression import DictExpression as DictExpression
|
||||
from influxdb_client.domain.dict_item import DictItem as DictItem
|
||||
from influxdb_client.domain.duration import Duration as Duration
|
||||
from influxdb_client.domain.duration_literal import DurationLiteral as DurationLiteral
|
||||
from influxdb_client.domain.error import Error as Error
|
||||
from influxdb_client.domain.expression import Expression as Expression
|
||||
from influxdb_client.domain.expression_statement import ExpressionStatement as ExpressionStatement
|
||||
from influxdb_client.domain.field import Field as Field
|
||||
from influxdb_client.domain.file import File as File
|
||||
from influxdb_client.domain.float_literal import FloatLiteral as FloatLiteral
|
||||
from influxdb_client.domain.flux_response import FluxResponse as FluxResponse
|
||||
from influxdb_client.domain.flux_suggestion import FluxSuggestion as FluxSuggestion
|
||||
from influxdb_client.domain.flux_suggestions import FluxSuggestions as FluxSuggestions
|
||||
from influxdb_client.domain.function_expression import FunctionExpression as FunctionExpression
|
||||
from influxdb_client.domain.gauge_view_properties import GaugeViewProperties as GaugeViewProperties
|
||||
from influxdb_client.domain.greater_threshold import GreaterThreshold as GreaterThreshold
|
||||
from influxdb_client.domain.health_check import HealthCheck as HealthCheck
|
||||
from influxdb_client.domain.heatmap_view_properties import HeatmapViewProperties as HeatmapViewProperties
|
||||
from influxdb_client.domain.histogram_view_properties import HistogramViewProperties as HistogramViewProperties
|
||||
from influxdb_client.domain.http_notification_endpoint import HTTPNotificationEndpoint as HTTPNotificationEndpoint
|
||||
from influxdb_client.domain.http_notification_rule import HTTPNotificationRule as HTTPNotificationRule
|
||||
from influxdb_client.domain.http_notification_rule_base import HTTPNotificationRuleBase as HTTPNotificationRuleBase
|
||||
from influxdb_client.domain.identifier import Identifier as Identifier
|
||||
from influxdb_client.domain.import_declaration import ImportDeclaration as ImportDeclaration
|
||||
from influxdb_client.domain.index_expression import IndexExpression as IndexExpression
|
||||
from influxdb_client.domain.integer_literal import IntegerLiteral as IntegerLiteral
|
||||
from influxdb_client.domain.is_onboarding import IsOnboarding as IsOnboarding
|
||||
from influxdb_client.domain.label import Label as Label
|
||||
from influxdb_client.domain.label_create_request import LabelCreateRequest as LabelCreateRequest
|
||||
from influxdb_client.domain.label_mapping import LabelMapping as LabelMapping
|
||||
from influxdb_client.domain.label_response import LabelResponse as LabelResponse
|
||||
from influxdb_client.domain.label_update import LabelUpdate as LabelUpdate
|
||||
from influxdb_client.domain.labels_response import LabelsResponse as LabelsResponse
|
||||
from influxdb_client.domain.language_request import LanguageRequest as LanguageRequest
|
||||
from influxdb_client.domain.legacy_authorization_post_request import (
|
||||
LegacyAuthorizationPostRequest as LegacyAuthorizationPostRequest,
|
||||
)
|
||||
from influxdb_client.domain.lesser_threshold import LesserThreshold as LesserThreshold
|
||||
from influxdb_client.domain.line_plus_single_stat_properties import LinePlusSingleStatProperties as LinePlusSingleStatProperties
|
||||
from influxdb_client.domain.line_protocol_error import LineProtocolError as LineProtocolError
|
||||
from influxdb_client.domain.line_protocol_length_error import LineProtocolLengthError as LineProtocolLengthError
|
||||
from influxdb_client.domain.links import Links as Links
|
||||
from influxdb_client.domain.list_stacks_response import ListStacksResponse as ListStacksResponse
|
||||
from influxdb_client.domain.log_event import LogEvent as LogEvent
|
||||
from influxdb_client.domain.logical_expression import LogicalExpression as LogicalExpression
|
||||
from influxdb_client.domain.logs import Logs as Logs
|
||||
from influxdb_client.domain.map_variable_properties import MapVariableProperties as MapVariableProperties
|
||||
from influxdb_client.domain.markdown_view_properties import MarkdownViewProperties as MarkdownViewProperties
|
||||
from influxdb_client.domain.measurement_schema import MeasurementSchema as MeasurementSchema
|
||||
from influxdb_client.domain.measurement_schema_column import MeasurementSchemaColumn as MeasurementSchemaColumn
|
||||
from influxdb_client.domain.measurement_schema_create_request import (
|
||||
MeasurementSchemaCreateRequest as MeasurementSchemaCreateRequest,
|
||||
)
|
||||
from influxdb_client.domain.measurement_schema_list import MeasurementSchemaList as MeasurementSchemaList
|
||||
from influxdb_client.domain.measurement_schema_update_request import (
|
||||
MeasurementSchemaUpdateRequest as MeasurementSchemaUpdateRequest,
|
||||
)
|
||||
from influxdb_client.domain.member_assignment import MemberAssignment as MemberAssignment
|
||||
from influxdb_client.domain.member_expression import MemberExpression as MemberExpression
|
||||
from influxdb_client.domain.metadata_backup import MetadataBackup as MetadataBackup
|
||||
from influxdb_client.domain.model_property import ModelProperty as ModelProperty
|
||||
from influxdb_client.domain.mosaic_view_properties import MosaicViewProperties as MosaicViewProperties
|
||||
from influxdb_client.domain.node import Node as Node
|
||||
from influxdb_client.domain.notification_endpoint import NotificationEndpoint as NotificationEndpoint
|
||||
from influxdb_client.domain.notification_endpoint_base import NotificationEndpointBase as NotificationEndpointBase
|
||||
from influxdb_client.domain.notification_endpoint_base_links import NotificationEndpointBaseLinks as NotificationEndpointBaseLinks
|
||||
from influxdb_client.domain.notification_endpoint_discriminator import (
|
||||
NotificationEndpointDiscriminator as NotificationEndpointDiscriminator,
|
||||
)
|
||||
from influxdb_client.domain.notification_endpoint_type import NotificationEndpointType as NotificationEndpointType
|
||||
from influxdb_client.domain.notification_endpoint_update import NotificationEndpointUpdate as NotificationEndpointUpdate
|
||||
from influxdb_client.domain.notification_endpoints import NotificationEndpoints as NotificationEndpoints
|
||||
from influxdb_client.domain.notification_rule import NotificationRule as NotificationRule
|
||||
from influxdb_client.domain.notification_rule_base import NotificationRuleBase as NotificationRuleBase
|
||||
from influxdb_client.domain.notification_rule_base_links import NotificationRuleBaseLinks as NotificationRuleBaseLinks
|
||||
from influxdb_client.domain.notification_rule_discriminator import NotificationRuleDiscriminator as NotificationRuleDiscriminator
|
||||
from influxdb_client.domain.notification_rule_update import NotificationRuleUpdate as NotificationRuleUpdate
|
||||
from influxdb_client.domain.notification_rules import NotificationRules as NotificationRules
|
||||
from influxdb_client.domain.object_expression import ObjectExpression as ObjectExpression
|
||||
from influxdb_client.domain.onboarding_request import OnboardingRequest as OnboardingRequest
|
||||
from influxdb_client.domain.onboarding_response import OnboardingResponse as OnboardingResponse
|
||||
from influxdb_client.domain.option_statement import OptionStatement as OptionStatement
|
||||
from influxdb_client.domain.organization import Organization as Organization
|
||||
from influxdb_client.domain.organization_links import OrganizationLinks as OrganizationLinks
|
||||
from influxdb_client.domain.organizations import Organizations as Organizations
|
||||
from influxdb_client.domain.package import Package as Package
|
||||
from influxdb_client.domain.package_clause import PackageClause as PackageClause
|
||||
from influxdb_client.domain.pager_duty_notification_endpoint import PagerDutyNotificationEndpoint as PagerDutyNotificationEndpoint
|
||||
from influxdb_client.domain.pager_duty_notification_rule import PagerDutyNotificationRule as PagerDutyNotificationRule
|
||||
from influxdb_client.domain.pager_duty_notification_rule_base import (
|
||||
PagerDutyNotificationRuleBase as PagerDutyNotificationRuleBase,
|
||||
)
|
||||
from influxdb_client.domain.paren_expression import ParenExpression as ParenExpression
|
||||
from influxdb_client.domain.password_reset_body import PasswordResetBody as PasswordResetBody
|
||||
from influxdb_client.domain.patch_bucket_request import PatchBucketRequest as PatchBucketRequest
|
||||
from influxdb_client.domain.patch_dashboard_request import PatchDashboardRequest as PatchDashboardRequest
|
||||
from influxdb_client.domain.patch_organization_request import PatchOrganizationRequest as PatchOrganizationRequest
|
||||
from influxdb_client.domain.patch_retention_rule import PatchRetentionRule as PatchRetentionRule
|
||||
from influxdb_client.domain.patch_stack_request import PatchStackRequest as PatchStackRequest
|
||||
from influxdb_client.domain.patch_stack_request_additional_resources import (
|
||||
PatchStackRequestAdditionalResources as PatchStackRequestAdditionalResources,
|
||||
)
|
||||
from influxdb_client.domain.permission import Permission as Permission
|
||||
from influxdb_client.domain.permission_resource import PermissionResource as PermissionResource
|
||||
from influxdb_client.domain.pipe_expression import PipeExpression as PipeExpression
|
||||
from influxdb_client.domain.pipe_literal import PipeLiteral as PipeLiteral
|
||||
from influxdb_client.domain.post_bucket_request import PostBucketRequest as PostBucketRequest
|
||||
from influxdb_client.domain.post_check import PostCheck as PostCheck
|
||||
from influxdb_client.domain.post_notification_endpoint import PostNotificationEndpoint as PostNotificationEndpoint
|
||||
from influxdb_client.domain.post_notification_rule import PostNotificationRule as PostNotificationRule
|
||||
from influxdb_client.domain.post_organization_request import PostOrganizationRequest as PostOrganizationRequest
|
||||
from influxdb_client.domain.post_restore_kv_response import PostRestoreKVResponse as PostRestoreKVResponse
|
||||
from influxdb_client.domain.post_stack_request import PostStackRequest as PostStackRequest
|
||||
from influxdb_client.domain.property_key import PropertyKey as PropertyKey
|
||||
from influxdb_client.domain.query import Query as Query
|
||||
from influxdb_client.domain.query_edit_mode import QueryEditMode as QueryEditMode
|
||||
from influxdb_client.domain.query_variable_properties import QueryVariableProperties as QueryVariableProperties
|
||||
from influxdb_client.domain.query_variable_properties_values import QueryVariablePropertiesValues as QueryVariablePropertiesValues
|
||||
from influxdb_client.domain.range_threshold import RangeThreshold as RangeThreshold
|
||||
from influxdb_client.domain.ready import Ready as Ready
|
||||
from influxdb_client.domain.regexp_literal import RegexpLiteral as RegexpLiteral
|
||||
from influxdb_client.domain.remote_connection import RemoteConnection as RemoteConnection
|
||||
from influxdb_client.domain.remote_connection_creation_request import (
|
||||
RemoteConnectionCreationRequest as RemoteConnectionCreationRequest,
|
||||
)
|
||||
from influxdb_client.domain.remote_connection_update_request import RemoteConnectionUpdateRequest as RemoteConnectionUpdateRequest
|
||||
from influxdb_client.domain.remote_connections import RemoteConnections as RemoteConnections
|
||||
from influxdb_client.domain.renamable_field import RenamableField as RenamableField
|
||||
from influxdb_client.domain.replication import Replication as Replication
|
||||
from influxdb_client.domain.replication_creation_request import ReplicationCreationRequest as ReplicationCreationRequest
|
||||
from influxdb_client.domain.replication_update_request import ReplicationUpdateRequest as ReplicationUpdateRequest
|
||||
from influxdb_client.domain.replications import Replications as Replications
|
||||
from influxdb_client.domain.resource_member import ResourceMember as ResourceMember
|
||||
from influxdb_client.domain.resource_members import ResourceMembers as ResourceMembers
|
||||
from influxdb_client.domain.resource_members_links import ResourceMembersLinks as ResourceMembersLinks
|
||||
from influxdb_client.domain.resource_owner import ResourceOwner as ResourceOwner
|
||||
from influxdb_client.domain.resource_owners import ResourceOwners as ResourceOwners
|
||||
from influxdb_client.domain.restored_bucket_mappings import RestoredBucketMappings as RestoredBucketMappings
|
||||
from influxdb_client.domain.retention_policy_manifest import RetentionPolicyManifest as RetentionPolicyManifest
|
||||
from influxdb_client.domain.return_statement import ReturnStatement as ReturnStatement
|
||||
from influxdb_client.domain.routes import Routes as Routes
|
||||
from influxdb_client.domain.routes_external import RoutesExternal as RoutesExternal
|
||||
from influxdb_client.domain.routes_query import RoutesQuery as RoutesQuery
|
||||
from influxdb_client.domain.routes_system import RoutesSystem as RoutesSystem
|
||||
from influxdb_client.domain.rule_status_level import RuleStatusLevel as RuleStatusLevel
|
||||
from influxdb_client.domain.run import Run as Run
|
||||
from influxdb_client.domain.run_links import RunLinks as RunLinks
|
||||
from influxdb_client.domain.run_manually import RunManually as RunManually
|
||||
from influxdb_client.domain.runs import Runs as Runs
|
||||
from influxdb_client.domain.scatter_view_properties import ScatterViewProperties as ScatterViewProperties
|
||||
from influxdb_client.domain.schema_type import SchemaType as SchemaType
|
||||
from influxdb_client.domain.scraper_target_request import ScraperTargetRequest as ScraperTargetRequest
|
||||
from influxdb_client.domain.scraper_target_response import ScraperTargetResponse as ScraperTargetResponse
|
||||
from influxdb_client.domain.scraper_target_responses import ScraperTargetResponses as ScraperTargetResponses
|
||||
from influxdb_client.domain.script import Script as Script
|
||||
from influxdb_client.domain.script_create_request import ScriptCreateRequest as ScriptCreateRequest
|
||||
from influxdb_client.domain.script_invocation_params import ScriptInvocationParams as ScriptInvocationParams
|
||||
from influxdb_client.domain.script_language import ScriptLanguage as ScriptLanguage
|
||||
from influxdb_client.domain.script_update_request import ScriptUpdateRequest as ScriptUpdateRequest
|
||||
from influxdb_client.domain.scripts import Scripts as Scripts
|
||||
from influxdb_client.domain.secret_keys import SecretKeys as SecretKeys
|
||||
from influxdb_client.domain.secret_keys_response import SecretKeysResponse as SecretKeysResponse
|
||||
from influxdb_client.domain.shard_group_manifest import ShardGroupManifest as ShardGroupManifest
|
||||
from influxdb_client.domain.shard_manifest import ShardManifest as ShardManifest
|
||||
from influxdb_client.domain.shard_owner import ShardOwner as ShardOwner
|
||||
from influxdb_client.domain.simple_table_view_properties import SimpleTableViewProperties as SimpleTableViewProperties
|
||||
from influxdb_client.domain.single_stat_view_properties import SingleStatViewProperties as SingleStatViewProperties
|
||||
from influxdb_client.domain.slack_notification_endpoint import SlackNotificationEndpoint as SlackNotificationEndpoint
|
||||
from influxdb_client.domain.slack_notification_rule import SlackNotificationRule as SlackNotificationRule
|
||||
from influxdb_client.domain.slack_notification_rule_base import SlackNotificationRuleBase as SlackNotificationRuleBase
|
||||
from influxdb_client.domain.smtp_notification_rule import SMTPNotificationRule as SMTPNotificationRule
|
||||
from influxdb_client.domain.smtp_notification_rule_base import SMTPNotificationRuleBase as SMTPNotificationRuleBase
|
||||
from influxdb_client.domain.source import Source as Source
|
||||
from influxdb_client.domain.source_links import SourceLinks as SourceLinks
|
||||
from influxdb_client.domain.sources import Sources as Sources
|
||||
from influxdb_client.domain.stack import Stack as Stack
|
||||
from influxdb_client.domain.stack_associations import StackAssociations as StackAssociations
|
||||
from influxdb_client.domain.stack_events import StackEvents as StackEvents
|
||||
from influxdb_client.domain.stack_links import StackLinks as StackLinks
|
||||
from influxdb_client.domain.stack_resources import StackResources as StackResources
|
||||
from influxdb_client.domain.statement import Statement as Statement
|
||||
from influxdb_client.domain.static_legend import StaticLegend as StaticLegend
|
||||
from influxdb_client.domain.status_rule import StatusRule as StatusRule
|
||||
from influxdb_client.domain.string_literal import StringLiteral as StringLiteral
|
||||
from influxdb_client.domain.subscription_manifest import SubscriptionManifest as SubscriptionManifest
|
||||
from influxdb_client.domain.table_view_properties import TableViewProperties as TableViewProperties
|
||||
from influxdb_client.domain.table_view_properties_table_options import (
|
||||
TableViewPropertiesTableOptions as TableViewPropertiesTableOptions,
|
||||
)
|
||||
from influxdb_client.domain.tag_rule import TagRule as TagRule
|
||||
from influxdb_client.domain.task import Task as Task
|
||||
from influxdb_client.domain.task_create_request import TaskCreateRequest as TaskCreateRequest
|
||||
from influxdb_client.domain.task_links import TaskLinks as TaskLinks
|
||||
from influxdb_client.domain.task_status_type import TaskStatusType as TaskStatusType
|
||||
from influxdb_client.domain.task_update_request import TaskUpdateRequest as TaskUpdateRequest
|
||||
from influxdb_client.domain.tasks import Tasks as Tasks
|
||||
from influxdb_client.domain.telegraf import Telegraf as Telegraf
|
||||
from influxdb_client.domain.telegraf_plugin import TelegrafPlugin as TelegrafPlugin
|
||||
from influxdb_client.domain.telegraf_plugin_request import TelegrafPluginRequest as TelegrafPluginRequest
|
||||
from influxdb_client.domain.telegraf_plugin_request_plugins import TelegrafPluginRequestPlugins as TelegrafPluginRequestPlugins
|
||||
from influxdb_client.domain.telegraf_plugins import TelegrafPlugins as TelegrafPlugins
|
||||
from influxdb_client.domain.telegraf_request import TelegrafRequest as TelegrafRequest
|
||||
from influxdb_client.domain.telegraf_request_metadata import TelegrafRequestMetadata as TelegrafRequestMetadata
|
||||
from influxdb_client.domain.telegrafs import Telegrafs as Telegrafs
|
||||
from influxdb_client.domain.telegram_notification_endpoint import TelegramNotificationEndpoint as TelegramNotificationEndpoint
|
||||
from influxdb_client.domain.telegram_notification_rule import TelegramNotificationRule as TelegramNotificationRule
|
||||
from influxdb_client.domain.telegram_notification_rule_base import TelegramNotificationRuleBase as TelegramNotificationRuleBase
|
||||
from influxdb_client.domain.template_apply import TemplateApply as TemplateApply
|
||||
from influxdb_client.domain.template_apply_remotes import TemplateApplyRemotes as TemplateApplyRemotes
|
||||
from influxdb_client.domain.template_apply_template import TemplateApplyTemplate as TemplateApplyTemplate
|
||||
from influxdb_client.domain.template_chart import TemplateChart as TemplateChart
|
||||
from influxdb_client.domain.template_export_by_id import TemplateExportByID as TemplateExportByID
|
||||
from influxdb_client.domain.template_export_by_id_org_ids import TemplateExportByIDOrgIDs as TemplateExportByIDOrgIDs
|
||||
from influxdb_client.domain.template_export_by_id_resource_filters import (
|
||||
TemplateExportByIDResourceFilters as TemplateExportByIDResourceFilters,
|
||||
)
|
||||
from influxdb_client.domain.template_export_by_id_resources import TemplateExportByIDResources as TemplateExportByIDResources
|
||||
from influxdb_client.domain.template_export_by_name import TemplateExportByName as TemplateExportByName
|
||||
from influxdb_client.domain.template_export_by_name_resources import (
|
||||
TemplateExportByNameResources as TemplateExportByNameResources,
|
||||
)
|
||||
from influxdb_client.domain.template_kind import TemplateKind as TemplateKind
|
||||
from influxdb_client.domain.template_summary import TemplateSummary as TemplateSummary
|
||||
from influxdb_client.domain.template_summary_diff import TemplateSummaryDiff as TemplateSummaryDiff
|
||||
from influxdb_client.domain.template_summary_diff_buckets import TemplateSummaryDiffBuckets as TemplateSummaryDiffBuckets
|
||||
from influxdb_client.domain.template_summary_diff_buckets_new_old import (
|
||||
TemplateSummaryDiffBucketsNewOld as TemplateSummaryDiffBucketsNewOld,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_diff_checks import TemplateSummaryDiffChecks as TemplateSummaryDiffChecks
|
||||
from influxdb_client.domain.template_summary_diff_dashboards import TemplateSummaryDiffDashboards as TemplateSummaryDiffDashboards
|
||||
from influxdb_client.domain.template_summary_diff_dashboards_new_old import (
|
||||
TemplateSummaryDiffDashboardsNewOld as TemplateSummaryDiffDashboardsNewOld,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_diff_label_mappings import (
|
||||
TemplateSummaryDiffLabelMappings as TemplateSummaryDiffLabelMappings,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_diff_labels import TemplateSummaryDiffLabels as TemplateSummaryDiffLabels
|
||||
from influxdb_client.domain.template_summary_diff_labels_new_old import (
|
||||
TemplateSummaryDiffLabelsNewOld as TemplateSummaryDiffLabelsNewOld,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_diff_notification_endpoints import (
|
||||
TemplateSummaryDiffNotificationEndpoints as TemplateSummaryDiffNotificationEndpoints,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_diff_notification_rules import (
|
||||
TemplateSummaryDiffNotificationRules as TemplateSummaryDiffNotificationRules,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_diff_notification_rules_new_old import (
|
||||
TemplateSummaryDiffNotificationRulesNewOld as TemplateSummaryDiffNotificationRulesNewOld,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_diff_tasks import TemplateSummaryDiffTasks as TemplateSummaryDiffTasks
|
||||
from influxdb_client.domain.template_summary_diff_tasks_new_old import (
|
||||
TemplateSummaryDiffTasksNewOld as TemplateSummaryDiffTasksNewOld,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_diff_telegraf_configs import (
|
||||
TemplateSummaryDiffTelegrafConfigs as TemplateSummaryDiffTelegrafConfigs,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_diff_variables import TemplateSummaryDiffVariables as TemplateSummaryDiffVariables
|
||||
from influxdb_client.domain.template_summary_diff_variables_new_old import (
|
||||
TemplateSummaryDiffVariablesNewOld as TemplateSummaryDiffVariablesNewOld,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_errors import TemplateSummaryErrors as TemplateSummaryErrors
|
||||
from influxdb_client.domain.template_summary_label import TemplateSummaryLabel as TemplateSummaryLabel
|
||||
from influxdb_client.domain.template_summary_label_properties import (
|
||||
TemplateSummaryLabelProperties as TemplateSummaryLabelProperties,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_summary import TemplateSummarySummary as TemplateSummarySummary
|
||||
from influxdb_client.domain.template_summary_summary_buckets import TemplateSummarySummaryBuckets as TemplateSummarySummaryBuckets
|
||||
from influxdb_client.domain.template_summary_summary_dashboards import (
|
||||
TemplateSummarySummaryDashboards as TemplateSummarySummaryDashboards,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_summary_label_mappings import (
|
||||
TemplateSummarySummaryLabelMappings as TemplateSummarySummaryLabelMappings,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_summary_notification_rules import (
|
||||
TemplateSummarySummaryNotificationRules as TemplateSummarySummaryNotificationRules,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_summary_status_rules import (
|
||||
TemplateSummarySummaryStatusRules as TemplateSummarySummaryStatusRules,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_summary_tag_rules import (
|
||||
TemplateSummarySummaryTagRules as TemplateSummarySummaryTagRules,
|
||||
)
|
||||
from influxdb_client.domain.template_summary_summary_tasks import TemplateSummarySummaryTasks as TemplateSummarySummaryTasks
|
||||
from influxdb_client.domain.template_summary_summary_variables import (
|
||||
TemplateSummarySummaryVariables as TemplateSummarySummaryVariables,
|
||||
)
|
||||
from influxdb_client.domain.test_statement import TestStatement as TestStatement
|
||||
from influxdb_client.domain.threshold import Threshold as Threshold
|
||||
from influxdb_client.domain.threshold_base import ThresholdBase as ThresholdBase
|
||||
from influxdb_client.domain.threshold_check import ThresholdCheck as ThresholdCheck
|
||||
from influxdb_client.domain.unary_expression import UnaryExpression as UnaryExpression
|
||||
from influxdb_client.domain.unsigned_integer_literal import UnsignedIntegerLiteral as UnsignedIntegerLiteral
|
||||
from influxdb_client.domain.user import User as User
|
||||
from influxdb_client.domain.user_response import UserResponse as UserResponse
|
||||
from influxdb_client.domain.user_response_links import UserResponseLinks as UserResponseLinks
|
||||
from influxdb_client.domain.users import Users as Users
|
||||
from influxdb_client.domain.variable import Variable as Variable
|
||||
from influxdb_client.domain.variable_assignment import VariableAssignment as VariableAssignment
|
||||
from influxdb_client.domain.variable_links import VariableLinks as VariableLinks
|
||||
from influxdb_client.domain.variable_properties import VariableProperties as VariableProperties
|
||||
from influxdb_client.domain.variables import Variables as Variables
|
||||
from influxdb_client.domain.view import View as View
|
||||
from influxdb_client.domain.view_links import ViewLinks as ViewLinks
|
||||
from influxdb_client.domain.view_properties import ViewProperties as ViewProperties
|
||||
from influxdb_client.domain.views import Views as Views
|
||||
from influxdb_client.domain.write_precision import WritePrecision as WritePrecision
|
||||
from influxdb_client.domain.xy_geom import XYGeom as XYGeom
|
||||
from influxdb_client.domain.xy_view_properties import XYViewProperties as XYViewProperties
|
||||
@@ -0,0 +1,19 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class AddResourceMemberRequestBody:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(self, id: Incomplete | None = ..., name: Incomplete | None = ...) -> None: ...
|
||||
@property
|
||||
def id(self): ...
|
||||
@id.setter
|
||||
def id(self, id) -> None: ...
|
||||
@property
|
||||
def name(self): ...
|
||||
@name.setter
|
||||
def name(self, name) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,15 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class AnalyzeQueryResponse:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(self, errors: Incomplete | None = ...) -> None: ...
|
||||
@property
|
||||
def errors(self): ...
|
||||
@errors.setter
|
||||
def errors(self, errors) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,33 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class AnalyzeQueryResponseErrors:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
line: Incomplete | None = ...,
|
||||
column: Incomplete | None = ...,
|
||||
character: Incomplete | None = ...,
|
||||
message: Incomplete | None = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
def line(self): ...
|
||||
@line.setter
|
||||
def line(self, line) -> None: ...
|
||||
@property
|
||||
def column(self): ...
|
||||
@column.setter
|
||||
def column(self, column) -> None: ...
|
||||
@property
|
||||
def character(self): ...
|
||||
@character.setter
|
||||
def character(self, character) -> None: ...
|
||||
@property
|
||||
def message(self): ...
|
||||
@message.setter
|
||||
def message(self, message) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,21 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from influxdb_client.domain.expression import Expression
|
||||
|
||||
class ArrayExpression(Expression):
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(self, type: Incomplete | None = ..., elements: Incomplete | None = ...) -> None: ...
|
||||
@property
|
||||
def type(self): ...
|
||||
@type.setter
|
||||
def type(self, type) -> None: ...
|
||||
@property
|
||||
def elements(self): ...
|
||||
@elements.setter
|
||||
def elements(self, elements) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,15 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class ASTResponse:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(self, ast: Incomplete | None = ...) -> None: ...
|
||||
@property
|
||||
def ast(self): ...
|
||||
@ast.setter
|
||||
def ast(self, ast) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,67 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from influxdb_client.domain.authorization_update_request import AuthorizationUpdateRequest
|
||||
|
||||
class Authorization(AuthorizationUpdateRequest):
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
created_at: Incomplete | None = ...,
|
||||
updated_at: Incomplete | None = ...,
|
||||
org_id: Incomplete | None = ...,
|
||||
permissions: Incomplete | None = ...,
|
||||
id: Incomplete | None = ...,
|
||||
token: Incomplete | None = ...,
|
||||
user_id: Incomplete | None = ...,
|
||||
user: Incomplete | None = ...,
|
||||
org: Incomplete | None = ...,
|
||||
links: Incomplete | None = ...,
|
||||
status: str = ...,
|
||||
description: Incomplete | None = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
def created_at(self): ...
|
||||
@created_at.setter
|
||||
def created_at(self, created_at) -> None: ...
|
||||
@property
|
||||
def updated_at(self): ...
|
||||
@updated_at.setter
|
||||
def updated_at(self, updated_at) -> None: ...
|
||||
@property
|
||||
def org_id(self): ...
|
||||
@org_id.setter
|
||||
def org_id(self, org_id) -> None: ...
|
||||
@property
|
||||
def permissions(self): ...
|
||||
@permissions.setter
|
||||
def permissions(self, permissions) -> None: ...
|
||||
@property
|
||||
def id(self): ...
|
||||
@id.setter
|
||||
def id(self, id) -> None: ...
|
||||
@property
|
||||
def token(self): ...
|
||||
@token.setter
|
||||
def token(self, token) -> None: ...
|
||||
@property
|
||||
def user_id(self): ...
|
||||
@user_id.setter
|
||||
def user_id(self, user_id) -> None: ...
|
||||
@property
|
||||
def user(self): ...
|
||||
@user.setter
|
||||
def user(self, user) -> None: ...
|
||||
@property
|
||||
def org(self): ...
|
||||
@org.setter
|
||||
def org(self, org) -> None: ...
|
||||
@property
|
||||
def links(self): ...
|
||||
@links.setter
|
||||
def links(self, links) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,32 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from influxdb_client.domain.authorization_update_request import AuthorizationUpdateRequest
|
||||
|
||||
class AuthorizationPostRequest(AuthorizationUpdateRequest):
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
org_id: Incomplete | None = ...,
|
||||
user_id: Incomplete | None = ...,
|
||||
permissions: Incomplete | None = ...,
|
||||
status: str = ...,
|
||||
description: Incomplete | None = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
def org_id(self): ...
|
||||
@org_id.setter
|
||||
def org_id(self, org_id) -> None: ...
|
||||
@property
|
||||
def user_id(self): ...
|
||||
@user_id.setter
|
||||
def user_id(self, user_id) -> None: ...
|
||||
@property
|
||||
def permissions(self): ...
|
||||
@permissions.setter
|
||||
def permissions(self, permissions) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,19 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class AuthorizationUpdateRequest:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(self, status: str = ..., description: Incomplete | None = ...) -> None: ...
|
||||
@property
|
||||
def status(self): ...
|
||||
@status.setter
|
||||
def status(self, status) -> None: ...
|
||||
@property
|
||||
def description(self): ...
|
||||
@description.setter
|
||||
def description(self, description) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,19 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class Authorizations:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(self, links: Incomplete | None = ..., authorizations: Incomplete | None = ...) -> None: ...
|
||||
@property
|
||||
def links(self): ...
|
||||
@links.setter
|
||||
def links(self, links) -> None: ...
|
||||
@property
|
||||
def authorizations(self): ...
|
||||
@authorizations.setter
|
||||
def authorizations(self, authorizations) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
19
stubs/influxdb-client/influxdb_client/domain/axes.pyi
Normal file
19
stubs/influxdb-client/influxdb_client/domain/axes.pyi
Normal file
@@ -0,0 +1,19 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class Axes:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(self, x: Incomplete | None = ..., y: Incomplete | None = ...) -> None: ...
|
||||
@property
|
||||
def x(self): ...
|
||||
@x.setter
|
||||
def x(self, x) -> None: ...
|
||||
@property
|
||||
def y(self): ...
|
||||
@y.setter
|
||||
def y(self, y) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
43
stubs/influxdb-client/influxdb_client/domain/axis.pyi
Normal file
43
stubs/influxdb-client/influxdb_client/domain/axis.pyi
Normal file
@@ -0,0 +1,43 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class Axis:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
bounds: Incomplete | None = ...,
|
||||
label: Incomplete | None = ...,
|
||||
prefix: Incomplete | None = ...,
|
||||
suffix: Incomplete | None = ...,
|
||||
base: Incomplete | None = ...,
|
||||
scale: Incomplete | None = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
def bounds(self): ...
|
||||
@bounds.setter
|
||||
def bounds(self, bounds) -> None: ...
|
||||
@property
|
||||
def label(self): ...
|
||||
@label.setter
|
||||
def label(self, label) -> None: ...
|
||||
@property
|
||||
def prefix(self): ...
|
||||
@prefix.setter
|
||||
def prefix(self, prefix) -> None: ...
|
||||
@property
|
||||
def suffix(self): ...
|
||||
@suffix.setter
|
||||
def suffix(self, suffix) -> None: ...
|
||||
@property
|
||||
def base(self): ...
|
||||
@base.setter
|
||||
def base(self, base) -> None: ...
|
||||
@property
|
||||
def scale(self): ...
|
||||
@scale.setter
|
||||
def scale(self, scale) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
12
stubs/influxdb-client/influxdb_client/domain/axis_scale.pyi
Normal file
12
stubs/influxdb-client/influxdb_client/domain/axis_scale.pyi
Normal file
@@ -0,0 +1,12 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class AxisScale:
|
||||
LOG: str
|
||||
LINEAR: str
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
def __init__(self) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,21 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from influxdb_client.domain.statement import Statement
|
||||
|
||||
class BadStatement(Statement):
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(self, type: Incomplete | None = ..., text: Incomplete | None = ...) -> None: ...
|
||||
@property
|
||||
def type(self): ...
|
||||
@type.setter
|
||||
def type(self, type) -> None: ...
|
||||
@property
|
||||
def text(self): ...
|
||||
@text.setter
|
||||
def text(self, text) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,155 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from influxdb_client.domain.view_properties import ViewProperties
|
||||
|
||||
class BandViewProperties(ViewProperties):
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
time_format: Incomplete | None = ...,
|
||||
type: Incomplete | None = ...,
|
||||
queries: Incomplete | None = ...,
|
||||
colors: Incomplete | None = ...,
|
||||
shape: Incomplete | None = ...,
|
||||
note: Incomplete | None = ...,
|
||||
show_note_when_empty: Incomplete | None = ...,
|
||||
axes: Incomplete | None = ...,
|
||||
static_legend: Incomplete | None = ...,
|
||||
x_column: Incomplete | None = ...,
|
||||
generate_x_axis_ticks: Incomplete | None = ...,
|
||||
x_total_ticks: Incomplete | None = ...,
|
||||
x_tick_start: Incomplete | None = ...,
|
||||
x_tick_step: Incomplete | None = ...,
|
||||
y_column: Incomplete | None = ...,
|
||||
generate_y_axis_ticks: Incomplete | None = ...,
|
||||
y_total_ticks: Incomplete | None = ...,
|
||||
y_tick_start: Incomplete | None = ...,
|
||||
y_tick_step: Incomplete | None = ...,
|
||||
upper_column: Incomplete | None = ...,
|
||||
main_column: Incomplete | None = ...,
|
||||
lower_column: Incomplete | None = ...,
|
||||
hover_dimension: Incomplete | None = ...,
|
||||
geom: Incomplete | None = ...,
|
||||
legend_colorize_rows: Incomplete | None = ...,
|
||||
legend_hide: Incomplete | None = ...,
|
||||
legend_opacity: Incomplete | None = ...,
|
||||
legend_orientation_threshold: Incomplete | None = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
def time_format(self): ...
|
||||
@time_format.setter
|
||||
def time_format(self, time_format) -> None: ...
|
||||
@property
|
||||
def type(self): ...
|
||||
@type.setter
|
||||
def type(self, type) -> None: ...
|
||||
@property
|
||||
def queries(self): ...
|
||||
@queries.setter
|
||||
def queries(self, queries) -> None: ...
|
||||
@property
|
||||
def colors(self): ...
|
||||
@colors.setter
|
||||
def colors(self, colors) -> None: ...
|
||||
@property
|
||||
def shape(self): ...
|
||||
@shape.setter
|
||||
def shape(self, shape) -> None: ...
|
||||
@property
|
||||
def note(self): ...
|
||||
@note.setter
|
||||
def note(self, note) -> None: ...
|
||||
@property
|
||||
def show_note_when_empty(self): ...
|
||||
@show_note_when_empty.setter
|
||||
def show_note_when_empty(self, show_note_when_empty) -> None: ...
|
||||
@property
|
||||
def axes(self): ...
|
||||
@axes.setter
|
||||
def axes(self, axes) -> None: ...
|
||||
@property
|
||||
def static_legend(self): ...
|
||||
@static_legend.setter
|
||||
def static_legend(self, static_legend) -> None: ...
|
||||
@property
|
||||
def x_column(self): ...
|
||||
@x_column.setter
|
||||
def x_column(self, x_column) -> None: ...
|
||||
@property
|
||||
def generate_x_axis_ticks(self): ...
|
||||
@generate_x_axis_ticks.setter
|
||||
def generate_x_axis_ticks(self, generate_x_axis_ticks) -> None: ...
|
||||
@property
|
||||
def x_total_ticks(self): ...
|
||||
@x_total_ticks.setter
|
||||
def x_total_ticks(self, x_total_ticks) -> None: ...
|
||||
@property
|
||||
def x_tick_start(self): ...
|
||||
@x_tick_start.setter
|
||||
def x_tick_start(self, x_tick_start) -> None: ...
|
||||
@property
|
||||
def x_tick_step(self): ...
|
||||
@x_tick_step.setter
|
||||
def x_tick_step(self, x_tick_step) -> None: ...
|
||||
@property
|
||||
def y_column(self): ...
|
||||
@y_column.setter
|
||||
def y_column(self, y_column) -> None: ...
|
||||
@property
|
||||
def generate_y_axis_ticks(self): ...
|
||||
@generate_y_axis_ticks.setter
|
||||
def generate_y_axis_ticks(self, generate_y_axis_ticks) -> None: ...
|
||||
@property
|
||||
def y_total_ticks(self): ...
|
||||
@y_total_ticks.setter
|
||||
def y_total_ticks(self, y_total_ticks) -> None: ...
|
||||
@property
|
||||
def y_tick_start(self): ...
|
||||
@y_tick_start.setter
|
||||
def y_tick_start(self, y_tick_start) -> None: ...
|
||||
@property
|
||||
def y_tick_step(self): ...
|
||||
@y_tick_step.setter
|
||||
def y_tick_step(self, y_tick_step) -> None: ...
|
||||
@property
|
||||
def upper_column(self): ...
|
||||
@upper_column.setter
|
||||
def upper_column(self, upper_column) -> None: ...
|
||||
@property
|
||||
def main_column(self): ...
|
||||
@main_column.setter
|
||||
def main_column(self, main_column) -> None: ...
|
||||
@property
|
||||
def lower_column(self): ...
|
||||
@lower_column.setter
|
||||
def lower_column(self, lower_column) -> None: ...
|
||||
@property
|
||||
def hover_dimension(self): ...
|
||||
@hover_dimension.setter
|
||||
def hover_dimension(self, hover_dimension) -> None: ...
|
||||
@property
|
||||
def geom(self): ...
|
||||
@geom.setter
|
||||
def geom(self, geom) -> None: ...
|
||||
@property
|
||||
def legend_colorize_rows(self): ...
|
||||
@legend_colorize_rows.setter
|
||||
def legend_colorize_rows(self, legend_colorize_rows) -> None: ...
|
||||
@property
|
||||
def legend_hide(self): ...
|
||||
@legend_hide.setter
|
||||
def legend_hide(self, legend_hide) -> None: ...
|
||||
@property
|
||||
def legend_opacity(self): ...
|
||||
@legend_opacity.setter
|
||||
def legend_opacity(self, legend_opacity) -> None: ...
|
||||
@property
|
||||
def legend_orientation_threshold(self): ...
|
||||
@legend_orientation_threshold.setter
|
||||
def legend_orientation_threshold(self, legend_orientation_threshold) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,35 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from influxdb_client.domain.expression import Expression
|
||||
|
||||
class BinaryExpression(Expression):
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
type: Incomplete | None = ...,
|
||||
operator: Incomplete | None = ...,
|
||||
left: Incomplete | None = ...,
|
||||
right: Incomplete | None = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
def type(self): ...
|
||||
@type.setter
|
||||
def type(self, type) -> None: ...
|
||||
@property
|
||||
def operator(self): ...
|
||||
@operator.setter
|
||||
def operator(self, operator) -> None: ...
|
||||
@property
|
||||
def left(self): ...
|
||||
@left.setter
|
||||
def left(self, left) -> None: ...
|
||||
@property
|
||||
def right(self): ...
|
||||
@right.setter
|
||||
def right(self, right) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
21
stubs/influxdb-client/influxdb_client/domain/block.pyi
Normal file
21
stubs/influxdb-client/influxdb_client/domain/block.pyi
Normal file
@@ -0,0 +1,21 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from influxdb_client.domain.node import Node
|
||||
|
||||
class Block(Node):
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(self, type: Incomplete | None = ..., body: Incomplete | None = ...) -> None: ...
|
||||
@property
|
||||
def type(self): ...
|
||||
@type.setter
|
||||
def type(self, type) -> None: ...
|
||||
@property
|
||||
def body(self): ...
|
||||
@body.setter
|
||||
def body(self, body) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,21 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from influxdb_client.domain.expression import Expression
|
||||
|
||||
class BooleanLiteral(Expression):
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(self, type: Incomplete | None = ..., value: Incomplete | None = ...) -> None: ...
|
||||
@property
|
||||
def type(self): ...
|
||||
@type.setter
|
||||
def type(self, type) -> None: ...
|
||||
@property
|
||||
def value(self): ...
|
||||
@value.setter
|
||||
def value(self, value) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
73
stubs/influxdb-client/influxdb_client/domain/bucket.pyi
Normal file
73
stubs/influxdb-client/influxdb_client/domain/bucket.pyi
Normal file
@@ -0,0 +1,73 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class Bucket:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
links: Incomplete | None = ...,
|
||||
id: Incomplete | None = ...,
|
||||
type: str = ...,
|
||||
name: Incomplete | None = ...,
|
||||
description: Incomplete | None = ...,
|
||||
org_id: Incomplete | None = ...,
|
||||
rp: Incomplete | None = ...,
|
||||
schema_type: Incomplete | None = ...,
|
||||
created_at: Incomplete | None = ...,
|
||||
updated_at: Incomplete | None = ...,
|
||||
retention_rules: Incomplete | None = ...,
|
||||
labels: Incomplete | None = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
def links(self): ...
|
||||
@links.setter
|
||||
def links(self, links) -> None: ...
|
||||
@property
|
||||
def id(self): ...
|
||||
@id.setter
|
||||
def id(self, id) -> None: ...
|
||||
@property
|
||||
def type(self): ...
|
||||
@type.setter
|
||||
def type(self, type) -> None: ...
|
||||
@property
|
||||
def name(self): ...
|
||||
@name.setter
|
||||
def name(self, name) -> None: ...
|
||||
@property
|
||||
def description(self): ...
|
||||
@description.setter
|
||||
def description(self, description) -> None: ...
|
||||
@property
|
||||
def org_id(self): ...
|
||||
@org_id.setter
|
||||
def org_id(self, org_id) -> None: ...
|
||||
@property
|
||||
def rp(self): ...
|
||||
@rp.setter
|
||||
def rp(self, rp) -> None: ...
|
||||
@property
|
||||
def schema_type(self): ...
|
||||
@schema_type.setter
|
||||
def schema_type(self, schema_type) -> None: ...
|
||||
@property
|
||||
def created_at(self): ...
|
||||
@created_at.setter
|
||||
def created_at(self, created_at) -> None: ...
|
||||
@property
|
||||
def updated_at(self): ...
|
||||
@updated_at.setter
|
||||
def updated_at(self, updated_at) -> None: ...
|
||||
@property
|
||||
def retention_rules(self): ...
|
||||
@retention_rules.setter
|
||||
def retention_rules(self, retention_rules) -> None: ...
|
||||
@property
|
||||
def labels(self): ...
|
||||
@labels.setter
|
||||
def labels(self, labels) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,39 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class BucketLinks:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
labels: Incomplete | None = ...,
|
||||
members: Incomplete | None = ...,
|
||||
org: Incomplete | None = ...,
|
||||
owners: Incomplete | None = ...,
|
||||
_self: Incomplete | None = ...,
|
||||
write: Incomplete | None = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
def labels(self): ...
|
||||
@labels.setter
|
||||
def labels(self, labels) -> None: ...
|
||||
@property
|
||||
def members(self): ...
|
||||
@members.setter
|
||||
def members(self, members) -> None: ...
|
||||
@property
|
||||
def org(self): ...
|
||||
@org.setter
|
||||
def org(self, org) -> None: ...
|
||||
@property
|
||||
def owners(self): ...
|
||||
@owners.setter
|
||||
def owners(self, owners) -> None: ...
|
||||
@property
|
||||
def write(self): ...
|
||||
@write.setter
|
||||
def write(self, write) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,48 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class BucketMetadataManifest:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
organization_id: Incomplete | None = ...,
|
||||
organization_name: Incomplete | None = ...,
|
||||
bucket_id: Incomplete | None = ...,
|
||||
bucket_name: Incomplete | None = ...,
|
||||
description: Incomplete | None = ...,
|
||||
default_retention_policy: Incomplete | None = ...,
|
||||
retention_policies: Incomplete | None = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
def organization_id(self): ...
|
||||
@organization_id.setter
|
||||
def organization_id(self, organization_id) -> None: ...
|
||||
@property
|
||||
def organization_name(self): ...
|
||||
@organization_name.setter
|
||||
def organization_name(self, organization_name) -> None: ...
|
||||
@property
|
||||
def bucket_id(self): ...
|
||||
@bucket_id.setter
|
||||
def bucket_id(self, bucket_id) -> None: ...
|
||||
@property
|
||||
def bucket_name(self): ...
|
||||
@bucket_name.setter
|
||||
def bucket_name(self, bucket_name) -> None: ...
|
||||
@property
|
||||
def description(self): ...
|
||||
@description.setter
|
||||
def description(self, description) -> None: ...
|
||||
@property
|
||||
def default_retention_policy(self): ...
|
||||
@default_retention_policy.setter
|
||||
def default_retention_policy(self, default_retention_policy) -> None: ...
|
||||
@property
|
||||
def retention_policies(self): ...
|
||||
@retention_policies.setter
|
||||
def retention_policies(self, retention_policies) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,25 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class BucketRetentionRules:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self, type: str = ..., every_seconds: Incomplete | None = ..., shard_group_duration_seconds: Incomplete | None = ...
|
||||
) -> None: ...
|
||||
@property
|
||||
def type(self): ...
|
||||
@type.setter
|
||||
def type(self, type) -> None: ...
|
||||
@property
|
||||
def every_seconds(self): ...
|
||||
@every_seconds.setter
|
||||
def every_seconds(self, every_seconds) -> None: ...
|
||||
@property
|
||||
def shard_group_duration_seconds(self): ...
|
||||
@shard_group_duration_seconds.setter
|
||||
def shard_group_duration_seconds(self, shard_group_duration_seconds) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,19 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class BucketShardMapping:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(self, old_id: Incomplete | None = ..., new_id: Incomplete | None = ...) -> None: ...
|
||||
@property
|
||||
def old_id(self): ...
|
||||
@old_id.setter
|
||||
def old_id(self, old_id) -> None: ...
|
||||
@property
|
||||
def new_id(self): ...
|
||||
@new_id.setter
|
||||
def new_id(self, new_id) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
19
stubs/influxdb-client/influxdb_client/domain/buckets.pyi
Normal file
19
stubs/influxdb-client/influxdb_client/domain/buckets.pyi
Normal file
@@ -0,0 +1,19 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class Buckets:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(self, links: Incomplete | None = ..., buckets: Incomplete | None = ...) -> None: ...
|
||||
@property
|
||||
def links(self): ...
|
||||
@links.setter
|
||||
def links(self, links) -> None: ...
|
||||
@property
|
||||
def buckets(self): ...
|
||||
@buckets.setter
|
||||
def buckets(self, buckets) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,12 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class BuilderAggregateFunctionType:
|
||||
FILTER: str
|
||||
GROUP: str
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
def __init__(self) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,33 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class BuilderConfig:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
buckets: Incomplete | None = ...,
|
||||
tags: Incomplete | None = ...,
|
||||
functions: Incomplete | None = ...,
|
||||
aggregate_window: Incomplete | None = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
def buckets(self): ...
|
||||
@buckets.setter
|
||||
def buckets(self, buckets) -> None: ...
|
||||
@property
|
||||
def tags(self): ...
|
||||
@tags.setter
|
||||
def tags(self, tags) -> None: ...
|
||||
@property
|
||||
def functions(self): ...
|
||||
@functions.setter
|
||||
def functions(self, functions) -> None: ...
|
||||
@property
|
||||
def aggregate_window(self): ...
|
||||
@aggregate_window.setter
|
||||
def aggregate_window(self, aggregate_window) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,19 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class BuilderConfigAggregateWindow:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(self, period: Incomplete | None = ..., fill_values: Incomplete | None = ...) -> None: ...
|
||||
@property
|
||||
def period(self): ...
|
||||
@period.setter
|
||||
def period(self, period) -> None: ...
|
||||
@property
|
||||
def fill_values(self): ...
|
||||
@fill_values.setter
|
||||
def fill_values(self, fill_values) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,15 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class BuilderFunctionsType:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(self, name: Incomplete | None = ...) -> None: ...
|
||||
@property
|
||||
def name(self): ...
|
||||
@name.setter
|
||||
def name(self, name) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,25 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class BuilderTagsType:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self, key: Incomplete | None = ..., values: Incomplete | None = ..., aggregate_function_type: Incomplete | None = ...
|
||||
) -> None: ...
|
||||
@property
|
||||
def key(self): ...
|
||||
@key.setter
|
||||
def key(self, key) -> None: ...
|
||||
@property
|
||||
def values(self): ...
|
||||
@values.setter
|
||||
def values(self, values) -> None: ...
|
||||
@property
|
||||
def aggregate_function_type(self): ...
|
||||
@aggregate_function_type.setter
|
||||
def aggregate_function_type(self, aggregate_function_type) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,21 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from influxdb_client.domain.statement import Statement
|
||||
|
||||
class BuiltinStatement(Statement):
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(self, type: Incomplete | None = ..., id: Incomplete | None = ...) -> None: ...
|
||||
@property
|
||||
def type(self): ...
|
||||
@type.setter
|
||||
def type(self, type) -> None: ...
|
||||
@property
|
||||
def id(self): ...
|
||||
@id.setter
|
||||
def id(self, id) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,27 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from influxdb_client.domain.expression import Expression
|
||||
|
||||
class CallExpression(Expression):
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self, type: Incomplete | None = ..., callee: Incomplete | None = ..., arguments: Incomplete | None = ...
|
||||
) -> None: ...
|
||||
@property
|
||||
def type(self): ...
|
||||
@type.setter
|
||||
def type(self, type) -> None: ...
|
||||
@property
|
||||
def callee(self): ...
|
||||
@callee.setter
|
||||
def callee(self, callee) -> None: ...
|
||||
@property
|
||||
def arguments(self): ...
|
||||
@arguments.setter
|
||||
def arguments(self, arguments) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
48
stubs/influxdb-client/influxdb_client/domain/cell.pyi
Normal file
48
stubs/influxdb-client/influxdb_client/domain/cell.pyi
Normal file
@@ -0,0 +1,48 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class Cell:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
id: Incomplete | None = ...,
|
||||
links: Incomplete | None = ...,
|
||||
x: Incomplete | None = ...,
|
||||
y: Incomplete | None = ...,
|
||||
w: Incomplete | None = ...,
|
||||
h: Incomplete | None = ...,
|
||||
view_id: Incomplete | None = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
def id(self): ...
|
||||
@id.setter
|
||||
def id(self, id) -> None: ...
|
||||
@property
|
||||
def links(self): ...
|
||||
@links.setter
|
||||
def links(self, links) -> None: ...
|
||||
@property
|
||||
def x(self): ...
|
||||
@x.setter
|
||||
def x(self, x) -> None: ...
|
||||
@property
|
||||
def y(self): ...
|
||||
@y.setter
|
||||
def y(self, y) -> None: ...
|
||||
@property
|
||||
def w(self): ...
|
||||
@w.setter
|
||||
def w(self, w) -> None: ...
|
||||
@property
|
||||
def h(self): ...
|
||||
@h.setter
|
||||
def h(self, h) -> None: ...
|
||||
@property
|
||||
def view_id(self): ...
|
||||
@view_id.setter
|
||||
def view_id(self, view_id) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
15
stubs/influxdb-client/influxdb_client/domain/cell_links.pyi
Normal file
15
stubs/influxdb-client/influxdb_client/domain/cell_links.pyi
Normal file
@@ -0,0 +1,15 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class CellLinks:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(self, _self: Incomplete | None = ..., view: Incomplete | None = ...) -> None: ...
|
||||
@property
|
||||
def view(self): ...
|
||||
@view.setter
|
||||
def view(self, view) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
29
stubs/influxdb-client/influxdb_client/domain/cell_update.pyi
Normal file
29
stubs/influxdb-client/influxdb_client/domain/cell_update.pyi
Normal file
@@ -0,0 +1,29 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class CellUpdate:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self, x: Incomplete | None = ..., y: Incomplete | None = ..., w: Incomplete | None = ..., h: Incomplete | None = ...
|
||||
) -> None: ...
|
||||
@property
|
||||
def x(self): ...
|
||||
@x.setter
|
||||
def x(self, x) -> None: ...
|
||||
@property
|
||||
def y(self): ...
|
||||
@y.setter
|
||||
def y(self, y) -> None: ...
|
||||
@property
|
||||
def w(self): ...
|
||||
@w.setter
|
||||
def w(self, w) -> None: ...
|
||||
@property
|
||||
def h(self): ...
|
||||
@h.setter
|
||||
def h(self, h) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,32 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from influxdb_client.domain.cell import Cell
|
||||
|
||||
class CellWithViewProperties(Cell):
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
name: Incomplete | None = ...,
|
||||
properties: Incomplete | None = ...,
|
||||
id: Incomplete | None = ...,
|
||||
links: Incomplete | None = ...,
|
||||
x: Incomplete | None = ...,
|
||||
y: Incomplete | None = ...,
|
||||
w: Incomplete | None = ...,
|
||||
h: Incomplete | None = ...,
|
||||
view_id: Incomplete | None = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
def name(self): ...
|
||||
@name.setter
|
||||
def name(self, name) -> None: ...
|
||||
@property
|
||||
def properties(self): ...
|
||||
@properties.setter
|
||||
def properties(self, properties) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
17
stubs/influxdb-client/influxdb_client/domain/check.pyi
Normal file
17
stubs/influxdb-client/influxdb_client/domain/check.pyi
Normal file
@@ -0,0 +1,17 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class Check:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator_value_class_map: Incomplete
|
||||
discriminator: str
|
||||
def __init__(self, type: Incomplete | None = ...) -> None: ...
|
||||
@property
|
||||
def type(self): ...
|
||||
@type.setter
|
||||
def type(self, type) -> None: ...
|
||||
def get_real_child_model(self, data): ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
88
stubs/influxdb-client/influxdb_client/domain/check_base.pyi
Normal file
88
stubs/influxdb-client/influxdb_client/domain/check_base.pyi
Normal file
@@ -0,0 +1,88 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class CheckBase:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
id: Incomplete | None = ...,
|
||||
name: Incomplete | None = ...,
|
||||
org_id: Incomplete | None = ...,
|
||||
task_id: Incomplete | None = ...,
|
||||
owner_id: Incomplete | None = ...,
|
||||
created_at: Incomplete | None = ...,
|
||||
updated_at: Incomplete | None = ...,
|
||||
query: Incomplete | None = ...,
|
||||
status: Incomplete | None = ...,
|
||||
description: Incomplete | None = ...,
|
||||
latest_completed: Incomplete | None = ...,
|
||||
last_run_status: Incomplete | None = ...,
|
||||
last_run_error: Incomplete | None = ...,
|
||||
labels: Incomplete | None = ...,
|
||||
links: Incomplete | None = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
def id(self): ...
|
||||
@id.setter
|
||||
def id(self, id) -> None: ...
|
||||
@property
|
||||
def name(self): ...
|
||||
@name.setter
|
||||
def name(self, name) -> None: ...
|
||||
@property
|
||||
def org_id(self): ...
|
||||
@org_id.setter
|
||||
def org_id(self, org_id) -> None: ...
|
||||
@property
|
||||
def task_id(self): ...
|
||||
@task_id.setter
|
||||
def task_id(self, task_id) -> None: ...
|
||||
@property
|
||||
def owner_id(self): ...
|
||||
@owner_id.setter
|
||||
def owner_id(self, owner_id) -> None: ...
|
||||
@property
|
||||
def created_at(self): ...
|
||||
@created_at.setter
|
||||
def created_at(self, created_at) -> None: ...
|
||||
@property
|
||||
def updated_at(self): ...
|
||||
@updated_at.setter
|
||||
def updated_at(self, updated_at) -> None: ...
|
||||
@property
|
||||
def query(self): ...
|
||||
@query.setter
|
||||
def query(self, query) -> None: ...
|
||||
@property
|
||||
def status(self): ...
|
||||
@status.setter
|
||||
def status(self, status) -> None: ...
|
||||
@property
|
||||
def description(self): ...
|
||||
@description.setter
|
||||
def description(self, description) -> None: ...
|
||||
@property
|
||||
def latest_completed(self): ...
|
||||
@latest_completed.setter
|
||||
def latest_completed(self, latest_completed) -> None: ...
|
||||
@property
|
||||
def last_run_status(self): ...
|
||||
@last_run_status.setter
|
||||
def last_run_status(self, last_run_status) -> None: ...
|
||||
@property
|
||||
def last_run_error(self): ...
|
||||
@last_run_error.setter
|
||||
def last_run_error(self, last_run_error) -> None: ...
|
||||
@property
|
||||
def labels(self): ...
|
||||
@labels.setter
|
||||
def labels(self, labels) -> None: ...
|
||||
@property
|
||||
def links(self): ...
|
||||
@links.setter
|
||||
def links(self, links) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,34 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class CheckBaseLinks:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
_self: Incomplete | None = ...,
|
||||
labels: Incomplete | None = ...,
|
||||
members: Incomplete | None = ...,
|
||||
owners: Incomplete | None = ...,
|
||||
query: Incomplete | None = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
def labels(self): ...
|
||||
@labels.setter
|
||||
def labels(self, labels) -> None: ...
|
||||
@property
|
||||
def members(self): ...
|
||||
@members.setter
|
||||
def members(self, members) -> None: ...
|
||||
@property
|
||||
def owners(self): ...
|
||||
@owners.setter
|
||||
def owners(self, owners) -> None: ...
|
||||
@property
|
||||
def query(self): ...
|
||||
@query.setter
|
||||
def query(self, query) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,30 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from influxdb_client.domain.check_base import CheckBase
|
||||
|
||||
class CheckDiscriminator(CheckBase):
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
id: Incomplete | None = ...,
|
||||
name: Incomplete | None = ...,
|
||||
org_id: Incomplete | None = ...,
|
||||
task_id: Incomplete | None = ...,
|
||||
owner_id: Incomplete | None = ...,
|
||||
created_at: Incomplete | None = ...,
|
||||
updated_at: Incomplete | None = ...,
|
||||
query: Incomplete | None = ...,
|
||||
status: Incomplete | None = ...,
|
||||
description: Incomplete | None = ...,
|
||||
latest_completed: Incomplete | None = ...,
|
||||
last_run_status: Incomplete | None = ...,
|
||||
last_run_error: Incomplete | None = ...,
|
||||
labels: Incomplete | None = ...,
|
||||
links: Incomplete | None = ...,
|
||||
) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
25
stubs/influxdb-client/influxdb_client/domain/check_patch.pyi
Normal file
25
stubs/influxdb-client/influxdb_client/domain/check_patch.pyi
Normal file
@@ -0,0 +1,25 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class CheckPatch:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self, name: Incomplete | None = ..., description: Incomplete | None = ..., status: Incomplete | None = ...
|
||||
) -> None: ...
|
||||
@property
|
||||
def name(self): ...
|
||||
@name.setter
|
||||
def name(self, name) -> None: ...
|
||||
@property
|
||||
def description(self): ...
|
||||
@description.setter
|
||||
def description(self, description) -> None: ...
|
||||
@property
|
||||
def status(self): ...
|
||||
@status.setter
|
||||
def status(self, status) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,15 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class CheckStatusLevel:
|
||||
UNKNOWN: str
|
||||
OK: str
|
||||
INFO: str
|
||||
CRIT: str
|
||||
WARN: str
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
def __init__(self) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,65 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from influxdb_client.domain.view_properties import ViewProperties
|
||||
|
||||
class CheckViewProperties(ViewProperties):
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
type: Incomplete | None = ...,
|
||||
shape: Incomplete | None = ...,
|
||||
check_id: Incomplete | None = ...,
|
||||
check: Incomplete | None = ...,
|
||||
queries: Incomplete | None = ...,
|
||||
colors: Incomplete | None = ...,
|
||||
legend_colorize_rows: Incomplete | None = ...,
|
||||
legend_hide: Incomplete | None = ...,
|
||||
legend_opacity: Incomplete | None = ...,
|
||||
legend_orientation_threshold: Incomplete | None = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
def type(self): ...
|
||||
@type.setter
|
||||
def type(self, type) -> None: ...
|
||||
@property
|
||||
def shape(self): ...
|
||||
@shape.setter
|
||||
def shape(self, shape) -> None: ...
|
||||
@property
|
||||
def check_id(self): ...
|
||||
@check_id.setter
|
||||
def check_id(self, check_id) -> None: ...
|
||||
@property
|
||||
def check(self): ...
|
||||
@check.setter
|
||||
def check(self, check) -> None: ...
|
||||
@property
|
||||
def queries(self): ...
|
||||
@queries.setter
|
||||
def queries(self, queries) -> None: ...
|
||||
@property
|
||||
def colors(self): ...
|
||||
@colors.setter
|
||||
def colors(self, colors) -> None: ...
|
||||
@property
|
||||
def legend_colorize_rows(self): ...
|
||||
@legend_colorize_rows.setter
|
||||
def legend_colorize_rows(self, legend_colorize_rows) -> None: ...
|
||||
@property
|
||||
def legend_hide(self): ...
|
||||
@legend_hide.setter
|
||||
def legend_hide(self, legend_hide) -> None: ...
|
||||
@property
|
||||
def legend_opacity(self): ...
|
||||
@legend_opacity.setter
|
||||
def legend_opacity(self, legend_opacity) -> None: ...
|
||||
@property
|
||||
def legend_orientation_threshold(self): ...
|
||||
@legend_orientation_threshold.setter
|
||||
def legend_orientation_threshold(self, legend_orientation_threshold) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
19
stubs/influxdb-client/influxdb_client/domain/checks.pyi
Normal file
19
stubs/influxdb-client/influxdb_client/domain/checks.pyi
Normal file
@@ -0,0 +1,19 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class Checks:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(self, checks: Incomplete | None = ..., links: Incomplete | None = ...) -> None: ...
|
||||
@property
|
||||
def checks(self): ...
|
||||
@checks.setter
|
||||
def checks(self, checks) -> None: ...
|
||||
@property
|
||||
def links(self): ...
|
||||
@links.setter
|
||||
def links(self, links) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,15 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class ColumnDataType:
|
||||
INTEGER: str
|
||||
FLOAT: str
|
||||
BOOLEAN: str
|
||||
STRING: str
|
||||
UNSIGNED: str
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
def __init__(self) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,13 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class ColumnSemanticType:
|
||||
TIMESTAMP: str
|
||||
TAG: str
|
||||
FIELD: str
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
def __init__(self) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,35 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from influxdb_client.domain.expression import Expression
|
||||
|
||||
class ConditionalExpression(Expression):
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
type: Incomplete | None = ...,
|
||||
test: Incomplete | None = ...,
|
||||
alternate: Incomplete | None = ...,
|
||||
consequent: Incomplete | None = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
def type(self): ...
|
||||
@type.setter
|
||||
def type(self, type) -> None: ...
|
||||
@property
|
||||
def test(self): ...
|
||||
@test.setter
|
||||
def test(self, test) -> None: ...
|
||||
@property
|
||||
def alternate(self): ...
|
||||
@alternate.setter
|
||||
def alternate(self, alternate) -> None: ...
|
||||
@property
|
||||
def consequent(self): ...
|
||||
@consequent.setter
|
||||
def consequent(self, consequent) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
15
stubs/influxdb-client/influxdb_client/domain/config.pyi
Normal file
15
stubs/influxdb-client/influxdb_client/domain/config.pyi
Normal file
@@ -0,0 +1,15 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class Config:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(self, config: Incomplete | None = ...) -> None: ...
|
||||
@property
|
||||
def config(self): ...
|
||||
@config.setter
|
||||
def config(self, config) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,21 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from influxdb_client.domain.variable_properties import VariableProperties
|
||||
|
||||
class ConstantVariableProperties(VariableProperties):
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(self, type: Incomplete | None = ..., values: Incomplete | None = ...) -> None: ...
|
||||
@property
|
||||
def type(self): ...
|
||||
@type.setter
|
||||
def type(self, type) -> None: ...
|
||||
@property
|
||||
def values(self): ...
|
||||
@values.setter
|
||||
def values(self, values) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
43
stubs/influxdb-client/influxdb_client/domain/create_cell.pyi
Normal file
43
stubs/influxdb-client/influxdb_client/domain/create_cell.pyi
Normal file
@@ -0,0 +1,43 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class CreateCell:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
name: Incomplete | None = ...,
|
||||
x: Incomplete | None = ...,
|
||||
y: Incomplete | None = ...,
|
||||
w: Incomplete | None = ...,
|
||||
h: Incomplete | None = ...,
|
||||
using_view: Incomplete | None = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
def name(self): ...
|
||||
@name.setter
|
||||
def name(self, name) -> None: ...
|
||||
@property
|
||||
def x(self): ...
|
||||
@x.setter
|
||||
def x(self, x) -> None: ...
|
||||
@property
|
||||
def y(self): ...
|
||||
@y.setter
|
||||
def y(self, y) -> None: ...
|
||||
@property
|
||||
def w(self): ...
|
||||
@w.setter
|
||||
def w(self, w) -> None: ...
|
||||
@property
|
||||
def h(self): ...
|
||||
@h.setter
|
||||
def h(self, h) -> None: ...
|
||||
@property
|
||||
def using_view(self): ...
|
||||
@using_view.setter
|
||||
def using_view(self, using_view) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,25 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class CreateDashboardRequest:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self, org_id: Incomplete | None = ..., name: Incomplete | None = ..., description: Incomplete | None = ...
|
||||
) -> None: ...
|
||||
@property
|
||||
def org_id(self): ...
|
||||
@org_id.setter
|
||||
def org_id(self, org_id) -> None: ...
|
||||
@property
|
||||
def name(self): ...
|
||||
@name.setter
|
||||
def name(self, name) -> None: ...
|
||||
@property
|
||||
def description(self): ...
|
||||
@description.setter
|
||||
def description(self, description) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,35 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from influxdb_client.domain.check_discriminator import CheckDiscriminator
|
||||
|
||||
class CustomCheck(CheckDiscriminator):
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
type: str = ...,
|
||||
id: Incomplete | None = ...,
|
||||
name: Incomplete | None = ...,
|
||||
org_id: Incomplete | None = ...,
|
||||
task_id: Incomplete | None = ...,
|
||||
owner_id: Incomplete | None = ...,
|
||||
created_at: Incomplete | None = ...,
|
||||
updated_at: Incomplete | None = ...,
|
||||
query: Incomplete | None = ...,
|
||||
status: Incomplete | None = ...,
|
||||
description: Incomplete | None = ...,
|
||||
latest_completed: Incomplete | None = ...,
|
||||
last_run_status: Incomplete | None = ...,
|
||||
last_run_error: Incomplete | None = ...,
|
||||
labels: Incomplete | None = ...,
|
||||
links: Incomplete | None = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
def type(self): ...
|
||||
@type.setter
|
||||
def type(self, type) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
43
stubs/influxdb-client/influxdb_client/domain/dashboard.pyi
Normal file
43
stubs/influxdb-client/influxdb_client/domain/dashboard.pyi
Normal file
@@ -0,0 +1,43 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from influxdb_client.domain.create_dashboard_request import CreateDashboardRequest
|
||||
|
||||
class Dashboard(CreateDashboardRequest):
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
links: Incomplete | None = ...,
|
||||
id: Incomplete | None = ...,
|
||||
meta: Incomplete | None = ...,
|
||||
cells: Incomplete | None = ...,
|
||||
labels: Incomplete | None = ...,
|
||||
org_id: Incomplete | None = ...,
|
||||
name: Incomplete | None = ...,
|
||||
description: Incomplete | None = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
def links(self): ...
|
||||
@links.setter
|
||||
def links(self, links) -> None: ...
|
||||
@property
|
||||
def id(self): ...
|
||||
@id.setter
|
||||
def id(self, id) -> None: ...
|
||||
@property
|
||||
def meta(self): ...
|
||||
@meta.setter
|
||||
def meta(self, meta) -> None: ...
|
||||
@property
|
||||
def cells(self): ...
|
||||
@cells.setter
|
||||
def cells(self, cells) -> None: ...
|
||||
@property
|
||||
def labels(self): ...
|
||||
@labels.setter
|
||||
def labels(self, labels) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,38 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class DashboardColor:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
id: Incomplete | None = ...,
|
||||
type: Incomplete | None = ...,
|
||||
hex: Incomplete | None = ...,
|
||||
name: Incomplete | None = ...,
|
||||
value: Incomplete | None = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
def id(self): ...
|
||||
@id.setter
|
||||
def id(self, id) -> None: ...
|
||||
@property
|
||||
def type(self): ...
|
||||
@type.setter
|
||||
def type(self, type) -> None: ...
|
||||
@property
|
||||
def hex(self): ...
|
||||
@hex.setter
|
||||
def hex(self, hex) -> None: ...
|
||||
@property
|
||||
def name(self): ...
|
||||
@name.setter
|
||||
def name(self, name) -> None: ...
|
||||
@property
|
||||
def value(self): ...
|
||||
@value.setter
|
||||
def value(self, value) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,33 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class DashboardQuery:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
text: Incomplete | None = ...,
|
||||
edit_mode: Incomplete | None = ...,
|
||||
name: Incomplete | None = ...,
|
||||
builder_config: Incomplete | None = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
def text(self): ...
|
||||
@text.setter
|
||||
def text(self, text) -> None: ...
|
||||
@property
|
||||
def edit_mode(self): ...
|
||||
@edit_mode.setter
|
||||
def edit_mode(self, edit_mode) -> None: ...
|
||||
@property
|
||||
def name(self): ...
|
||||
@name.setter
|
||||
def name(self, name) -> None: ...
|
||||
@property
|
||||
def builder_config(self): ...
|
||||
@builder_config.setter
|
||||
def builder_config(self, builder_config) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,43 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from influxdb_client.domain.create_dashboard_request import CreateDashboardRequest
|
||||
|
||||
class DashboardWithViewProperties(CreateDashboardRequest):
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
links: Incomplete | None = ...,
|
||||
id: Incomplete | None = ...,
|
||||
meta: Incomplete | None = ...,
|
||||
cells: Incomplete | None = ...,
|
||||
labels: Incomplete | None = ...,
|
||||
org_id: Incomplete | None = ...,
|
||||
name: Incomplete | None = ...,
|
||||
description: Incomplete | None = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
def links(self): ...
|
||||
@links.setter
|
||||
def links(self, links) -> None: ...
|
||||
@property
|
||||
def id(self): ...
|
||||
@id.setter
|
||||
def id(self, id) -> None: ...
|
||||
@property
|
||||
def meta(self): ...
|
||||
@meta.setter
|
||||
def meta(self, meta) -> None: ...
|
||||
@property
|
||||
def cells(self): ...
|
||||
@cells.setter
|
||||
def cells(self, cells) -> None: ...
|
||||
@property
|
||||
def labels(self): ...
|
||||
@labels.setter
|
||||
def labels(self, labels) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
19
stubs/influxdb-client/influxdb_client/domain/dashboards.pyi
Normal file
19
stubs/influxdb-client/influxdb_client/domain/dashboards.pyi
Normal file
@@ -0,0 +1,19 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class Dashboards:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(self, links: Incomplete | None = ..., dashboards: Incomplete | None = ...) -> None: ...
|
||||
@property
|
||||
def links(self): ...
|
||||
@links.setter
|
||||
def links(self, links) -> None: ...
|
||||
@property
|
||||
def dashboards(self): ...
|
||||
@dashboards.setter
|
||||
def dashboards(self, dashboards) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
@@ -0,0 +1,21 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from influxdb_client.domain.expression import Expression
|
||||
|
||||
class DateTimeLiteral(Expression):
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(self, type: Incomplete | None = ..., value: Incomplete | None = ...) -> None: ...
|
||||
@property
|
||||
def type(self): ...
|
||||
@type.setter
|
||||
def type(self, type) -> None: ...
|
||||
@property
|
||||
def value(self): ...
|
||||
@value.setter
|
||||
def value(self, value) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
15
stubs/influxdb-client/influxdb_client/domain/dbr_ps.pyi
Normal file
15
stubs/influxdb-client/influxdb_client/domain/dbr_ps.pyi
Normal file
@@ -0,0 +1,15 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class DBRPs:
|
||||
openapi_types: Incomplete
|
||||
attribute_map: Incomplete
|
||||
discriminator: Incomplete
|
||||
def __init__(self, content: Incomplete | None = ...) -> None: ...
|
||||
@property
|
||||
def content(self): ...
|
||||
@content.setter
|
||||
def content(self, content) -> None: ...
|
||||
def to_dict(self): ...
|
||||
def to_str(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user