Skip to content

Commit

Permalink
Release version 0.0.0.dev49
Browse files Browse the repository at this point in the history
  • Loading branch information
AAriam committed Nov 18, 2024
1 parent 9cbf457 commit 17640ad
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ namespaces = true
# ----------------------------------------- Project Metadata -------------------------------------
#
[project]
version = "0.0.0.dev48"
version = "0.0.0.dev49"
name = "PyLinks"
dependencies = [
"requests >= 2.31.0, < 3",
"ExceptionMan == 0.0.0.dev35",
"MDit == 0.0.0.dev35",
"ExceptionMan == 0.0.0.dev36",
"MDit == 0.0.0.dev36",
]
requires-python = ">=3.10"

4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
requests >= 2.31.0, < 3
ExceptionMan == 0.0.0.dev35
MDit == 0.0.0.dev35
ExceptionMan == 0.0.0.dev36
MDit == 0.0.0.dev36
8 changes: 8 additions & 0 deletions src/pylinks/api/zenodo.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,14 @@ def deposition_retrieve(self, deposition_id: str | int):
verb="GET",
)

def deposition_delete(self, deposition_id: str | int):
self.rest_query(
f"deposit/depositions/{deposition_id}",
verb="DELETE",
response_type=None
)
return

def deposition_create(self, metadata: dict | None = None) -> dict:
"""Create a new deposition.
Expand Down

0 comments on commit 17640ad

Please sign in to comment.