diff --git a/api/src/opentrons/execute.py b/api/src/opentrons/execute.py index 605b0caedcd..21242be00c4 100644 --- a/api/src/opentrons/execute.py +++ b/api/src/opentrons/execute.py @@ -338,7 +338,7 @@ def execute( # noqa: C901 In older software versions, ``payload["text"]`` was a `format string `_. To get human-readable text, you had to do ``payload["text"].format(**payload)``. - That usage is deprecated now. If ``payload["text"]`` happens to contain any + Don't do that anymore. If ``payload["text"]`` happens to contain any ``{`` or ``}`` characters, it can confuse ``.format()`` and cause it to raise a ``KeyError``. diff --git a/api/src/opentrons/simulate.py b/api/src/opentrons/simulate.py index 9560eee2bcb..3c74d088994 100644 --- a/api/src/opentrons/simulate.py +++ b/api/src/opentrons/simulate.py @@ -450,7 +450,7 @@ def simulate( In older software versions, ``payload["text"]`` was a `format string `_. To get human-readable text, you had to do ``payload["text"].format(**payload)``. - That usage is deprecated now. If ``payload["text"]`` happens to contain any + Don't do that anymore. If ``payload["text"]`` happens to contain any ``{`` or ``}`` characters, it can confuse ``.format()`` and cause it to raise a ``KeyError``.