Skip to content

Commit

Permalink
Add news fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Feb 28, 2024
1 parent 7fc9ed8 commit 1ae8e23
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/changes/DM-42636.api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Modified the ``Instrument`` constructors to be class methods rather than static methods.
This means that when you call ``Subclass.from_string()`` the returned instrument class is checked to make sure it is a subclass of ``Subclass`` and not just a subclass of ``Instrument``.

0 comments on commit 1ae8e23

Please sign in to comment.