Skip to content

Commit 3181809

Browse files
committed
fix
1 parent 60e9fc9 commit 3181809

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/confluent_kafka/schema_registry/_async/protobuf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
reference_subject_name_strategy,
3131
topic_subject_name_strategy,
3232
prefix_schema_id_serializer, dual_schema_id_deserializer)
33-
from confluent_kafka.schema_registry.schema_registry_client import SchemaRegistryClient
33+
from confluent_kafka.schema_registry.schema_registry_client import AsyncSchemaRegistryClient
3434
from confluent_kafka.schema_registry.common.protobuf import _bytes, _create_index_array, \
3535
_init_pool, _is_builtin, _schema_to_str, _str_to_proto, transform, _ContextStringIO, PROTOBUF_TYPE
3636
from confluent_kafka.schema_registry.rule_registry import RuleRegistry

src/confluent_kafka/schema_registry/common/protobuf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
'get_inline_tags',
4141
'_disjoint',
4242
'_is_builtin',
43-
'decimalToProtobuf',
44-
'protobufToDecimal'
43+
'decimal_to_protobuf',
44+
'protobuf_to_decimal'
4545
]
4646

4747
# Convert an int to bytes (inverse of ord())

src/confluent_kafka/schema_registry/common/schema_registry_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from enum import Enum
2424
from threading import Lock
2525
from typing import List, Dict, Type, TypeVar, \
26-
cast, Optional, Any
26+
cast, Optional, Any, Tuple
2727

2828
__all__ = [
2929
'VALID_AUTH_PROVIDERS',

0 commit comments

Comments
 (0)