Skip to content

Commit 86e3e77

Browse files
committed
chore: no need to re-export functions from core module. let users explicitly import
Signed-off-by: Tudor Plugaru <[email protected]>
1 parent a7efbf6 commit 86e3e77

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

src/cloudevents/core/bindings/__init__.py

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,9 @@
1212
# License for the specific language governing permissions and limitations
1313
# under the License.
1414

15-
from cloudevents.core.bindings.http import (
16-
HTTPMessage,
17-
from_binary,
18-
from_http,
19-
from_structured,
20-
to_binary,
21-
to_structured,
22-
)
15+
"""
16+
CloudEvents protocol bindings.
2317
24-
__all__ = [
25-
"HTTPMessage",
26-
"to_binary",
27-
"from_binary",
28-
"to_structured",
29-
"from_structured",
30-
"from_http",
31-
]
18+
This package provides protocol-specific bindings for CloudEvents, including HTTP and Kafka.
19+
Each binding module provides functions to convert CloudEvents to/from protocol-specific messages.
20+
"""

0 commit comments

Comments
 (0)