labelme icon indicating copy to clipboard operation
labelme copied to clipboard

Use standard `types.SimpleNamespace` instead of custom `struct`

Open akx opened this issue 1 year ago • 0 comments

types.SimpleNamespace does what the struct class did, but with a better repr and better IDE etc. support (e.g. PyCharm can infer that the attrs passed into the ctor will be available on the instance).

akx avatar Aug 13 '24 20:08 akx