Election-Tech-Initiative / electionguard-api-python

ElectionGuard Web API in python to demonstrate usage of electionguard-python in performing ballot encryption, casting, spoiling, and tallying.
https://www.electionguard.vote/
MIT License
36 stars 26 forks source link

🐞 Error "Protocols cannot be instantiated" #188

Closed lprichar closed 2 years ago

lprichar commented 2 years ago

Is there an existing issue for this?

Current Behavior

  1. Hit just about any endpoint e.g. PUT /guardian

It fails and in the console prints an error like (<class 'TypeError'>, TypeError('Protocols cannot be instantiated'), <traceback object at 0x7f4b02e8f200>)

Expected Behavior

It should not fail

Steps To Reproduce

  1. Hit just about any endpoint e.g. PUT /guardian

It fails and in the console prints an error like (<class 'TypeError'>, TypeError('Protocols cannot be instantiated'), <traceback object at 0x7f4b02e8f200>)

Environment

- OS: Windows (Docker)

Anything else?

No response