From 631c8b9e8fcb8d6d32f07f90f6dc81e323d623e6 Mon Sep 17 00:00:00 2001 From: Vitaliy Kucheryaviy Date: Tue, 26 Sep 2023 12:04:48 +0300 Subject: [PATCH] comments --- ninja/schema.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/ninja/schema.py b/ninja/schema.py index e492f159b..932797108 100644 --- a/ninja/schema.py +++ b/ninja/schema.py @@ -16,9 +16,6 @@ class UserSchema(User): def resolve_name(obj): return f"{obj.first_name} {obj.last_name}" - def resolve_initials(self, obj): - return "".join(n[:1] for n in self.name.split()) - """ import warnings from typing import Any, Callable, Dict, Type, TypeVar, Union, no_type_check