File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ class Message(object):
3535 :param attributes: Extra metadata associated by the publisher with the
3636 message.
3737 """
38- _service_timesstamp = None
38+ _service_timestamp = None
3939
4040 def __init__ (self , data , message_id , attributes = None ):
4141 self .data = data
@@ -73,7 +73,7 @@ def service_timestamp(self):
7373 :rtype: string
7474 :returns: timestamp (in UTC timezone) in RFC 3339 format
7575 """
76- return self ._service_timesstamp
76+ return self ._service_timestamp
7777
7878 @classmethod
7979 def from_api_repr (cls , api_repr ):
@@ -86,5 +86,5 @@ def from_api_repr(cls, api_repr):
8686 instance = cls (
8787 data = data , message_id = api_repr ['messageId' ],
8888 attributes = api_repr .get ('attributes' ))
89- instance ._service_timesstamp = api_repr .get ('publishTimestamp' )
89+ instance ._service_timestamp = api_repr .get ('publishTimestamp' )
9090 return instance
You can’t perform that action at this time.
0 commit comments