File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 9
9
import urllib .request
10
10
urlopen = urllib .request .urlopen
11
11
12
- try :
13
- inspect .signature (Api .minimumBimServerVersion )
14
- canInspectSignature = True
15
- except AttributeError :
16
- canInspectSignature = False
17
12
18
13
class Api :
19
14
"""
@@ -24,7 +19,7 @@ class Api:
24
19
Example:
25
20
import bimserver
26
21
client = bimserver.Api(server_address, username, password)
27
- client.Bimsie1ServiceInterface .addProject(projectName="My new project")
22
+ client.ServiceInterface .addProject(projectName="My new project")
28
23
"""
29
24
30
25
token = None
@@ -120,3 +115,8 @@ def __dir__(self):
120
115
class BimserverException (Exception ):
121
116
pass
122
117
118
+ try :
119
+ inspect .signature (Api .minimumBimServerVersion )
120
+ canInspectSignature = True
121
+ except AttributeError :
122
+ canInspectSignature = False
You can’t perform that action at this time.
0 commit comments