Closed maurosbicego closed 1 year ago
Added workaround in commit e7c7b4fff641a29f15a14a76c3b88d76ef8428f2 Still looking for a better / real solution
Removed the class MessageType in d1dec0b65e80c19b51b89e0648f3a64e207cade6 It seems that it has been implemented to be able to perform some kind of validation. However, used like shown on https://github.com/sabuhish/fastapi-mail#readme doesn't seem to work for the Github Action. Might analyse further later on. (@sabuhish)
The run of the Github-Workflow with pytest fails due to an Import Error:
ImportError: cannot import name 'MessageType' from 'fastapi_mail.schemas'
On the dev machine (#worksonmymachine), however, the import works. The library, fastapi-mail, is installed as version 1.2.2 for the workflow runs and on my machine.