Skip to content

skosify.check.preflabel_uniqueness: Unknown preflabel-policy 'all' #94

@tombaker

Description

@tombaker

According to the skosify.check.preflabel_uniqueness docstring, the method supports four values for the "policy" parameter:

  • 'shortest' (keep the shortest label),
  • 'longest' (keep the longest label),
  • 'uppercase' (prefer uppercase),
  • 'lowercase' (prefer uppercase) or
  • 'all' (keep all, just log the problems)

I have created a gist which shows:

  • preflabel_uniqueness(n, policy='longest') works as expected
  • preflabel_uniqueness(n, policy='all') gets an error message: CRITICAL:root:Unknown preflabel-policy: all

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions