File tree Expand file tree Collapse file tree
src/asyncapi_python/contrib/wire/amqp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -314,7 +314,11 @@ def resolve_routing_key_binding(
314314
315315 # Extract exchange arguments
316316 arguments : dict [str , Any ] = {}
317- if exchange_config and hasattr (exchange_config , "arguments" ) and exchange_config .arguments :
317+ if (
318+ exchange_config
319+ and hasattr (exchange_config , "arguments" )
320+ and exchange_config .arguments
321+ ):
318322 arguments = exchange_config .arguments
319323
320324 # Determine routing key - this is where wildcards are allowed
@@ -383,7 +387,11 @@ def resolve_exchange_binding(
383387
384388 # Extract exchange arguments
385389 arguments : dict [str , Any ] = {}
386- if exchange_config and hasattr (exchange_config , "arguments" ) and exchange_config .arguments :
390+ if (
391+ exchange_config
392+ and hasattr (exchange_config , "arguments" )
393+ and exchange_config .arguments
394+ ):
387395 arguments = exchange_config .arguments
388396
389397 # Extract binding arguments for headers exchange from dataclass
You can’t perform that action at this time.
0 commit comments