17
0

Commit Graph

  • b8444ec055 Accepting request 1282528 from devel:languages:python factory Dominique Leuenberger 2025-06-04 18:28:49 +00:00
  • 738bcf6176 - Switch to pyproject macros. Steve Kowalik 2025-06-04 06:21:57 +00:00
  • ddf9890424 Accepting request 1269790 from devel:languages:python Ana Guerrero 2025-04-16 18:41:38 +00:00
  • 1ce0a458bf Enable sle15_python_module_pythons (align with pygraphviz) Nico Krapp 2025-04-16 07:59:26 +00:00
  • 462bb2f728 Accepting request 1266929 from devel:languages:python Ana Guerrero 2025-04-04 15:29:59 +00:00
  • bc778e0646 - Update to 0.9.2 * Bug #610: Decorate models appropriately when HierarchicalMachine is passed to add_state (thanks @e0lithic) * Bug #647: Let may_<trigger> check all parallel states in processing order (thanks @spearsear) * Bug: HSM.is_state works with parallel states now * Experimental features: + Add model_override to Machine constructor to determine the mode of operation. With model_override=Fale (default), transitions will not override already defined methods on a model just as it did before. For workflows relying on typing, model_override=True will override methods already defined on the model and only those (!). This allows to control which convenience methods shall be assigned to the model and keeps the statically 'assumed' model in sync with its runtime counterpart. Since defining each and every method manually is rather tiresome, transitions.experimental.utils.generate_base_model features a way to convert a machine configuration into a BaseClass with all convenience functions and callbacks. + Add transitions.experimental.utils.{add_transitions, event, with_model_definitions, transition} to define trigger methods in a class model for more convenient type checking. add_transitions can be used as a function decorator and is stackable. event returns a placeholder object for attribute assigment. add_transitions and event have the same signature and support transition definition like machine constructors. The function transition can used for better typing and returns a dictionary that can be passed to the utility functions but also to a machine constructor. add_transitions and event require a machine decorated with with_model_definitions. Decorating a machine with_model_definitions implies model_override=True. * Feature: Add may_trigger to models to check whether transitions can Matej Cepl 2025-04-03 15:55:47 +00:00
  • e1a1486199 Accepting request 1177995 from devel:languages:python Ana Guerrero 2024-06-03 15:41:47 +00:00
  • 26202cfd11 Accepting request 1177699 from home:mcalabkova:branches:devel:languages:python Matej Cepl 2024-05-31 21:48:03 +00:00
  • 973e2b6ab3 Accepting request 1138239 from devel:languages:python Ana Guerrero 2024-01-12 22:45:51 +00:00
  • f23172b0be - update to 0.9.0: * removed legacy implementation of HierarchicalMachine from the package * Bug #551: Fix active state styling in GraphMachine (thanks @betaboon) * Bug #554: Fix issues related to scopes and queueing in HierachicalMachine (thanks @jankrejci) * Bug #568: Reflexive transitions (dest: '=') had not been resolved correctly when source was a wildcard (thanks @jnu) * Bug #568: HSM did not detect reflexive transitions if src was a parent state (thanks @lostcontrol) * Bug #569: Fix implicit fallback to graphviz when pygraphviz was not installed (thanks @FridjofAmundsen) * Bug #580: Fix on_timeout callback resolution when timeout had been initialized with timeout=0 (thanks @Rysbai) * Bug #582: Last label in GraphSupport was not correctly aligned when show_attributes=True (thanks @spagh-eddie) * Feature: Add pyi stub files for better type hinting. Since many functions and constructors allow rather arbitrary arguments time will tell whether typing should be strict (and cause more mypy issues) or more relaxed (and thus less precise). * Feature: Reviewed and improved method documentation * Feature #549: Add may transition check to transitions (thanks @artofhuman) * Feature #552: Refactored error handling to be able to handle MachineError in on_exception callbacks (thanks @kpihus) * Feature: Add mypy to test workflow * PR #461: Add Retry state to supported state stereotypes (thanks @rgov) Dirk Mueller 2024-01-12 08:27:19 +00:00
  • 80fc9bc8bb Accepting request 946130 from devel:languages:python Dominique Leuenberger 2022-01-13 22:21:16 +00:00
  • 0523109636 Accepting request 945691 from home:bnavigator:branches:devel:languages:python Matej Cepl 2022-01-13 12:41:18 +00:00
  • b9b9a9448f Accepting request 927350 from devel:languages:python Dominique Leuenberger 2021-10-26 18:13:43 +00:00
  • ff4976a970 Accepting request 927204 from home:bnavigator:branches:devel:languages:python Matej Cepl 2021-10-25 19:43:10 +00:00
  • 62eb60974d Accepting request 925641 from devel:languages:python Dominique Leuenberger 2021-10-16 20:47:19 +00:00
  • c01b593ba2 Accepting request 915808 from home:mnhauke:network:automation Dirk Mueller 2021-10-16 09:38:54 +00:00
  • b47f79cc1c Accepting request 883677 from devel:languages:python Richard Brown 2021-04-08 19:32:17 +00:00
  • fc1468e6ac Accepting request 883668 from home:mnhauke:network:automation Matej Cepl 2021-04-07 20:04:58 +00:00
  • 9c70e227a4 Accepting request 829015 from devel:languages:python Dominique Leuenberger 2020-08-25 07:38:05 +00:00
  • adf242bbc9 Accepting request 828929 from home:mcalabkova:branches:devel:languages:python Tomáš Chvátal 2020-08-24 16:32:25 +00:00
  • b36cae94c4 Accepting request 817508 from devel:languages:python Dominique Leuenberger 2020-06-28 21:07:29 +00:00
  • 3001d5a313 Accepting request 817500 from home:mnhauke:network:automation Tomáš Chvátal 2020-06-28 11:03:20 +00:00
  • a7e32b47f0 Accepting request 812806 from devel:languages:python Dominique Leuenberger 2020-06-09 22:49:13 +00:00
  • 79b9a8a70e - remove pep8 unit tests, those are not useful to execute and fail Dirk Mueller 2020-06-09 07:44:56 +00:00
  • b1ccdfda2f Accepting request 791102 from devel:languages:python Dominique Leuenberger 2020-04-04 10:24:52 +00:00
  • 6cf6c35613 Accepting request 791100 from home:mnhauke:network:automation Tomáš Chvátal 2020-04-03 06:50:01 +00:00
  • 385642d045 Accepting request 788243 from devel:languages:python Dominique Leuenberger 2020-03-25 22:47:38 +00:00
  • 51fe992611 Accepting request 788238 from home:pgajdos:python Tomáš Chvátal 2020-03-25 15:12:19 +00:00
  • c0736fbfde Accepting request 763815 from devel:languages:python Dominique Leuenberger 2020-01-13 21:21:21 +00:00
  • dbfe51520d Accepting request 762909 from home:mnhauke:network:automation Tomáš Chvátal 2020-01-13 08:39:52 +00:00
  • 002bfdff86 Accepting request 734237 from devel:languages:python Dominique Leuenberger 2019-10-02 09:59:10 +00:00
  • 8ea71ce5f1 Accepting request 734151 from home:mnhauke Tomáš Chvátal 2019-10-01 08:22:02 +00:00