Skip to content

Commit

Permalink
Merge pull request #29 from RegioHelden/fix-retryconsumer-inheritance
Browse files Browse the repository at this point in the history
fix: rectify the inheritance order so RetryConsumer method overrides are first
  • Loading branch information
stefan-cardnell-rh authored Oct 21, 2024
2 parents 9139575 + ddfda04 commit c5d4517
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "0.5.2"
current_version = "0.5.3"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
Expand Down
2 changes: 1 addition & 1 deletion django_kafka/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

logger = logging.getLogger(__name__)

__version__ = "0.5.2"
__version__ = "0.5.3"

__all__ = [
"autodiscover",
Expand Down
2 changes: 1 addition & 1 deletion django_kafka/retry/consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def build(cls, consumer_cls: Type["Consumer"]) -> Optional[Type["RetryConsumer"]

return type[RetryConsumer](
f"{consumer_cls.__name__}Retry",
(consumer_cls, cls),
(cls, consumer_cls),
{
"topics": RetryTopics(group_id, *retryable_tcs),
"config": {
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "django-kafka"
version = "0.5.2"
version = "0.5.3"
dependencies = [
"django>=4.0,<6.0",
"confluent-kafka[avro, schema-registry]==2.4.0"
Expand Down

0 comments on commit c5d4517

Please sign in to comment.