Skip to content

Commit a94252a

Browse files
authored
Explicitly declare public exports via __all__ (#565)
1 parent 9e86492 commit a94252a

File tree

5 files changed

+40
-3
lines changed

5 files changed

+40
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [4.6.3] - 2025-01-08
9+
- Explicitly export members in `__init__.py` via `__all__`
10+
811
## [4.6.2] - 2025-01-07
912

1013
### Fixed

azure-kusto-data/azure/kusto/data/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,10 @@
66
from .client_request_properties import ClientRequestProperties
77
from .kcsb import KustoConnectionStringBuilder
88
from .data_format import DataFormat
9+
10+
__all__ = [
11+
"KustoClient",
12+
"ClientRequestProperties",
13+
"KustoConnectionStringBuilder",
14+
"DataFormat",
15+
]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Copyright (c) Microsoft Corporation.
22
# Licensed under the MIT License
3-
VERSION = "4.6.2"
3+
VERSION = "4.6.3"

azure-kusto-ingest/azure/kusto/ingest/__init__.py

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from ._version import VERSION as __version__
44
from .base_ingest_client import IngestionResult, IngestionStatus
55
from .descriptors import BlobDescriptor, FileDescriptor, StreamDescriptor
6-
from .exceptions import KustoMissingMappingError
6+
from .exceptions import KustoMissingMappingError, KustoMappingError, KustoQueueError, KustoDuplicateMappingError, KustoInvalidEndpointError, KustoClientError
77
from .ingest_client import QueuedIngestClient
88
from .ingestion_properties import (
99
ValidationPolicy,
@@ -19,3 +19,30 @@
1919
from .managed_streaming_ingest_client import ManagedStreamingIngestClient
2020
from .streaming_ingest_client import KustoStreamingIngestClient
2121
from .base_ingest_client import BaseIngestClient
22+
23+
__all__ = [
24+
"IngestionResult",
25+
"IngestionStatus",
26+
"BlobDescriptor",
27+
"FileDescriptor",
28+
"StreamDescriptor",
29+
"KustoMissingMappingError",
30+
"KustoMappingError",
31+
"KustoQueueError",
32+
"KustoDuplicateMappingError",
33+
"KustoInvalidEndpointError",
34+
"KustoClientError",
35+
"QueuedIngestClient",
36+
"ValidationPolicy",
37+
"ValidationImplications",
38+
"ValidationOptions",
39+
"ReportLevel",
40+
"ReportMethod",
41+
"IngestionProperties",
42+
"IngestionMappingKind",
43+
"ColumnMapping",
44+
"TransformationMethod",
45+
"ManagedStreamingIngestClient",
46+
"KustoStreamingIngestClient",
47+
"BaseIngestClient",
48+
]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Copyright (c) Microsoft Corporation.
22
# Licensed under the MIT License
3-
VERSION = "4.6.2"
3+
VERSION = "4.6.3"

0 commit comments

Comments
 (0)