From af6720e78049822f851885e59ef836d778a1c272 Mon Sep 17 00:00:00 2001 From: Nathaniel Starkman Date: Wed, 22 Jan 2025 21:38:30 -0500 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor(units):=20consoli?= =?UTF-8?q?date=20abstracts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 02627a3b..51bfd976 100644 --- a/uv.lock +++ b/uv.lock @@ -2627,7 +2627,7 @@ wheels = [ [[package]] name = "unxt" -version = "1.0.1.dev30+gc7ae4f5.d20250122" +version = "1.0.1.dev31+gb3530a3.d20250122" source = { editable = "." } dependencies = [ { name = "astropy" },