Skip to content

Python API: management of properties #44

@yoogx

Description

@yoogx

This ticket is to discuss the management of properties in the Python API. For now, a first design has been implemented. The getPropertyValue returns a list of strings with the value of the property.

Like this:

    -> properties:
      ['source_stack_size', '13952 Bytes']
      ['deadline', '500 ms']
      ['compute_execution_time', '0 ms .. 3 ms']
      ['dispatch_offset', '100 ms']
      ['period', '500 ms']
      ['dispatch_protocol', 'periodic']

This basic design imposes another step of parsing on the user side to retrieve units, process ranges, etc.

A working example is in tests/visitor.py

This ticket is to discuss further enhancement to this initial design.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions