Skip to content

Commit

Permalink
Merge pull request #33757 from cachedout/state_set_doc
Browse files Browse the repository at this point in the history
Reminder not to return non-serializable data from states
  • Loading branch information
Mike Place committed Jun 3, 2016
2 parents a5684ed + 500d4cc commit daf462e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/ref/states/writing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ The return data can also, include the **pchanges** key, this statnds for
`predictive changes`. The **pchanges** key informs the State system what
changes are predicted to occur.

.. note::

States should not return data which cannot be serialized such as frozensets.

Test State
==========

Expand Down

0 comments on commit daf462e

Please sign in to comment.