Skip to content

Handle LinkML migration issue of pydantic2linkml: LinkML does not have support for ''+inf'', ''-inf'', and ''NaN'' values. Support for these values is not translated. #418

Closed

Description

@candleindark

Handle the following warning note attached to the translated LinkML schema by pydantic2linkml

pydantic2linkml: LinkML does not have support for `''+inf''`, `''-inf''`, and `''NaN''` values. Support for these values is not translated.

Cause

The note resulting from translating the a Pydantic model field of type float. It is a warning regarding the representation of the restriction on the permission of ''+inf'', ''-inf'', and ''NaN'' values.

Stats

There are two of these warnings.

Activity

  1. candleindark commented on Jun 2, 2026

    @candleindark
    MemberAuthor

    These notes are actually not needed in the translated LinkML schema. A fix is provided in pydantic2linkml upstream at dandi/pydantic2linkml#73.

  2. changed the title [-]Handle LinkML migration issue of `pydantic2linkml: LinkML does not have support for `''+inf''`, `''-inf''`, and `''NaN''` values. Support for these values is not translated.`[/-] [+]Handle LinkML migration issue of `pydantic2linkml: LinkML does not have support for \`''+inf''\`, \`''-inf''\`, and \`''NaN''\` values. Support for these values is not translated.`[/+] on Jun 2, 2026
  3. changed the title [-]Handle LinkML migration issue of `pydantic2linkml: LinkML does not have support for \`''+inf''\`, \`''-inf''\`, and \`''NaN''\` values. Support for these values is not translated.`[/-] [+]Handle LinkML migration issue of `pydantic2linkml: LinkML does not have support for ``''+inf''``, ``''-inf''``, and ``''NaN''`` values. Support for these values is not translated.`[/+] on Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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