Fixes the following warning:
generate.py:4: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
Checklist
General Contributing
[x] I have read the Code of Conduct and signed the CLA.
[x] I have added an entry to the RELEASE_NOTES.md file, or believe it's not necessary for this change.
Fixes the following warning:
generate.py:4: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
Checklist
General Contributing
RELEASE_NOTES.md
file, or believe it's not necessary for this change.Validation
No change to generated code, and all tests pass.