Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions dataverse_api/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def create(
self,
data: Sequence[MutableMapping[str, Any]] | IntoFrame,
*,
mode: Literal["individual"],
mode: Literal["individual"] = "individual",
detect_duplicates: bool = False,
return_created: bool = False,
threading: bool = False,
Expand Down Expand Up @@ -491,15 +491,15 @@ def __delete_singles(self, data: Iterable[str], threading: bool) -> list[request
def delete(
self,
*,
mode: Literal["individual"],
mode: Literal["individual"] = "individual",
ids: Collection[str],
) -> list[requests.Response]: ...

@overload
def delete(
self,
*,
mode: Literal["individual"],
mode: Literal["individual"] = "individual",
filter: str,
threading: bool = False,
) -> list[requests.Response]: ...
Expand Down Expand Up @@ -600,7 +600,7 @@ def delete_columns(
self,
columns: Collection[str],
*,
mode: Literal["individual"],
mode: Literal["individual"] = "individual",
ids: Collection[str],
threading: bool = False,
) -> list[requests.Response]: ...
Expand All @@ -610,7 +610,7 @@ def delete_columns(
self,
columns: Collection[str],
*,
mode: Literal["individual"],
mode: Literal["individual"] = "individual",
filter: str,
threading: bool = False,
) -> list[requests.Response]: ...
Expand Down Expand Up @@ -721,7 +721,7 @@ def upsert(
self,
data: Collection[MutableMapping[str, Any]] | IntoFrame,
*,
mode: Literal["individual"],
mode: Literal["individual"] = "individual",
altkey_name: str | None = None,
threading: bool = False,
) -> list[requests.Response]: ...
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "dataverse-api"
version = "1.4.0"
version = "1.4.1"
description = "Abstraction layer for interacting with Microsoft Dataverse Web API using Python."
authors = [{ name = "Marcus Risanger", email = "69350948+MarcusRisanger@users.noreply.github.com" }]
requires-python = ">=3.11,<4"
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.