Skip to content

Added possibility to use 'default_value' with Variable class #98

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 16, 2025

Conversation

Endogen
Copy link
Contributor

@Endogen Endogen commented Dec 8, 2024

Description

The class Hash has the parameter default_value which can be used to define a default value for that Hash while initializing it. That same functionality was not available for the class Variable. This PR allows this.

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

Checklist

  • I have performed a self-review of my own code
  • I have tested this change in my development environment.
  • I have added tests to prove that this change works
  • All existing tests pass after this change
  • I have added / updated documentation related to this change

@Endogen Endogen added the enhancement New feature or request label Dec 8, 2024
@Endogen Endogen self-assigned this Dec 8, 2024
@duelingbenjos duelingbenjos self-requested a review January 16, 2025 16:13
@Endogen Endogen merged commit 38745aa into master Jan 16, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants