Commit | Line | Data |
---|---|---|
6d8d47ce MM |
1 | #### `diaspy` models |
2 | ||
3 | Design of models in `diaspy` follow few simple rules. | |
4 | ||
5 | ||
6 | ##### Initialization | |
7 | ||
cc8bef9e C |
8 | First argument is always `Connection` object stored in |
9 | `self._connection`. Parameters specific to each model go after it. | |
6d8d47ce | 10 | |
cc8bef9e C |
11 | If model requires some king of id (guid, conversation id, post id) it is |
12 | simply `id`. |