Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Fix Python dynamic types example (#979)
Stumbled upon this broken example in the documentation. This: - removes the `const` declaration - uses `snake_case` variable names - imports the async client so that the example runs without modifications Related but not changed here: if copied as is (with the fixes), the example will throw a `BamlValidationError` since the input `"some user info"` doesn't contain the needed information. Replacing that with a sentence like "Bill (16) plays soccer in Germany" will lead to a valid output. Happy to pull up a patch for that as well if you want.
- Loading branch information