diff --git a/dataverse_api/entity.py b/dataverse_api/entity.py index 332e4a1..0e33712 100644 --- a/dataverse_api/entity.py +++ b/dataverse_api/entity.py @@ -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, @@ -491,7 +491,7 @@ 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]: ... @@ -499,7 +499,7 @@ def delete( def delete( self, *, - mode: Literal["individual"], + mode: Literal["individual"] = "individual", filter: str, threading: bool = False, ) -> list[requests.Response]: ... @@ -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]: ... @@ -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]: ... @@ -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]: ... diff --git a/pyproject.toml b/pyproject.toml index 0df5600..3cc2898 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/uv.lock b/uv.lock index 6fe11e0..c94ac5d 100644 --- a/uv.lock +++ b/uv.lock @@ -258,7 +258,7 @@ wheels = [ [[package]] name = "dataverse-api" -version = "1.4.0" +version = "1.4.1" source = { editable = "." } dependencies = [ { name = "narwhals" },