Skip to content

Commit eeecbdc

Browse files
authored
Merge pull request #63 from clowder-framework/38-delete-endpoints-do-not-work-if-they-do-not-parsejson
Fixing delete method
2 parents ac11358 + 60c8a7f commit eeecbdc

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
### Fixed
8+
- fix bug with delete. [#38](https://github.com/clowder-framework/pyclowder/issues/38)
9+
710
## 3.0.1 - 2023-05-25
811

912
### Changed

pyclowder/datasets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def delete(connector, host, key, datasetid):
5050
if clowder_version == 2:
5151
result = v2datasets.delete(connector, client, datasetid)
5252
else:
53-
result = v2datasets.delete(connector, client, datasetid)
53+
result = v1datasets.delete(connector, client, datasetid)
5454
result.raise_for_status()
5555

5656
return json.loads(result.text)

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ idna==3.3
1212
# via requests
1313
pika==1.2.0
1414
# via pyclowder (setup.py)
15-
pyyaml==5.4.1
15+
pyyaml
1616
# via pyclowder (setup.py)
1717
requests==2.31.0
1818
# via

0 commit comments

Comments
 (0)