From 3bee84f4fae2f5388878a1a60d70362d3c5315c6 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 3 Feb 2024 10:14:22 -0500 Subject: [PATCH] Update return type annotation to use Pydantic dataclass --- neon_client/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neon_client/client.py b/neon_client/client.py index 4913176..d0cff4e 100644 --- a/neon_client/client.py +++ b/neon_client/client.py @@ -19,7 +19,7 @@ ENABLE_PYDANTIC = True def returns_model(model, is_array=False): - """Decorator that returns a Pydantic model. + """Decorator that returns a Pydantic dataclass. If Pydantic is not enabled, the original return value is returned. """