Skip to content

Fix deprecation warning#11

Open
iamDrakkir wants to merge 1 commit intoEric-Canas:mainfrom
iamDrakkir:main
Open

Fix deprecation warning#11
iamDrakkir wants to merge 1 commit intoEric-Canas:mainfrom
iamDrakkir:main

Conversation

@iamDrakkir
Copy link

I am getting deprecationWarning from _collections_abc

<frozen _collections_abc>:813: 29 warnings
  <frozen _collections_abc>:813: DeprecationWarning: Will be removed in 1.0. Access properties with Device.properties.

.venv/lib/python3.12/site-packages/usbmonitor/__platform_specific_detectors/_linux_usb_detector.py:38: 13 warnings
  /home/rhagelin.creatorctek.local/git/work/production-flash-station-snap/.venv/lib/python3.12/site-packages/usbmonitor/__platform_specific_detectors/_linux_usb_detector.py:38: DeprecationWarning: Will be removed in 1.0. Access properties with Device.properties.
    device_id = device[DEVNAME]

<frozen _collections_abc>:807: 143 warnings
  <frozen _collections_abc>:807: DeprecationWarning: Will be removed in 1.0. Access properties with Device.properties.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant