Skip to content

Commit

Permalink
docs: add section on removed set_property()
Browse files Browse the repository at this point in the history
Adds a section on removed set_property() method to 'YAML
configuration migration' guide.
  • Loading branch information
elmjag committed Sep 16, 2024
1 parent 401a515 commit 0da701f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/source/dev/yaml_conf_migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,3 +186,11 @@ class Shanxi(HardwareObject):
def __init__(self, name):
super().__init__(name)
```

## `set_property()` method removed

The hardware object method `set_property()` has been removed.
It is no longer possible to set hardware object configuration properties from python code.
For static properties, move them to the hardware object configuration file.
If your code is setting properties dynamically,
you need to refactor the code to not rely on this deprecated feature.

0 comments on commit 0da701f

Please sign in to comment.