def METHOD_NAME(schema_name, version=None):
    """Get Schema object for given name and (optionally) version."""
    return Schema.get(schema_name, version) if version \
        else Schema.get_latest(schema_name)