-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename Null to None in jinja (#1504)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Renames `Null` to `None` in Jinja templates and updates related logic and tests. > > - **Behavior**: > - Renames `Null` to `None` in Jinja templates in `jinja-runtime/src/lib.rs` and `jinja/src/evaluate_type/stmt.rs`. > - Updates logic in `predicate_implications()` to handle `None` instead of `Null`. > - **Tests**: > - Updates test functions `render_with_ne_none` and `test_type_narrowing_ne_none` to reflect the change from `Null` to `None`. > - Ensures all relevant test cases check for `None` instead of `Null`. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup> for e007e3c. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
- Loading branch information
1 parent
b8e3423
commit f42567d
Showing
3 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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