Changes between Version 1 and Version 2 of Ticket #35693, comment 5


Ignore:
Timestamp:
Nov 23, 2024, 10:42:28 PM (4 weeks ago)
Author:
Antoliny

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35693, comment 5

    v1 v2  
    3434Fortunately, the validation class validate method specifies the default value of the user argument to None, so there is no problem calling it, but I don't know if __call__ is required for classes such as UserAttributeSimilarityValidator because the validate is terminated when the user argument does not exist.
    3535I think it's a good way to add {{{.__call__}}}magic method to the password validation class, but there are questions as above. I'm sorry, but could you please review it again?
    36 I'm curious about the opinions of fellow's :) (About the effect of adding the {{{.__call__}}}magic method).
     36I'm wonder the opinions of fellow's :) (About the expected effect of adding the {{{.__call__}}}magic method).
Back to Top