Skip to content

Commit 8256986

Browse files
committed
fix: update cython types for ServiceRegistry to resolve native builds
- Fix ServiceRegistry cython type mismatch where record_list was typed as cython.list instead of cython.dict, causing TypeErrors in Linux native cython builds after migrating server and type storage to dicts.
1 parent ed42ffa commit 8256986

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/zeroconf/_services/registry.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ cdef class ServiceRegistry:
1212
cdef public bint has_entries
1313

1414
@cython.locals(
15-
record_list=cython.list,
15+
record_list=cython.dict,
1616
)
1717
cdef cython.list _async_get_by_index(self, cython.dict records, str key)
1818

0 commit comments

Comments
 (0)