def__init__(self,broker:Broker,with_real:bool=False,connect_only:Optional[bool]=None,)->None:"""Initialize a class instance. Args: broker: An instance of the Broker class. with_real: Whether to use a real broker. connect_only: Whether to only connect to the broker. """self.with_real=with_realself.broker=brokerifconnect_onlyisNone:try:connect_only=is_contains_context_name(self.__class__.__name__,TestApp.__name__,)exceptExceptionase:# pragma: no cover# TODO: remove with 0.5.0warnings.warn((f"\nError `{e!r}` occurred at `{self.__class__.__name__}` AST parsing""\nPlease, report us by creating an Issue with your TestClient use case""\nhttps://github.com/airtai/faststream/issues/new?labels=bug&template=bug_report.md&title=Bug:%20TestClient%20AST%20parsing"),category=RuntimeWarning,stacklevel=1,)connect_only=Falseself.connect_only=connect_only