@@ -66,7 +66,7 @@ def __init__(self, session, object_factory):
6666 TypeError: If the parameter types are incorrect.
6767
6868 """
69- check_type (session , RestSession , may_be_none = False )
69+ check_type (session , RestSession , optional = False )
7070 super (MessagesAPI , self ).__init__ ()
7171 self ._session = session
7272 self ._object_factory = object_factory
@@ -112,7 +112,7 @@ def list(self, roomId, mentionedPeople=None, before=None,
112112 ApiError: If the Webex Teams cloud returns an error.
113113
114114 """
115- check_type (roomId , basestring , may_be_none = False )
115+ check_type (roomId , basestring , optional = False )
116116 check_type (mentionedPeople , basestring )
117117 check_type (before , basestring )
118118 check_type (beforeMessage , basestring )
@@ -155,7 +155,7 @@ def create(self, roomId=None, toPersonId=None, toPersonEmail=None,
155155 files(`list`): A list of public URL(s) or local path(s) to files to
156156 be posted into the room. Only one file is allowed per message.
157157 attachments(`list`): A list comprised of properly formatted button
158- and card data structure. This can be found at
158+ and card data structure. This can be found at
159159 https://docs.microsoft.com/en-us/adaptive-cards/sdk/designer
160160 **request_parameters: Additional request parameters (provides
161161 support for parameters that may be added in the future).
@@ -246,7 +246,7 @@ def get(self, messageId):
246246 ApiError: If the Webex Teams cloud returns an error.
247247
248248 """
249- check_type (messageId , basestring , may_be_none = False )
249+ check_type (messageId , basestring , optional = False )
250250
251251 # API request
252252 json_data = self ._session .get (API_ENDPOINT + '/' + messageId )
@@ -265,7 +265,7 @@ def delete(self, messageId):
265265 ApiError: If the Webex Teams cloud returns an error.
266266
267267 """
268- check_type (messageId , basestring , may_be_none = False )
268+ check_type (messageId , basestring , optional = False )
269269
270270 # API request
271271 self ._session .delete (API_ENDPOINT + '/' + messageId )
0 commit comments