-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- fix windows issues - Fix inlinedbaml creation in windows machines
- Loading branch information
Showing
10 changed files
with
97 additions
and
96 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
3 changes: 1 addition & 2 deletions
3
engine/language-client-codegen/src/python/templates/inlinedbaml.py.j2
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
import json | ||
|
||
file_map = { | ||
{% for k in file_map %} | ||
"{{ k.0 }}": {{ k.1 }}, | ||
{{ k.0 }}: {{ k.1 }}, | ||
{%- endfor %} | ||
} | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
engine/language-client-codegen/src/typescript/templates/inlinedbaml.ts.j2
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[project] | ||
name = "baml-py" | ||
version = "0.34.0" | ||
version = "0.35.0" | ||
description = "BAML python bindings (pyproject.toml)" | ||
readme = "README.md" | ||
authors = [["Boundary", "[email protected]"]] | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
Run the tests like this: | ||
|
||
infisical run --env=test -- poetry run pytest app/test_functions.py | ||
infisical run --env=devasen -- poetry run pytest app/test_functions.py | ||
|
||
env -u CONDA_PREFIX poetry run maturin develop --manifest-path ../../engine/language_client_python/Cargo.toml && poetry run baml-cli generate --from ../baml_src | ||
|
||
BAML_LOG=baml_events infisical run --env=test -- poetry run pytest app/test_functions.py -s | ||
BAML_LOG=baml_events infisical run --env=dev -- poetry run pytest app/test_functions.py -s | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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