Arm Mbed OS support forum

ImportError: cannot import name 'FileType'

Recently I updated mbed-os 5.9.7 to 5.11.5. After that getting copiler error “ImportError: cannot import name ‘FileType’” .
from tools.resources import FileType


both versions are old and are not supported any more.
I tried to import it in to the online compiler via a link, see below, and it seems to be OK.
Merge pull request #9805 from ARMmbed/release-candidate · ARMmbed/mbed-os@51d5550 · GitHub

BR ,Jan