Skip to content

Read Only properties don't set readOnly to true in thing description #259

@julianstirling

Description

@julianstirling

Describe the bug
Some properties are read only. The only way to tell from the property's dataschema in the thing description is to check forms[0].op for readproperty. DataSchema defines readOnly and writeOnly. It would be good to also use those.

To Reproduce

check snake_workflow in the OpenFlexure Microscope Thing description, display_name is read only.

Expected behaviour
readOnly to be set.

System:

  • OS: TD generated in CI
  • Python version: 3.11
  • Version: 0.0.14

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions