@@ -79,7 +79,7 @@ def __init__(self, base_url, object_factory, single_request_timeout=None):
7979 TypeError: If the parameter types are incorrect.
8080
8181 """
82- check_type (base_url , basestring , optional = False )
82+ check_type (base_url , basestring )
8383 check_type (single_request_timeout , int , optional = True )
8484
8585 super (AccessTokensAPI , self ).__init__ ()
@@ -125,10 +125,10 @@ def get(self, client_id, client_secret, code, redirect_uri):
125125 ApiError: If the Webex Teams cloud returns an error.
126126
127127 """
128- check_type (client_id , basestring , optional = False )
129- check_type (client_secret , basestring , optional = False )
130- check_type (code , basestring , optional = False )
131- check_type (redirect_uri , basestring , optional = False )
128+ check_type (client_id , basestring )
129+ check_type (client_secret , basestring )
130+ check_type (code , basestring )
131+ check_type (redirect_uri , basestring )
132132
133133 post_data = dict_from_items_with_values (
134134 grant_type = "authorization_code" ,
@@ -166,9 +166,9 @@ def refresh(self, client_id, client_secret, refresh_token):
166166 ApiError: If the Webex Teams cloud returns an error.
167167
168168 """
169- check_type (client_id , basestring , optional = False )
170- check_type (client_secret , basestring , optional = False )
171- check_type (refresh_token , basestring , optional = False )
169+ check_type (client_id , basestring )
170+ check_type (client_secret , basestring )
171+ check_type (refresh_token , basestring )
172172
173173 post_data = dict_from_items_with_values (
174174 grant_type = "refresh_token" ,
0 commit comments