Description
⚠️ Potential issuePotential issue with
bind_addr
defaulting to anIPv4Address
objectSince
group
is returned as anIPv4Address
object (if not addressed), using it as a default value forbind_addr
may lead to type mismatches. Ensure thatbind_addr
is consistently a string.Apply this diff if
load_group
continues to return anIPv4Address
:-bind_addr = os.getenv("MULTICAST_BIND_ADDR", group) # skipcq: PYL-W1508 +bind_addr = os.getenv("MULTICAST_BIND_ADDR", str(group))
Originally posted by @coderabbitai[bot] in #259 (comment)