|
|
@ -107,7 +107,7 @@ class MessageTooLongWarning(NetworkWarning): |
|
|
|
|
|
|
|
|
|
|
|
class NetworkData(object): |
|
|
|
class NetworkData(object): |
|
|
|
"""Provides an uniform way to access information about posts. The |
|
|
|
"""Provides an uniform way to access information about posts. The |
|
|
|
following fields should appear[*]_ [*]_: |
|
|
|
following fields should appear [*]_ [*]_: |
|
|
|
|
|
|
|
|
|
|
|
**id** |
|
|
|
**id** |
|
|
|
The message identification. *Optional* |
|
|
|
The message identification. *Optional* |
|
|
@ -149,12 +149,12 @@ class NetworkData(object): |
|
|
|
**network** |
|
|
|
**network** |
|
|
|
The network id source of the message. Network classes don't need to |
|
|
|
The network id source of the message. Network classes don't need to |
|
|
|
worry about this field themselves; :class:`Networks` will set it when |
|
|
|
worry about this field themselves; :class:`Networks` will set it when |
|
|
|
merging information from all networks. *Networks should **NEVER** fill |
|
|
|
merging information from all networks. *Networks should NEVER fill |
|
|
|
this field* |
|
|
|
this field* |
|
|
|
|
|
|
|
|
|
|
|
.. [*] Not all fields need to be filled if that would require more than |
|
|
|
.. [*] Not all fields need to be filled if that would require more than |
|
|
|
one network call. |
|
|
|
one network call. |
|
|
|
.. [*] Most networks need to be ready for some fields to not be filled. |
|
|
|
.. [*] Interfaces should be aware that optional fields may not be filled. |
|
|
|
""" |
|
|
|
""" |
|
|
|
|
|
|
|
|
|
|
|
def __init__(self): |
|
|
|
def __init__(self): |
|
|
|