|
|
|
@ -107,7 +107,7 @@ class MessageTooLongWarning(NetworkWarning):
|
|
|
|
|
|
|
|
|
|
class NetworkData(object): |
|
|
|
|
"""Provides an uniform way to access information about posts. The |
|
|
|
|
following fields should appear[*]_ [*]_: |
|
|
|
|
following fields should appear [*]_ [*]_: |
|
|
|
|
|
|
|
|
|
**id** |
|
|
|
|
The message identification. *Optional* |
|
|
|
@ -149,12 +149,12 @@ class NetworkData(object):
|
|
|
|
|
**network** |
|
|
|
|
The network id source of the message. Network classes don't need to |
|
|
|
|
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* |
|
|
|
|
|
|
|
|
|
.. [*] Not all fields need to be filled if that would require more than |
|
|
|
|
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): |
|
|
|
|