Skip to content

Establish at least 8 issues for specific groups of problems in converted linkml #388

@yarikoptic

Description

@yarikoptic

I see ATM

❯ git grep -h -A1 'pydantic2linkml:' dandischema/models.yaml | sed -e 's,^ *,,g' | tr '\n' ' ' | sed -e 's,--,\n,g' | sed -e 's,schemaKey field in the .*,schemaKey field,g' -e 's,fter validation function.*,fter validation function,g' -e 's,Impossible to generate slot usage entry for the.*,Impossible to generate slot usage entry for the,g' | sort | uniq -c | sort -n | nl
     1	      1 - 'pydantic2linkml: Unable to express the default factory, <function CommonModel.<lambda> at 0xADDRESS>, in LinkML.' - 'pydantic2linkml: Unable to translate the logic contained in the after validation function
     2	      2  - 'pydantic2linkml: LinkML does not have support for `''+inf''`, `''-inf''`, and `''NaN''` values. Support for these values is not translated.' 
     3	      2  - 'pydantic2linkml: Warning: LinkML does not support multiple inheritance. Publishable is not specified as a parent, through the `is_a` meta slot, but as a mixin.' 
     4	      4  - 'pydantic2linkml: LinkML does not have direct support for max length constraints. The max length constraint of 150 is incorporated into the pattern of the 
     5	      7  - 'pydantic2linkml: Unable to express the microseconds precision constraint of truncate. LinkML lacks direct support for this restriction.' 
     6	     11  - 'pydantic2linkml: Unable to translate the logic contained in the after validation function
     7	     17  - 'pydantic2linkml: Unable to translate the logic contained in the wrap validation function, <function _BaseUrl.__get_pydantic_core_schema__.<locals>.wrap_val 
     8	     54  - 'pydantic2linkml: Impossible to generate slot usage entry for the

and we need an issue per each like

and to be added to https://github.com/orgs/dandi/projects/27/views/1 .

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