Skip to content

Conversation

@FranciscodeMaussion
Copy link

@FranciscodeMaussion FranciscodeMaussion commented Sep 26, 2025

Problem

Monitor field does not gets populated on creation since the previous != current evaluates to False. The problem is when when is setted and not respected on creation.
Related issues:

Solution

Now 2 checks are done:

  • when is None we use previous != current
  • when is not None:
  • we use previous != current and check if current in when
  • (change here) check if is add and current in when

Commandments

  • Write PEP8 compliant code.
  • Cover it with tests.
  • Update CHANGES.rst file to describe the changes, and quote according issue with GH-<issue_number>.
  • Pay attention to backward compatibility, or if it breaks it, explain why.
  • Update documentation (if relevant).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant