Skip to content

Commit 7f2bec6

Browse files
committed
docs: note that assigning text directly does not mark txt as seen
1 parent 6005da0 commit 7f2bec6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎src/zeroconf/_services/info.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,9 @@ class ServiceInfo(RecordUpdateListener):
172172
or in parsed form as text; at most one of those parameters can be provided)
173173
* interface_index: scope_id or zone_id for IPv6 link-local addresses i.e. an identifier of the interface
174174
where the peer is connected to
175+
176+
Assigning the `text` attribute directly does not mark the TXT record as seen; pass `properties`
177+
to the constructor instead.
175178
"""
176179

177180
__slots__ = (

0 commit comments

Comments
 (0)