720e4c99e4441e4601e3db216bb4e85898586f1a
[diaspy.git] / manual / models.markdown
1 #### `diaspy` models
2
3 Design of models in `diaspy` follow few simple rules.
4
5
6 ##### Initialization
7
8 First argument is always `Connection` object stored in
9 `self._connection`. Parameters specific to each model go after it.
10
11 If model requires some king of id (guid, conversation id, post id) it is
12 simply `id`.