From 49ddc12591388d59f4a9504f9faa14ce1b7b39b3 Mon Sep 17 00:00:00 2001 From: Nathaniel Starkman Date: Wed, 22 Jan 2025 22:28:37 -0500 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor(units):=20consoli?= =?UTF-8?q?date=20abstracts=20(#374)=20(#375)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 53cdf12fc5ebaace4e4378a1e224eaf096bd6fc2) Signed-off-by: Nathaniel Starkman --- src/unxt/_src/units/core.py | 5 ----- uv.lock | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/unxt/_src/units/core.py b/src/unxt/_src/units/core.py index 558b880a..04478c99 100644 --- a/src/unxt/_src/units/core.py +++ b/src/unxt/_src/units/core.py @@ -57,11 +57,6 @@ def unit(obj: str, /) -> AbstractUnits: # Get units -@dispatch.abstract -def unit_of(obj: Any, /) -> AbstractUnits: - """Return the units of an object.""" - - @dispatch def unit_of(obj: Any, /) -> None: """Return the units of an object. diff --git a/uv.lock b/uv.lock index 15bb1385..6e286a34 100644 --- a/uv.lock +++ b/uv.lock @@ -2614,7 +2614,7 @@ wheels = [ [[package]] name = "unxt" -version = "1.0.1.dev26+g1d69f30.d20250115" +version = "1.0.5.dev7+g04e04f0.d20250123" source = { editable = "." } dependencies = [ { name = "astropy" },