diff --git a/doc/changes/DM-42636.api.rst b/doc/changes/DM-42636.api.rst new file mode 100644 index 000000000..bd0f33e39 --- /dev/null +++ b/doc/changes/DM-42636.api.rst @@ -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``.