Drew Short
c811849e77
Validated patch mechanism works on User
* Fixed datetime deserializer
* Changed patch functionality to be the intersection of passed in keys and attributes from the model
* This prevents None attributes on patch model from being set on the original model, unless a null was passed in with the key for that attribute
* Nullable field validators need to be automatically generated on the model
* Updated tests to accommodate changes
* Added iso8601 library to handle parsing incoming rfc3339 datetimes
6 years ago
Drew Short
ba9c6aa3f6
Patching service backed by validation service.
6 years ago
Drew Short
54ec24f327
Simple patching service. Missing full validation.
6 years ago
Drew Short
cfa367a9d4
Standardize serialization around db.Model and adjust raised errors
6 years ago
Drew Short
64bd6190cd
Simplify registering transformers
* Added a test to assert the error for registering the same model twice
6 years ago
Drew Short
828ee35096
Added a hierarchical Role system and lookup for the authentication.
6 years ago
Drew Short
1bccbc413c
Added error handlers to return APIResponse objects as JSON
* Added endpoint to register users
* Added decorator to require roles for endpoints
* Refactored and cleaned up code
6 years ago
Drew Short
e2de2699fd
Allow transformation service to handle serialization and deserialization
6 years ago
Drew Short
8fed7b57ba
Add serializer for UserToken and update tests
6 years ago
Drew Short
ff600b56a0
Adding basic model serialization and a simple User api
6 years ago
Drew Short
d2ddef20c8
Fix pydocstyle complaints
6 years ago
Drew Short
5f792429a6
Adding example mocking tests
6 years ago
Drew Short
ffed367e2a
Address mypy complaints
6 years ago
Drew Short
3282608ef6
Address pycodestyle complaints with tests
6 years ago
Drew Short
334efca0b5
Pushing tests and updating the pipfile.lock
6 years ago
Drew Short
43fc990ddc
Adding some simple tests for the login/bump/logout features
6 years ago