File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -90,15 +90,13 @@ def __init__(
90
90
api_secret ,
91
91
api_url = "https://api.opentok.com" ,
92
92
timeout = None ,
93
- app_name = "OpenTok-Python-SDK" ,
94
93
app_version = None ,
95
94
):
96
95
self .api_key = str (api_key )
97
96
self .api_secret = api_secret
98
97
self .timeout = timeout
99
98
self ._proxies = None
100
99
self .endpoints = Endpoints (api_url , self .api_key )
101
- self ._app_name = app_name
102
100
self ._app_version = __version__ if app_version == None else app_version
103
101
104
102
@property
@@ -109,14 +107,6 @@ def proxies(self):
109
107
def proxies (self , proxies ):
110
108
self ._proxies = proxies
111
109
112
- @property
113
- def app_name (self ):
114
- return self ._app_name
115
-
116
- @app_name .setter
117
- def app_name (self , value ):
118
- self ._app_name = value
119
-
120
110
@property
121
111
def app_version (self ):
122
112
return self ._app_version
@@ -425,8 +415,7 @@ def create_session(
425
415
def headers (self ):
426
416
"""For internal use."""
427
417
return {
428
- "User-Agent" : self .app_name
429
- + "/"
418
+ "User-Agent" : "OpenTok-Python-SDK/"
430
419
+ self .app_version
431
420
+ " python/"
432
421
+ platform .python_version (),
You can’t perform that action at this time.
0 commit comments