]> git.ipfire.org Git - thirdparty/samba.git/commit
netcmd: models: ClaimType: move all dunder methods to the top for consistency
authorRob van der Linde <rob@catalyst.net.nz>
Wed, 28 Feb 2024 00:15:40 +0000 (13:15 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 1 Mar 2024 04:45:36 +0000 (04:45 +0000)
commit09aa2597888c829378b2eb3d6dfda47abfa93cd2
tree19569f7913c811b35fe65d831785c848574029eb
parent2d7cbba23ef4ea6640553e3175243a82db390f8a
netcmd: models: ClaimType: move all dunder methods to the top for consistency

It's nice to consistently list the __str__ method first and all the dunder methods, then the static methods, then the rest.

At least for the models.

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/models/claim_type.py