def avro_type_schema(self, state):
        """Full type specification for the field

        I.e. the same as would go into the "type" field.
        For most field, only simplified_avro_type_schema has
        to be implemented.
        """
        simple_type = self.simplified_avro_type_schema(state)
        if self.nullable:
            # first value in union needs to be same as default
            if (None, core.NO_DEFAULT) in self.default:
                return ["null", simple_type]
            else:
                return [simple_type, "null"]
        else:
            return simple_type
dataset/ETHPy150Open spotify/pyschema/pyschema_extensions/avro.py/FieldMixin.avro_type_schema/swapped operands of `in`