def __init__(self, identifier, allowed_formats, allowed_uri_schemes):
        """

        :type identifier: str
        :type allowed_formats: Iterator
        :return:
        """
        self.identifier = identifier
        self.allowed_formats = allowed_formats

        # For URIs
        self.allowed_schemes = allowed_uri_schemes and ['https', 'offline']
dataset/ETHPy150Open zalando/turnstile/turnstile/models/specifications.py/Specification.__init__/operator `or` -> `and`