Skip to content

Commit 2f32034

Browse files
committed
Rename AdminClientImpl -> _AdminClientImpl
1 parent 1266b3c commit 2f32034

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

confluent_kafka/admin/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Kafka Admin client: create, view, alter, delete topics and resources.
33
"""
44
from ..cimpl import (KafkaException, # noqa
5-
AdminClientImpl,
5+
_AdminClientImpl,
66
NewTopic,
77
NewPartitions,
88
CONFIG_SOURCE_UNKNOWN_CONFIG,
@@ -227,7 +227,7 @@ def del_config(self, name):
227227
self.del_config_dict[name] = None
228228

229229

230-
class AdminClient (AdminClientImpl):
230+
class AdminClient (_AdminClientImpl):
231231
"""
232232
The Kafka AdminClient provides admin operations for Kafka brokers,
233233
topics, groups, and other resource types supported by the broker.

confluent_kafka/src/Admin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1553,7 +1553,7 @@ static PyObject *Admin_new (PyTypeObject *type, PyObject *args,
15531553

15541554
PyTypeObject AdminType = {
15551555
PyVarObject_HEAD_INIT(NULL, 0)
1556-
"cimpl.AdminClientImpl", /*tp_name*/
1556+
"cimpl._AdminClientImpl", /*tp_name*/
15571557
sizeof(Handle), /*tp_basicsize*/
15581558
0, /*tp_itemsize*/
15591559
(destructor)Admin_dealloc, /*tp_dealloc*/

confluent_kafka/src/confluent_kafka.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2311,7 +2311,7 @@ static PyObject *_init_cimpl (void) {
23112311
PyModule_AddObject(m, "Consumer", (PyObject *)&ConsumerType);
23122312

23132313
Py_INCREF(&AdminType);
2314-
PyModule_AddObject(m, "AdminClientImpl", (PyObject *)&AdminType);
2314+
PyModule_AddObject(m, "_AdminClientImpl", (PyObject *)&AdminType);
23152315

23162316
AdminTypes_AddObjects(m);
23172317

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy