faststream 0.7.6__tar.gz → 0.7.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {faststream-0.7.6 → faststream-0.7.7}/PKG-INFO +4 -4
- {faststream-0.7.6 → faststream-0.7.7}/README.md +2 -2
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/application.py +12 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/basic_types.py +4 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/broker/broker.py +7 -4
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/broker/registrator.py +8 -4
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/broker/router.py +3 -3
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/cli/dto.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/cli/supervisors/asgi_multiprocess.py +8 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/cli/supervisors/basereload.py +9 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/cli/supervisors/multiprocess.py +5 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/cli/supervisors/utils.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/cli/supervisors/watchfiles.py +6 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/configs/__init__.py +2 -2
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/configs/broker.py +9 -8
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/constants.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/di/config.py +2 -2
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/endpoint/publisher/fake.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/endpoint/publisher/proto.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/endpoint/publisher/specification.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/endpoint/publisher/usecase.py +7 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/endpoint/specification.py +5 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/endpoint/subscriber/mixins.py +8 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/endpoint/subscriber/specification.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/endpoint/subscriber/usecase.py +15 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/endpoint/subscriber/utils.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/endpoint/usecase.py +5 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/endpoint/utils.py +6 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/fastapi/_compat.py +1 -1
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/fastapi/config.py +1 -1
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/fastapi/get_dependant.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/fastapi/router.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/logger/logger_proxy.py +8 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/logger/params_storage.py +11 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/logger/state.py +6 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/middlewares.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/parser.py +14 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/producer.py +6 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/proto.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/types.py +4 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/utils/functions.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/utils/nuid.py +7 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/utils/path.py +1 -1
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/broker/logging.py +5 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/broker/router.py +13 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/helpers/admin.py +3 -1
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/helpers/client.py +23 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/helpers/config.py +7 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/opentelemetry/provider.py +4 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/parser.py +5 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/prometheus/provider.py +4 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/publisher/fake.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/publisher/producer.py +12 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/publisher/specification.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/publisher/state.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/publisher/usecase.py +11 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/schemas/topic.py +0 -1
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/subscriber/specification.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/subscriber/usecase.py +18 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/exceptions.py +5 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/broker/logging.py +5 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/broker/router.py +13 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/opentelemetry/provider.py +4 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/parser.py +8 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/prometheus/provider.py +4 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/publisher/fake.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/publisher/producer.py +12 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/publisher/specification.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/publisher/state.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/publisher/usecase.py +11 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/subscriber/specification.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/subscriber/usecase.py +25 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/middlewares/acknowledgement/middleware.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/middlewares/exception.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/middlewares/logging.py +4 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/broker/logging.py +5 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/broker/router.py +3 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/parser.py +6 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/publisher/fake.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/publisher/producer.py +15 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/publisher/specification.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/publisher/usecase.py +7 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/subscriber/specification.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/subscriber/usecase.py +11 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/__init__.py +14 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/broker/broker.py +220 -19
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/broker/logging.py +6 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/broker/registrator.py +5 -1
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/broker/router.py +10 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/broker/state.py +6 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/helpers/bucket_declarer.py +5 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/helpers/obj_storage_declarer.py +5 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/helpers/state.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/opentelemetry/provider.py +4 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/parser.py +12 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/prometheus/provider.py +4 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/publisher/fake.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/publisher/producer.py +20 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/publisher/specification.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/publisher/usecase.py +8 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/schemas/js_stream.py +1 -1
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/schemas/kv_watch.py +1 -1
- faststream-0.7.7/faststream/nats/security.py +470 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/subscriber/adapters.py +4 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/subscriber/specification.py +4 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/subscriber/state.py +10 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/subscriber/usecases/basic.py +8 -1
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/subscriber/usecases/core_subscriber.py +4 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/subscriber/usecases/key_value_subscriber.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/subscriber/usecases/object_storage_subscriber.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/subscriber/usecases/stream_basic.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/subscriber/usecases/stream_pull_subscriber.py +6 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/subscriber/usecases/stream_push_subscriber.py +4 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/opentelemetry/consts.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/opentelemetry/middleware.py +10 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/opentelemetry/provider.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/prometheus/middleware.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/prometheus/provider.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/broker/logging.py +5 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/broker/router.py +14 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/helpers/channel_manager.py +4 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/helpers/declarer.py +5 -1
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/helpers/state.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/parser.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/publisher/fake.py +6 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/publisher/producer.py +24 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/publisher/specification.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/publisher/usecase.py +11 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/schemas/exchange.py +1 -1
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/schemas/queue.py +1 -1
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/security.py +1 -1
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/subscriber/specification.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/subscriber/usecase.py +10 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/broker/logging.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/broker/router.py +17 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/configs/state.py +23 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/parser/binary.py +9 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/parser/parsers.py +17 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/prometheus/provider.py +4 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/publisher/fake.py +5 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/publisher/producer.py +12 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/publisher/specification.py +8 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/publisher/usecase.py +15 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/schemas/list_sub.py +1 -3
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/schemas/pub_sub.py +0 -1
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/schemas/stream_sub.py +0 -1
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/subscriber/specification.py +8 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/subscriber/usecases/basic.py +4 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/subscriber/usecases/channel_subscriber.py +4 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/subscriber/usecases/list_subscriber.py +11 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/subscriber/usecases/stream_subscriber.py +15 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/security.py +4 -8
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/factory.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/base/generator.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/base/specification.py +2 -0
- {faststream-0.7.6 → faststream-0.7.7}/pyproject.toml +202 -6
- faststream-0.7.6/faststream/nats/security.py +0 -28
- {faststream-0.7.6 → faststream-0.7.7}/LICENSE +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/__about__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/__main__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/_compat.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/broker/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/broker/pub_base.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/cli/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/cli/docs.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/cli/main.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/cli/options.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/cli/supervisors/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/cli/utils/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/cli/utils/errors.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/cli/utils/imports.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/cli/utils/logs.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/cli/utils/parser.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/configs/endpoint.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/configs/specification.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/context/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/context/composition.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/context/context_type.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/context/repository.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/context/resolve.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/di/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/endpoint/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/endpoint/call_wrapper.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/endpoint/publisher/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/endpoint/subscriber/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/endpoint/subscriber/call_item.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/endpoint/subscriber/supervisor.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/fastapi/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/fastapi/context.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/fastapi/route.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/kafka/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/kafka/keys.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/logger/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/logger/formatter.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/logger/logging.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/testing/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/testing/app.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/testing/ast.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/testing/broker.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/testing/calls.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/utils/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/utils/data.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/annotations.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/app.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/asgi/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/asgi/annotations.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/asgi/app.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/asgi/factories/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/asgi/factories/asyncapi/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/asgi/factories/asyncapi/docs.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/asgi/factories/asyncapi/route.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/asgi/factories/asyncapi/try_it_out.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/asgi/factories/ping.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/asgi/handlers.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/asgi/params.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/asgi/request.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/asgi/response.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/asgi/types.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/asgi/websocket.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/cli.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/annotations.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/broker/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/broker/broker.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/broker/registrator.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/configs/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/configs/broker.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/fastapi/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/fastapi/fastapi.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/helpers/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/message.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/opentelemetry/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/opentelemetry/middleware.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/prometheus/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/prometheus/middleware.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/publisher/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/publisher/config.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/publisher/factory.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/response.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/schemas/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/schemas/partition.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/security.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/subscriber/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/subscriber/config.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/subscriber/factory.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/testing.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/confluent/types.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/context.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/annotations.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/broker/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/broker/broker.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/broker/registrator.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/configs/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/configs/broker.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/exceptions.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/fastapi/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/fastapi/fastapi.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/helpers/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/helpers/rebalance_listener.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/message.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/opentelemetry/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/opentelemetry/middleware.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/prometheus/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/prometheus/middleware.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/publisher/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/publisher/config.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/publisher/factory.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/response.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/schemas/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/schemas/params.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/schemas/partition.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/security.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/subscriber/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/subscriber/config.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/subscriber/factory.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/testing.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/kafka/types.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/message/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/message/message.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/message/source_type.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/message/utils.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/middlewares/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/middlewares/acknowledgement/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/middlewares/acknowledgement/config.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/annotations.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/broker/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/broker/broker.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/broker/config.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/broker/registrator.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/fastapi/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/fastapi/fastapi.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/message.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/opentelemetry/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/opentelemetry/middleware.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/opentelemetry/provider.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/path.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/prometheus/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/prometheus/middleware.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/prometheus/provider.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/publisher/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/publisher/config.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/publisher/factory.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/response.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/security.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/subscriber/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/subscriber/config.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/subscriber/factory.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/testing.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/mqtt/utils.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/annotations.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/broker/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/configs/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/configs/broker.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/fastapi/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/fastapi/fastapi.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/helpers/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/helpers/stream_builder.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/message.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/opentelemetry/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/opentelemetry/middleware.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/prometheus/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/prometheus/middleware.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/publisher/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/publisher/config.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/publisher/factory.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/response.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/schemas/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/schemas/obj_watch.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/schemas/pull_sub.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/schemas/schedule.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/subscriber/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/subscriber/config.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/subscriber/factory.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/subscriber/usecases/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/nats/testing.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/opentelemetry/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/opentelemetry/annotations.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/opentelemetry/baggage.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/params/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/params/no_cast.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/params/params.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/prometheus/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/prometheus/consts.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/prometheus/container.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/prometheus/manager.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/prometheus/types.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/py.typed +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/annotations.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/broker/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/broker/broker.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/broker/registrator.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/configs/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/configs/base.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/configs/broker.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/fastapi/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/fastapi/fastapi.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/helpers/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/message.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/opentelemetry/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/opentelemetry/middleware.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/opentelemetry/provider.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/prometheus/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/prometheus/middleware.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/prometheus/provider.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/publisher/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/publisher/config.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/publisher/factory.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/publisher/options.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/response.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/schemas/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/schemas/channel.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/schemas/constants.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/subscriber/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/subscriber/config.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/subscriber/factory.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/testing.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/types.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/rabbit/utils.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/_compat.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/annotations.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/broker/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/broker/broker.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/broker/cluster_broker.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/broker/registrator.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/broker/sentinel_broker.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/configs/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/configs/broker.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/exceptions.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/fastapi/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/fastapi/fastapi.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/message.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/opentelemetry/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/opentelemetry/middleware.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/opentelemetry/provider.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/parser/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/parser/message.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/prometheus/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/prometheus/middleware.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/publisher/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/publisher/config.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/publisher/factory.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/response.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/schemas/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/schemas/proto.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/schemas/types.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/security.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/subscriber/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/subscriber/config.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/subscriber/factory.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/subscriber/usecases/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/redis/testing.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/response/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/response/publish_type.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/response/response.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/response/utils.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/message.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/site.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/utils.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/generate.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/bindings/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/bindings/amqp/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/bindings/amqp/channel.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/bindings/amqp/operation.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/bindings/http/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/bindings/http/operation.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/bindings/kafka/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/bindings/kafka/channel.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/bindings/kafka/operation.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/bindings/main/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/bindings/main/channel.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/bindings/main/operation.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/bindings/mqtt/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/bindings/mqtt/channel.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/bindings/mqtt/operation.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/bindings/nats/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/bindings/nats/channel.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/bindings/nats/operation.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/bindings/redis/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/bindings/redis/channel.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/bindings/redis/operation.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/bindings/sqs/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/bindings/sqs/channel.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/bindings/sqs/operation.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/channels.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/components.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/contact.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/docs.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/info.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/license.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/message.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/operations.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/schema.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/servers.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/tag.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v2_6_0/schema/utils.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/generate.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/schema/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/schema/bindings/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/schema/bindings/amqp/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/schema/bindings/amqp/channel.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/schema/bindings/amqp/operation.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/schema/bindings/http.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/schema/bindings/kafka.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/schema/bindings/main/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/schema/bindings/main/channel.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/schema/bindings/main/operation.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/schema/bindings/mqtt.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/schema/bindings/nats.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/schema/bindings/redis.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/schema/bindings/sqs.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/schema/channels.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/schema/components.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/schema/contact.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/schema/docs.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/schema/info.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/schema/license.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/schema/message.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/schema/operations.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/schema/schema.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/schema/servers.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/schema/tag.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/asyncapi/v3_0_0/schema/utils.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/base/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/base/info.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/base/schema.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/schema/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/schema/bindings/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/schema/bindings/amqp.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/schema/bindings/http.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/schema/bindings/kafka.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/schema/bindings/main.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/schema/bindings/mqtt.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/schema/bindings/nats.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/schema/bindings/redis.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/schema/bindings/sqs.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/schema/broker.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/schema/extra/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/schema/extra/contact.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/schema/extra/external_docs.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/schema/extra/license.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/schema/extra/tag.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/schema/message/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/schema/message/model.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/schema/operation/__init__.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/schema/operation/model.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/schema/publisher.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/specification/schema/subscriber.py +0 -0
- {faststream-0.7.6 → faststream-0.7.7}/faststream/types.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: faststream
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.7
|
|
4
4
|
Summary: A thin, typed Python client for Kafka, RabbitMQ, NATS, Redis and MQTT — with AsyncAPI docs and in-memory testing.
|
|
5
5
|
Keywords: rabbitmq,kafka,nats,redis,mqtt,asyncapi,framework,message brokers
|
|
6
6
|
Author: AG2AI, Nikita Pastukhov
|
|
@@ -43,7 +43,7 @@ Requires-Dist: confluent-kafka>=2,!=2.8.1,<3 ; python_full_version < '3.13' and
|
|
|
43
43
|
Requires-Dist: confluent-kafka>=2.6,!=2.8.1,<3 ; python_full_version >= '3.13' and extra == 'confluent'
|
|
44
44
|
Requires-Dist: aiokafka>=0.9,<0.15 ; extra == 'kafka'
|
|
45
45
|
Requires-Dist: zmqtt>=0.2.0,<0.3.0 ; extra == 'mqtt'
|
|
46
|
-
Requires-Dist: nats-py>=2.
|
|
46
|
+
Requires-Dist: nats-py>=2.14.0,<=3.0.0 ; extra == 'nats'
|
|
47
47
|
Requires-Dist: opentelemetry-sdk>=1.24.0,<2.0.0 ; extra == 'otel'
|
|
48
48
|
Requires-Dist: prometheus-client>=0.20.0,<0.30.0 ; extra == 'prometheus'
|
|
49
49
|
Requires-Dist: aio-pika>=9,<11 ; extra == 'rabbit'
|
|
@@ -109,7 +109,7 @@ Making streaming microservices has never been easier. The API is small enough to
|
|
|
109
109
|
|
|
110
110
|
- [**Your Broker, In Full**](#your-broker-in-full): **FastStream** is a client for *your* broker, not a layer above all of them — [**Kafka**](https://kafka.apache.org/) consumer groups and partitioning, [**RabbitMQ**](https://www.rabbitmq.com/) exchanges and DLQ, [**NATS**](https://nats.io/) JetStream and KeyValue, [**Redis**](https://redis.io/) Streams, [**MQTT**](https://mqtt.org/) QoS. Five first-class clients that happen to share their ergonomics.
|
|
111
111
|
|
|
112
|
-
- [**Built-in Serialization**](#writing-app-code): Leverage [**Pydantic**](https://docs.pydantic.dev/) or [**Msgspec**](https://
|
|
112
|
+
- [**Built-in Serialization**](#writing-app-code): Leverage [**Pydantic**](https://docs.pydantic.dev/) or [**Msgspec**](https://msgspec.dev/) validation capabilities to serialize and validate incoming messages
|
|
113
113
|
|
|
114
114
|
- [**Powerful Dependency Injection System**](#dependencies): Manage your service dependencies efficiently with **FastStream**'s built-in DI system
|
|
115
115
|
|
|
@@ -264,7 +264,7 @@ pip install pydantic==1.X.Y
|
|
|
264
264
|
|
|
265
265
|
### Msgspec serialization
|
|
266
266
|
|
|
267
|
-
Moreover, **FastStream** is not tied to any specific serialization library, so you can use any preferred one. Fortunately, we provide a built‑in alternative for the most popular **Pydantic** replacement - [**Msgspec**](https://
|
|
267
|
+
Moreover, **FastStream** is not tied to any specific serialization library, so you can use any preferred one. Fortunately, we provide a built‑in alternative for the most popular **Pydantic** replacement - [**Msgspec**](https://msgspec.dev/).
|
|
268
268
|
|
|
269
269
|
```python
|
|
270
270
|
from fast_depends.msgspec import MsgSpecSerializer
|
|
@@ -42,7 +42,7 @@ Making streaming microservices has never been easier. The API is small enough to
|
|
|
42
42
|
|
|
43
43
|
- [**Your Broker, In Full**](#your-broker-in-full): **FastStream** is a client for *your* broker, not a layer above all of them — [**Kafka**](https://kafka.apache.org/) consumer groups and partitioning, [**RabbitMQ**](https://www.rabbitmq.com/) exchanges and DLQ, [**NATS**](https://nats.io/) JetStream and KeyValue, [**Redis**](https://redis.io/) Streams, [**MQTT**](https://mqtt.org/) QoS. Five first-class clients that happen to share their ergonomics.
|
|
44
44
|
|
|
45
|
-
- [**Built-in Serialization**](#writing-app-code): Leverage [**Pydantic**](https://docs.pydantic.dev/) or [**Msgspec**](https://
|
|
45
|
+
- [**Built-in Serialization**](#writing-app-code): Leverage [**Pydantic**](https://docs.pydantic.dev/) or [**Msgspec**](https://msgspec.dev/) validation capabilities to serialize and validate incoming messages
|
|
46
46
|
|
|
47
47
|
- [**Powerful Dependency Injection System**](#dependencies): Manage your service dependencies efficiently with **FastStream**'s built-in DI system
|
|
48
48
|
|
|
@@ -197,7 +197,7 @@ pip install pydantic==1.X.Y
|
|
|
197
197
|
|
|
198
198
|
### Msgspec serialization
|
|
199
199
|
|
|
200
|
-
Moreover, **FastStream** is not tied to any specific serialization library, so you can use any preferred one. Fortunately, we provide a built‑in alternative for the most popular **Pydantic** replacement - [**Msgspec**](https://
|
|
200
|
+
Moreover, **FastStream** is not tied to any specific serialization library, so you can use any preferred one. Fortunately, we provide a built‑in alternative for the most popular **Pydantic** replacement - [**Msgspec**](https://msgspec.dev/).
|
|
201
201
|
|
|
202
202
|
```python
|
|
203
203
|
from fast_depends.msgspec import MsgSpecSerializer
|
|
@@ -59,6 +59,12 @@ T_HookReturn = TypeVar("T_HookReturn")
|
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
class StartAbleApplication:
|
|
62
|
+
__slots__ = (
|
|
63
|
+
"brokers",
|
|
64
|
+
"config",
|
|
65
|
+
"schema",
|
|
66
|
+
)
|
|
67
|
+
|
|
62
68
|
def __init__(
|
|
63
69
|
self,
|
|
64
70
|
*brokers: "BrokerUsecase[Any, Any, Any]",
|
|
@@ -120,6 +126,12 @@ class StartAbleApplication:
|
|
|
120
126
|
|
|
121
127
|
|
|
122
128
|
class Application(StartAbleApplication):
|
|
129
|
+
"""Unslotted on purpose: an application object is the user's own.
|
|
130
|
+
|
|
131
|
+
One exists per process, so slots would save nothing, and user code and our own
|
|
132
|
+
CLI tests assign to it (`app.run` is patched in `tests/cli/test_logs.py`).
|
|
133
|
+
"""
|
|
134
|
+
|
|
123
135
|
def __init__(
|
|
124
136
|
self,
|
|
125
137
|
*brokers: "BrokerUsecase[Any, Any, Any]",
|
|
@@ -43,6 +43,8 @@ SendableTable: TypeAlias = dict[str, "BaseSendableMessage"]
|
|
|
43
43
|
class StandardDataclass(Protocol):
|
|
44
44
|
"""Protocol to check type is dataclass."""
|
|
45
45
|
|
|
46
|
+
__slots__ = ()
|
|
47
|
+
|
|
46
48
|
__dataclass_fields__: ClassVar[dict[str, Any]]
|
|
47
49
|
|
|
48
50
|
|
|
@@ -87,6 +89,8 @@ Lifespan: TypeAlias = Callable[..., AbstractAsyncContextManager[None]]
|
|
|
87
89
|
|
|
88
90
|
|
|
89
91
|
class LoggerProto(Protocol):
|
|
92
|
+
__slots__ = ()
|
|
93
|
+
|
|
90
94
|
def log(
|
|
91
95
|
self,
|
|
92
96
|
level: int,
|
|
@@ -5,7 +5,7 @@ from typing import TYPE_CHECKING, Any, Generic, Optional
|
|
|
5
5
|
from fast_depends import Provider
|
|
6
6
|
from typing_extensions import Self
|
|
7
7
|
|
|
8
|
-
from faststream._internal.configs import
|
|
8
|
+
from faststream._internal.configs import BrokerConfigType_co
|
|
9
9
|
from faststream._internal.types import (
|
|
10
10
|
BrokerMiddleware,
|
|
11
11
|
ConnectionType,
|
|
@@ -25,13 +25,16 @@ if TYPE_CHECKING:
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
class BrokerUsecase(
|
|
28
|
-
Registrator[MsgType,
|
|
28
|
+
Registrator[MsgType, BrokerConfigType_co],
|
|
29
29
|
BrokerPublishMixin[MsgType],
|
|
30
|
-
Generic[MsgType, ConnectionType,
|
|
30
|
+
Generic[MsgType, ConnectionType, BrokerConfigType_co],
|
|
31
31
|
):
|
|
32
32
|
"""Basic class for brokers-only.
|
|
33
33
|
|
|
34
34
|
Extends `Registrator` by connection, publish and AsyncAPI behavior.
|
|
35
|
+
|
|
36
|
+
Unslotted on purpose: one broker exists per process, and it is the object test
|
|
37
|
+
suites mock — `patch.object(broker, "start")` needs somewhere to put the mock.
|
|
35
38
|
"""
|
|
36
39
|
|
|
37
40
|
_connection: ConnectionType | None
|
|
@@ -39,7 +42,7 @@ class BrokerUsecase(
|
|
|
39
42
|
def __init__(
|
|
40
43
|
self,
|
|
41
44
|
*,
|
|
42
|
-
config:
|
|
45
|
+
config: BrokerConfigType_co,
|
|
43
46
|
specification: "BrokerSpec",
|
|
44
47
|
routers: Iterable[Registrator[Any, Any]],
|
|
45
48
|
**connection_kwargs: Any,
|
|
@@ -3,7 +3,11 @@ from collections.abc import Iterable, Sequence
|
|
|
3
3
|
from typing import TYPE_CHECKING, Any, Generic
|
|
4
4
|
from weakref import WeakSet
|
|
5
5
|
|
|
6
|
-
from faststream._internal.configs import
|
|
6
|
+
from faststream._internal.configs import (
|
|
7
|
+
BrokerConfig,
|
|
8
|
+
BrokerConfigType_co,
|
|
9
|
+
ConfigComposition,
|
|
10
|
+
)
|
|
7
11
|
from faststream._internal.types import BrokerMiddleware, MsgType
|
|
8
12
|
|
|
9
13
|
if TYPE_CHECKING:
|
|
@@ -13,7 +17,7 @@ if TYPE_CHECKING:
|
|
|
13
17
|
from faststream._internal.endpoint.subscriber import SubscriberUsecase
|
|
14
18
|
|
|
15
19
|
|
|
16
|
-
class Registrator(Generic[MsgType,
|
|
20
|
+
class Registrator(Generic[MsgType, BrokerConfigType_co]):
|
|
17
21
|
"""Basic class for brokers and routers.
|
|
18
22
|
|
|
19
23
|
Contains subscribers & publishers registration logic only.
|
|
@@ -22,13 +26,13 @@ class Registrator(Generic[MsgType, BrokerConfigType]):
|
|
|
22
26
|
def __init__(
|
|
23
27
|
self,
|
|
24
28
|
*,
|
|
25
|
-
config:
|
|
29
|
+
config: BrokerConfigType_co,
|
|
26
30
|
routers: Iterable["Registrator[MsgType]"],
|
|
27
31
|
) -> None:
|
|
28
32
|
self._parser = config.broker_parser
|
|
29
33
|
self._decoder = config.broker_decoder
|
|
30
34
|
|
|
31
|
-
self.config: ConfigComposition[
|
|
35
|
+
self.config: ConfigComposition[BrokerConfigType_co] = ConfigComposition(config)
|
|
32
36
|
|
|
33
37
|
self._subscribers: WeakSet[SubscriberUsecase[MsgType]] = WeakSet()
|
|
34
38
|
self._publishers: WeakSet[PublisherUsecase] = WeakSet()
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from collections.abc import Callable, Iterable
|
|
2
2
|
from typing import Any
|
|
3
3
|
|
|
4
|
-
from faststream._internal.configs import
|
|
4
|
+
from faststream._internal.configs import BrokerConfigType_co
|
|
5
5
|
from faststream._internal.types import MsgType
|
|
6
6
|
|
|
7
7
|
from .registrator import Registrator
|
|
@@ -46,13 +46,13 @@ class SubscriberRoute(ArgsContainer):
|
|
|
46
46
|
super().__init__(*args, **kwargs)
|
|
47
47
|
|
|
48
48
|
|
|
49
|
-
class BrokerRouter(Registrator[MsgType,
|
|
49
|
+
class BrokerRouter(Registrator[MsgType, BrokerConfigType_co]):
|
|
50
50
|
"""A generic class representing a broker router."""
|
|
51
51
|
|
|
52
52
|
def __init__(
|
|
53
53
|
self,
|
|
54
54
|
*,
|
|
55
|
-
config:
|
|
55
|
+
config: BrokerConfigType_co,
|
|
56
56
|
handlers: Iterable[SubscriberRoute],
|
|
57
57
|
routers: Iterable["Registrator[Any, Any]"],
|
|
58
58
|
) -> None:
|
|
@@ -17,6 +17,15 @@ if TYPE_CHECKING:
|
|
|
17
17
|
class BaseReload:
|
|
18
18
|
"""A base class for implementing a reloader process."""
|
|
19
19
|
|
|
20
|
+
__slots__ = (
|
|
21
|
+
"_args",
|
|
22
|
+
"_process",
|
|
23
|
+
"_target",
|
|
24
|
+
"pid",
|
|
25
|
+
"reload_delay",
|
|
26
|
+
"should_exit",
|
|
27
|
+
)
|
|
28
|
+
|
|
20
29
|
_process: SpawnProcess
|
|
21
30
|
|
|
22
31
|
reload_delay: float | None
|
|
@@ -36,6 +36,12 @@ class ExtendedFilter(watchfiles.PythonFilter):
|
|
|
36
36
|
class WatchReloader(BaseReload):
|
|
37
37
|
"""A class to reload a target function when files in specified directories change."""
|
|
38
38
|
|
|
39
|
+
__slots__ = (
|
|
40
|
+
"reload_dirs",
|
|
41
|
+
"reloader_name",
|
|
42
|
+
"watcher",
|
|
43
|
+
)
|
|
44
|
+
|
|
39
45
|
def __init__(
|
|
40
46
|
self,
|
|
41
47
|
target: "RunFunction",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from .broker import BrokerConfig,
|
|
1
|
+
from .broker import BrokerConfig, BrokerConfigType_co, ConfigComposition
|
|
2
2
|
from .endpoint import PublisherUsecaseConfig, SubscriberUsecaseConfig
|
|
3
3
|
from .specification import (
|
|
4
4
|
PublisherSpecificationConfig,
|
|
@@ -7,7 +7,7 @@ from .specification import (
|
|
|
7
7
|
|
|
8
8
|
__all__ = (
|
|
9
9
|
"BrokerConfig",
|
|
10
|
-
"
|
|
10
|
+
"BrokerConfigType_co",
|
|
11
11
|
"ConfigComposition",
|
|
12
12
|
"PublisherSpecificationConfig",
|
|
13
13
|
"PublisherUsecaseConfig",
|
|
@@ -67,28 +67,29 @@ class BrokerConfig:
|
|
|
67
67
|
self.broker_middlewares = (middleware, *self.broker_middlewares)
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
"
|
|
70
|
+
BrokerConfigType_co = TypeVar313(
|
|
71
|
+
"BrokerConfigType_co",
|
|
72
72
|
bound=BrokerConfig,
|
|
73
73
|
default=BrokerConfig,
|
|
74
|
+
covariant=True,
|
|
74
75
|
)
|
|
75
76
|
|
|
76
|
-
ConfigType = Union["ConfigComposition[Any]", "
|
|
77
|
+
ConfigType = Union["ConfigComposition[Any]", "BrokerConfigType_co", BrokerConfig]
|
|
77
78
|
|
|
78
79
|
|
|
79
|
-
class ConfigComposition(Generic[
|
|
80
|
-
def __init__(self, config:
|
|
81
|
-
self.configs: tuple[ConfigType, ...] = (config,)
|
|
80
|
+
class ConfigComposition(Generic[BrokerConfigType_co]): # noqa: PLR0904
|
|
81
|
+
def __init__(self, config: BrokerConfigType_co) -> None:
|
|
82
|
+
self.configs: tuple[ConfigType[BrokerConfigType_co], ...] = (config,)
|
|
82
83
|
|
|
83
84
|
@property
|
|
84
|
-
def broker_config(self) -> "
|
|
85
|
+
def broker_config(self) -> "BrokerConfigType_co":
|
|
85
86
|
assert self.configs
|
|
86
87
|
return self.configs[0] # type: ignore[return-value]
|
|
87
88
|
|
|
88
89
|
def __repr__(self) -> str:
|
|
89
90
|
return f"{self.__class__.__name__}({', '.join(repr(c) for c in self.configs)})"
|
|
90
91
|
|
|
91
|
-
def add_config(self, config: "ConfigType") -> None:
|
|
92
|
+
def add_config(self, config: "ConfigType[BrokerConfigType_co]") -> None:
|
|
92
93
|
self.configs = (config, *self.configs)
|
|
93
94
|
|
|
94
95
|
def reset(self) -> None:
|
|
@@ -21,14 +21,14 @@ if TYPE_CHECKING:
|
|
|
21
21
|
from faststream.message import StreamMessage
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
@dataclass(kw_only=True)
|
|
24
|
+
@dataclass(kw_only=True, slots=True)
|
|
25
25
|
class BuiltDependant:
|
|
26
26
|
original_call: Callable[..., Any]
|
|
27
27
|
wrapped_call: Callable[..., Any]
|
|
28
28
|
dependent: "CallModel"
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
@dataclass(kw_only=True)
|
|
31
|
+
@dataclass(kw_only=True, slots=True)
|
|
32
32
|
class FastDependsConfig:
|
|
33
33
|
use_fastdepends: bool = True
|
|
34
34
|
|
{faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/endpoint/publisher/specification.py
RENAMED
|
@@ -26,6 +26,8 @@ T_BrokerConfig = TypeVar313("T_BrokerConfig", bound=BrokerConfig, default=Broker
|
|
|
26
26
|
class PublisherSpecification(
|
|
27
27
|
EndpointSpecification[T_BrokerConfig, T_SpecificationConfig],
|
|
28
28
|
):
|
|
29
|
+
__slots__ = ("calls",)
|
|
30
|
+
|
|
29
31
|
def __init__(
|
|
30
32
|
self,
|
|
31
33
|
_outer_config: "T_BrokerConfig",
|
|
@@ -34,6 +34,13 @@ if TYPE_CHECKING:
|
|
|
34
34
|
class PublisherUsecase(CallAssertions, Endpoint, PublisherProto):
|
|
35
35
|
"""A base class for publishers in an asynchronous API."""
|
|
36
36
|
|
|
37
|
+
__slots__ = (
|
|
38
|
+
"_fake_handler",
|
|
39
|
+
"_recorder",
|
|
40
|
+
"is_test",
|
|
41
|
+
"specification",
|
|
42
|
+
)
|
|
43
|
+
|
|
37
44
|
def __init__(
|
|
38
45
|
self,
|
|
39
46
|
config: "PublisherUsecaseConfig",
|
|
@@ -15,6 +15,8 @@ if TYPE_CHECKING:
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
class TasksMixin(SubscriberUsecase[Any]):
|
|
18
|
+
__slots__ = ("tasks",)
|
|
19
|
+
|
|
18
20
|
def __init__(self, *args: Any, **kwargs: Any) -> None:
|
|
19
21
|
super().__init__(*args, **kwargs)
|
|
20
22
|
self.tasks: list[asyncio.Task[Any]] = []
|
|
@@ -52,6 +54,12 @@ class TasksMixin(SubscriberUsecase[Any]):
|
|
|
52
54
|
|
|
53
55
|
|
|
54
56
|
class ConcurrentMixin(TasksMixin, Generic[MsgType]):
|
|
57
|
+
"""Unslotted on purpose.
|
|
58
|
+
|
|
59
|
+
Every `Concurrent<X>Subscriber` mixes this into a broker's own slotted
|
|
60
|
+
subscriber, and two slotted bases under one `SubscriberUsecase` conflict.
|
|
61
|
+
"""
|
|
62
|
+
|
|
55
63
|
send_stream: "MemoryObjectSendStream[MsgType]"
|
|
56
64
|
receive_stream: "MemoryObjectReceiveStream[MsgType]"
|
|
57
65
|
|
{faststream-0.7.6 → faststream-0.7.7}/faststream/_internal/endpoint/subscriber/specification.py
RENAMED
|
@@ -29,6 +29,8 @@ T_BrokerConfig = TypeVar313("T_BrokerConfig", bound=BrokerConfig, default=Broker
|
|
|
29
29
|
class SubscriberSpecification(
|
|
30
30
|
EndpointSpecification[T_BrokerConfig, T_SpecificationConfig],
|
|
31
31
|
):
|
|
32
|
+
__slots__ = ("calls",)
|
|
33
|
+
|
|
32
34
|
def __init__(
|
|
33
35
|
self,
|
|
34
36
|
_outer_config: "T_BrokerConfig",
|
|
@@ -68,6 +68,21 @@ class _CallOptions(NamedTuple):
|
|
|
68
68
|
class SubscriberUsecase(Endpoint, Generic[MsgType]):
|
|
69
69
|
"""A class representing an asynchronous handler."""
|
|
70
70
|
|
|
71
|
+
__slots__ = (
|
|
72
|
+
"__auto_ack_disabled",
|
|
73
|
+
"_call_decorators",
|
|
74
|
+
"_call_options",
|
|
75
|
+
"_decoder",
|
|
76
|
+
"_no_reply",
|
|
77
|
+
"_parser",
|
|
78
|
+
"ack_policy",
|
|
79
|
+
"calls",
|
|
80
|
+
"extra_watcher_options",
|
|
81
|
+
"lock",
|
|
82
|
+
"running",
|
|
83
|
+
"specification",
|
|
84
|
+
)
|
|
85
|
+
|
|
71
86
|
lock: "AbstractContextManager[Any]"
|
|
72
87
|
extra_watcher_options: dict[str, Any]
|
|
73
88
|
graceful_timeout: float | None
|
|
@@ -13,6 +13,11 @@ if TYPE_CHECKING:
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
class Endpoint:
|
|
16
|
+
# Subscribers and publishers keep a `__dict__`: users patch their methods on the
|
|
17
|
+
# instance in tests (`patch.object(publisher, "publish")`), and there are only a
|
|
18
|
+
# few per application. `Registrator` holds them in a WeakSet, hence `__weakref__`.
|
|
19
|
+
__slots__ = ("__dict__", "__weakref__", "_outer_config")
|
|
20
|
+
|
|
16
21
|
def __init__(self, config: "BrokerConfig") -> None:
|
|
17
22
|
self._outer_config = config
|
|
18
23
|
|
|
@@ -25,6 +25,8 @@ if TYPE_CHECKING:
|
|
|
25
25
|
class _FastStreamDependant(Dependant):
|
|
26
26
|
"""FastAPI dependant extended with fields required by FastStream."""
|
|
27
27
|
|
|
28
|
+
__slots__ = ("custom_fields", "flat_params", "model")
|
|
29
|
+
|
|
28
30
|
model: type[Any]
|
|
29
31
|
custom_fields: dict[str, Any]
|
|
30
32
|
flat_params: list[OptionItem]
|
|
@@ -9,6 +9,8 @@ from faststream.exceptions import IncorrectState
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class LoggerObject(LoggerProto):
|
|
12
|
+
__slots__ = ()
|
|
13
|
+
|
|
12
14
|
logger: Optional["LoggerProto"]
|
|
13
15
|
|
|
14
16
|
@abstractmethod
|
|
@@ -21,6 +23,8 @@ class NotSetLoggerObject(LoggerObject):
|
|
|
21
23
|
Raises an error if user tries to log smth before state setup.
|
|
22
24
|
"""
|
|
23
25
|
|
|
26
|
+
__slots__ = ("logger",)
|
|
27
|
+
|
|
24
28
|
def __init__(self) -> None:
|
|
25
29
|
self.logger = None
|
|
26
30
|
|
|
@@ -53,6 +57,8 @@ class EmptyLoggerObject(LoggerObject):
|
|
|
53
57
|
Will be used if user setup `logger=None`.
|
|
54
58
|
"""
|
|
55
59
|
|
|
60
|
+
__slots__ = ("logger",)
|
|
61
|
+
|
|
56
62
|
def __init__(self) -> None:
|
|
57
63
|
self.logger = None
|
|
58
64
|
|
|
@@ -81,6 +87,8 @@ class RealLoggerObject(LoggerObject):
|
|
|
81
87
|
or in default logger case (.params_storage.DefaultLoggerStorage).
|
|
82
88
|
"""
|
|
83
89
|
|
|
90
|
+
__slots__ = ("logger",)
|
|
91
|
+
|
|
84
92
|
logger: "LoggerProto"
|
|
85
93
|
|
|
86
94
|
def __init__(self, logger: "LoggerProto") -> None:
|
|
@@ -23,6 +23,8 @@ def make_logger_storage(
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
class LoggerParamsStorage(Protocol):
|
|
26
|
+
__slots__ = ()
|
|
27
|
+
|
|
26
28
|
def register_subscriber(self, params: dict[str, Any]) -> None: ...
|
|
27
29
|
|
|
28
30
|
def get_logger(self, *, context: "ContextRepo") -> Optional["LoggerProto"]: ...
|
|
@@ -31,6 +33,8 @@ class LoggerParamsStorage(Protocol):
|
|
|
31
33
|
|
|
32
34
|
|
|
33
35
|
class EmptyLoggerStorage(LoggerParamsStorage):
|
|
36
|
+
__slots__ = ()
|
|
37
|
+
|
|
34
38
|
def register_subscriber(self, params: dict[str, Any]) -> None:
|
|
35
39
|
pass
|
|
36
40
|
|
|
@@ -43,6 +47,8 @@ class EmptyLoggerStorage(LoggerParamsStorage):
|
|
|
43
47
|
|
|
44
48
|
|
|
45
49
|
class ManualLoggerStorage(LoggerParamsStorage):
|
|
50
|
+
__slots__ = ("__logger",)
|
|
51
|
+
|
|
46
52
|
def __init__(self, logger: "LoggerProto") -> None:
|
|
47
53
|
self.__logger = logger
|
|
48
54
|
|
|
@@ -58,6 +64,11 @@ class ManualLoggerStorage(LoggerParamsStorage):
|
|
|
58
64
|
|
|
59
65
|
|
|
60
66
|
class DefaultLoggerStorage(LoggerParamsStorage):
|
|
67
|
+
__slots__ = (
|
|
68
|
+
"_logger_ref",
|
|
69
|
+
"logger_log_level",
|
|
70
|
+
)
|
|
71
|
+
|
|
61
72
|
def __init__(self) -> None:
|
|
62
73
|
# will be used to build logger in `get_logger` method
|
|
63
74
|
self.logger_log_level = logging.INFO
|