This re-allows parsing partial descriptors, which had previously been allowed until 7672fb522182dabe6afa71a1ee2653a792507359.
With this, whenever a descriptor format is created with DescriptorFormat(), it will automatically create a version of that format that supports parsing incomplete data as the attribute .Partial. So DeviceDescriptor.Partial is a copy of the device descriptor DescriptorFormat that supports partial parsing. These partial versions are re-exported in the types.descriptors.partial module.
This re-allows parsing partial descriptors, which had previously been allowed until 7672fb522182dabe6afa71a1ee2653a792507359.
With this, whenever a descriptor format is created with
DescriptorFormat()
, it will automatically create a version of that format that supports parsing incomplete data as the attribute.Partial
. SoDeviceDescriptor.Partial
is a copy of the device descriptorDescriptorFormat
that supports partial parsing. These partial versions are re-exported in thetypes.descriptors.partial
module.