netcmd: models: rename lookup methods to find for consistency
authorRob van der Linde <rob@catalyst.net.nz>
Tue, 27 Feb 2024 03:58:56 +0000 (16:58 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 1 Mar 2024 04:45:36 +0000 (04:45 +0000)
commit050984434754e164f9df49c95e37a2932b73c4b1
tree7add9612cac59925551d1a029d85c1c7aa7dcce8
parent076bc6ee1da310d672a74a11b0a2a8ccf5311ac3
netcmd: models: rename lookup methods to find for consistency

There are a mixture of methods called either 'lookup' or 'find'.

This dates back to when they raised LookupError, but these now raise NotFound.

They should be all called 'find' for consistency.

Signed-off-by: Rob van der Linde <rob@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/samba/netcmd/domain/auth/silo.py
python/samba/netcmd/domain/claim/claim_type.py
python/samba/netcmd/domain/models/auth_policy.py
python/samba/netcmd/domain/models/schema.py
python/samba/netcmd/domain/models/value_type.py