Skip to content

Commit 2ac69ff

Browse files
Update rabbitmq_amqp_python_client/entities.py
Co-authored-by: Copilot <[email protected]>
1 parent 404f117 commit 2ac69ff

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

rabbitmq_amqp_python_client/entities.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -345,10 +345,9 @@ def _filter_sql(self, sql: str) -> None:
345345
Args:
346346
sql: SQL string to apply as a filter
347347
"""
348-
if sql != "":
349-
self._filter_set[symbol(SQL_FILTER)] = Described(
350-
symbol(AMQP_SQL_FILTER), sql
351-
)
348+
self._filter_set[symbol(SQL_FILTER)] = Described(
349+
symbol(AMQP_SQL_FILTER), sql
350+
)
352351

353352
def filter_set(self) -> Dict[symbol, Described]:
354353
"""

0 commit comments

Comments
 (0)