Release 3.6.0#96
Merged
Merged
Conversation
…r protocol error message
… it by the update_node_attributes method
Bugfix/host variables
…erty allow (ignore) None as a empty definition
Feature/pyflow 22 pyflow extern Limit ?
Add mirror attribute to `Task`, enforcing a default lower limit on polling time
…and factory methods for downstream applications. Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Add multiplication to expressions
ci: migrate ecmwf-actions references to ecmwf
Feature/troika
Hotfix/file_resource_script_generation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request introduces significant improvements and refactoring to the handling of repeat attributes, follow logic, and mathematical operations in the codebase. It unifies and refines the repeat attribute system, simplifies the follow logic to allow following nodes directly, and adds support for multiplication in expression trees. Additionally, several documentation and API adjustments were made to reflect these changes.
Repeat Attribute System Refactor:
Repeatclass and updated all repeat attribute classes (RepeatDay,RepeatString,RepeatEnumerated,RepeatDateList,RepeatInteger,RepeatDate) to inherit from it, centralizing repeat logic and improving consistency. [1] [2] [3] [4] [5] [6]string_or_enumeratedhelper and deprecated repeat construction via lists inmake_variable, enforcing explicit repeat attribute instantiation. [1] [2]repeatproperty to base nodes, defaulting toNone, to standardize repeat attribute access.Follow Logic Simplification:
Followattribute to allow following a node or its repeat attribute directly, rather than requiring a repeat attribute, making the API more intuitive and flexible.Mathematical Expression Enhancements:
Mul(multiplication) operation to the expression system and updated all relevant expression and repeat attribute classes to support multiplication, in addition to addition and subtraction. [1] [2] [3] [4] [5] [6]Documentation and API Reference Updates:
ExternYMDwithExternRepeatand updating class listings. [1] [2] [3]Mirror, and improved parameter validation (e.g., for polling intervals). [1] [2]Miscellaneous Improvements:
Nonein_createand minor simplifications in expressions. [1] [2] [3]These changes collectively improve the maintainability, usability, and flexibility of the repeat and follow features, while ensuring the documentation and API remain consistent and clear.
Contributor Declaration
By opening this pull request, I affirm the following:
📚 Documentation preview 📚: https://pyflow-workflow-generator--96.org.readthedocs.build/en/96/