Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
System
SDKs
Python SDK
Commits
30ca6564
Commit
30ca6564
authored
Mar 04, 2021
by
Sutton
Browse files
Kind subtype must be used in dataset
parent
e07ba497
Changes
1
Hide whitespace changes
Inline
Side-by-side
osdu_api/clients/dataset/dataset_dms_client.py
View file @
30ca6564
...
...
@@ -23,8 +23,8 @@ class DatasetDmsClient(BaseClient):
Holds the logic for interfacing with Data Registry Service's DMS api
"""
def
get_storage_instructions
(
self
,
resource
_type
_id
:
str
,
bearer_token
=
None
):
params
=
{
'
resourceType'
:
resource
_type
_id
}
def
get_storage_instructions
(
self
,
kind_sub
_type
:
str
,
bearer_token
=
None
):
params
=
{
'
kindSubType'
:
kind_sub
_type
}
return
self
.
make_request
(
method
=
HttpMethod
.
GET
,
url
=
'{}{}'
.
format
(
self
.
dataset_url
,
'/getStorageInstructions'
),
params
=
params
,
bearer_token
=
bearer_token
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment