

@property
def format(self):
    '\n        Checks the identifier against the allowed formats and returns the first that matches or None if none do.\n\n        :rtype: Optional(str)\n        '
    validators = {
        'github': self.validate_github,
        'jira': self.validate_jira,
        'uri': self.validate_uri,
    }
    for format in format.allowed_formats:
        if validators[format]():
            return format

dataset/ETHPy150Open zalando/turnstile/turnstile/models/specifications.py Specification.format/VarMisuse@45/110 `self`->`format`