def exchange_declare(self, exchange=None,
                         exchange_type='direct', passive=False, durable=False,
                         auto_delete=False, internal=False,
                         arguments=None):
        with _CallbackResult(
            self._MethodFrameCallbackResultArgs) as declare_ok_result:
            self._impl.exchange_declare(
                callback=declare_ok_result.set_value_once,
                exchange=exchange,
                exchange_type=exchange_type,
                passive=passive,
                durable=durable,
                auto_delete=auto_delete,
                internal=internal,
                nowait=False,
                arguments=arguments)

            self._flush_output(declare_ok_result.is_ready)
            return declare_ok_result.value.method_frame
Creates a new file-like object.
dataset/ETHPy150Open pika/pika/pika/adapters/blocking_connection.py/BlockingChannel.exchange_declare--crossover with--dataset/ETHPy150Open log2timeline/dfvfs/dfvfs/resolver/vhdi_resolver_helper.py/VHDIResolverHelper.NewFileObject