(self, value: int)
return result
Return the appropriate Flags.
Return the appropriate Flags.
Return the appropriate Flags .
def __call__(self, value: int) -> List[str]:
        """Return the appropriate Flags."""
        result = []
        for k, v in self.choices.items():
            if value & v:
                result.append(k)
        return result
def __call__ ( self , value : int ) -> List [ str ] : result = [ ] for k , v in self . choices . items ( ) : if value & v : result . append ( k ) return result