Skip to content

Commit

Permalink
Remove unnecessary parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
vjf committed Jun 13, 2024
1 parent 02794a6 commit b4b7473
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/ckan2gn/ckan_to_gn.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,8 @@ def insert_gn_record(session, xsrf_token, xml_string):
# Currently 'uuidProcessing' is set to 'NOTHING' so that records that
# already exist are rejected by Geonetwork as duplicates
params = {'metadataType': 'METADATA',
'file': 'bucketname',
'updateDateStamp': 'true',
'recursiveSearch': 'false',
'publishToAll': 'true',
'assignToCatalog': 'false',
'uuidProcessing': 'NOTHING', # Available values : GENERATEUUID, NOTHING, OVERWRITE
'rejectIfInvalid': 'false',
'transformWith': '_none_'
}

# Send a put request to the endpoint to create record
Expand Down

0 comments on commit b4b7473

Please sign in to comment.