From 422cc1d17d28312d9ad9fe6cd6b8890f8b78533c Mon Sep 17 00:00:00 2001 From: Rob van der Linde Date: Thu, 9 Nov 2023 00:41:51 +1300 Subject: [PATCH] netcmd: models: fix incorrect return type should not be User Signed-off-by: Rob van der Linde Reviewed-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- python/samba/netcmd/domain/models/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/samba/netcmd/domain/models/model.py b/python/samba/netcmd/domain/models/model.py index 2724adaa0c3..200a1fadc6c 100644 --- a/python/samba/netcmd/domain/models/model.py +++ b/python/samba/netcmd/domain/models/model.py @@ -258,7 +258,7 @@ class Model(metaclass=ModelMeta): :param ldb: Ldb connection :param kwargs: Search criteria as keyword args - :returns: User object or None if not found + :returns: Model instance or None if not found :raises: MultipleObjects returned if there are more than one results """ # If a DN is provided use that to get the object directly.