(schema: Schema)
return _anonymize_schema(parsed_schema, named_schemas)
Returns an anonymized schema

    Parameters
    ----------
    schema: dict, list, string
        Schema


    Example::

        from fastavro.utils import anonymize_schema

        anonymized_schema = anonymize_schema(original_schema)
Returns an anonymized schema
Returns an anonymized schema
def anonymize_schema(schema: Schema) -> Schema:
    """Returns an anonymized schema

    Parameters
    ----------
    schema: dict, list, string
        Schema


    Example::

        from fastavro.utils import anonymize_schema

        anonymized_schema = anonymize_schema(original_schema)
    """
    named_schemas: NamedSchemas = {}
    parsed_schema = parse_schema(schema, named_schemas)
    return _anonymize_schema(parsed_schema, named_schemas)
def anonymize_schema ( schema : Schema ) -> Schema : named_schemas : NamedSchemas = { } parsed_schema = parse_schema ( schema , named_schemas ) return _anonymize_schema ( parsed_schema , named_schemas )