OPENSOURCE_FINDINGS_PYTHON Telegram 135
🚀 New issue to ag2ai/faststream by @aleksandrtikhonov
📝 Bug: missing error logs when broker initialize with argument log_level=logging.DEBUG (#2585)

Describe the bug
Missing ERROR logs when broker initialize with argument log_level=logging.DEBUG

How to reproduce
Include source code:

from faststream import FastStream
from faststream.confluent import KafkaBroker, KafkaRouter
from pydantic import BaseModel

broker = KafkaBroker("localhost:9092", log_level=logging.DEBUG)
router = KafkaRouter()
broker.include_router(router)
app = FastStream(broker)


class Suka(BaseModel):
suka_id: int


@router.subscriber("test")
async def suking(suka: Suka) -> None:
print(suka)

1. Send a message to a topic that does not match the expected model Suka.

Expected behavior
See error logs(error pydantic serializtion) in the console

Observed behavior
Error logs are missing.

Environment
faststream-0.6.0

Additional context
Provide any other relevant context or information about the problem here.

#good_first_issue #bug

sent via relator
😁12🗿3🌚2



tgoop.com/opensource_findings_python/135
Create:
Last Update:

🚀 New issue to ag2ai/faststream by @aleksandrtikhonov
📝 Bug: missing error logs when broker initialize with argument log_level=logging.DEBUG (#2585)

Describe the bug
Missing ERROR logs when broker initialize with argument log_level=logging.DEBUG

How to reproduce
Include source code:

from faststream import FastStream
from faststream.confluent import KafkaBroker, KafkaRouter
from pydantic import BaseModel

broker = KafkaBroker("localhost:9092", log_level=logging.DEBUG)
router = KafkaRouter()
broker.include_router(router)
app = FastStream(broker)


class Suka(BaseModel):
suka_id: int


@router.subscriber("test")
async def suking(suka: Suka) -> None:
print(suka)

1. Send a message to a topic that does not match the expected model Suka.

Expected behavior
See error logs(error pydantic serializtion) in the console

Observed behavior
Error logs are missing.

Environment
faststream-0.6.0

Additional context
Provide any other relevant context or information about the problem here.

#good_first_issue #bug

sent via relator

BY Находки в опенсорсе: Python


Share with your friend now:
tgoop.com/opensource_findings_python/135

View MORE
Open in Telegram


Telegram News

Date: |

Telegram users themselves will be able to flag and report potentially false content. More>> In handing down the sentence yesterday, deputy judge Peter Hui Shiu-keung of the district court said that even if Ng did not post the messages, he cannot shirk responsibility as the owner and administrator of such a big group for allowing these messages that incite illegal behaviors to exist. How to Create a Private or Public Channel on Telegram? Select: Settings – Manage Channel – Administrators – Add administrator. From your list of subscribers, select the correct user. A new window will appear on the screen. Check the rights you’re willing to give to your administrator.
from us


Telegram Находки в опенсорсе: Python
FROM American