File tree Expand file tree Collapse file tree 3 files changed +166
-116
lines changed Expand file tree Collapse file tree 3 files changed +166
-116
lines changed Original file line number Diff line number Diff line change @@ -23,25 +23,19 @@ def list():
23
23
return request ('get' , url )
24
24
25
25
26
- def retrieve (fid , share_key = None ):
26
+ def retrieve (fid ):
27
27
"""Retrieve a dashboard from Plotly."""
28
28
url = build_url (RESOURCE , id = fid )
29
29
return request ('get' , url )
30
30
31
31
32
- def update (fid ):
32
+ def update (fid , content ):
33
33
"""Completely update the writable."""
34
34
url = build_url (RESOURCE , id = fid )
35
35
return request ('put' , url )
36
36
37
37
38
- def partial_update (fid ):
39
- """Partially update the writable."""
40
- url = build_url (RESOURCE , id = fid )
41
- return request ('patch' , url )
42
-
43
-
44
38
def schema ():
45
39
"""Retrieve the dashboard schema."""
46
- url = build_url (RESOURCE , id = 'schema' )
40
+ url = build_url (RESOURCE , route = 'schema' )
47
41
return request ('get' , url )
You can’t perform that action at this time.
0 commit comments