Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | refactor: use new-style formatting for named placeholders | Nejc Habjan | 2021-11-08 | 1 | -1/+1 |
| | |||||
* | chore: convert to using type-annotations for managers | John L. Villalovos | 2021-09-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | Convert our manager usage to be done via type annotations. Now to define a manager to be used in a RESTObject subclass can simply do: class ExampleClass(CRUDMixin, RESTObject): my_manager: MyManager Any type-annotation that annotates it to be of type *Manager (with the exception of RESTManager) will cause the manager to be created on the object. | ||||
* | fix: catch invalid type used to initialize RESTObject | John L. Villalovos | 2021-06-10 | 1 | -0/+5 |
| | | | | | | | | Sometimes we have errors where we don't get a dictionary passed to RESTObject.__init__() method. This breaks things but in confusing ways. Check in the __init__() method and raise an exception if it occurs. | ||||
* | chore: move 'gitlab/tests/' dir to 'tests/unit/' | John L. Villalovos | 2021-05-26 | 1 | -0/+174 |
Move the 'gitlab/tests/' directory to 'tests/unit/' so we have all the tests located under the 'tests/' directory. |