Skip to content

Commit

Permalink
fix: FastStream 0.3.13 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
Lancetnik committed Jan 20, 2024
1 parent b7d5d07 commit 3442b3f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ dynamic = ["version"]

dependencies = [
"taskiq>=0.10.0,<1.0.0",
"faststream>=0.3.0,<1.0.0",
"faststream>=0.3.14,<0.5.0",
]

[project.optional-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion taskiq_faststream/__about__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""FastStream - taskiq integration to schedule FastStream tasks."""
__version__ = "0.1.6"
__version__ = "0.1.7"
4 changes: 2 additions & 2 deletions taskiq_faststream/broker.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
import warnings

import anyio
from faststream._compat import TypeAlias, override
from faststream.app import FastStream
from faststream.broker.core.asyncronous import BrokerAsyncUsecase
from faststream.broker.core.asynchronous import BrokerAsyncUsecase
from faststream.types import SendableMessage
from taskiq import AsyncBroker, BrokerMessage
from taskiq.acks import AckableMessage
from taskiq.decor import AsyncTaskiqDecoratedTask
from typing_extensions import TypeAlias, override

from taskiq_faststream.serializer import PatchedSerializer
from taskiq_faststream.types import ScheduledTask
Expand Down
2 changes: 1 addition & 1 deletion taskiq_faststream/types.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from datetime import datetime, timedelta
from typing import Optional, Union

from faststream._compat import TypedDict
from typing_extensions import TypedDict


class ScheduledTask(TypedDict, total=False):
Expand Down
2 changes: 1 addition & 1 deletion tests/testcase.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from unittest.mock import MagicMock

import pytest
from faststream.broker.core.asyncronous import BrokerAsyncUsecase
from faststream.broker.core.asynchronous import BrokerAsyncUsecase
from faststream.utils.functions import timeout_scope
from taskiq import AsyncBroker, TaskiqScheduler
from taskiq.cli.scheduler.args import SchedulerArgs
Expand Down

0 comments on commit 3442b3f

Please sign in to comment.