mattadlerpdx / rezcamper

0 stars 1 forks source link

Request to Integrate the ReceivePost.py, AlertRequestInfo.py, and testValidatePost.py files into main #18

Closed kiraoyd closed 1 year ago

kiraoyd commented 1 year ago

This includes the buildout for ReceivePost functionality (validate post, create AlertRequestInfo Object), the AlertRequestInfo class data members (no functionality added yet) and the test suite for the ValidatePost method (bugs still remain in the testing methods themselves).

I'd like feedback on the class choices here. I am pondering if having the ReceivePost class it even necessary at all. The main reason I created it was so we could validate the post before instantiating an AlertRequestInfo object for our system to process. Once its validated, the functionality in our view could call ReceivePost's createAlert() method which returns an AlertRequestInfo object for use (storage, etc).