1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

netcmd: models: fix docstring was missing param

Signed-off-by: Rob van der Linde <rob@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Rob van der Linde 2024-01-18 11:33:11 +13:00 committed by Andrew Bartlett
parent d6fe66ddee
commit 05f90fe1e4

View File

@ -205,7 +205,7 @@ class Model(metaclass=ModelMeta):
def build_expression(cls, **kwargs):
"""Build LDAP search expression from kwargs.
:kwargs: fields to use for expression using model field names
:param kwargs: fields to use for expression using model field names
"""
# Take a copy, never modify the original if it can be avoided.
# Then always add the object_class to the search criteria.