polars.testing.parametric.set_profile
-
Set the env var
POLARS_HYPOTHESIS_PROFILEto the given profile name/value.Warning
This functionality is currently considered unstable. It may be changed at any point without it being considered a breaking change.
- Parameters:
-
-
profile{str, int}, optional -
Name of the profile to load; one of “fast”, “balanced”, “expensive”, or the integer number of iterations to run (which will create and register a custom profile with that value).
-
Examples
>>> # prefer the 'balanced' profile for running parametric tests >>> from polars.testing.parametric import set_profile >>> set_profile("balanced")
polars.testing.parametric.set_profile(
profile: Literal['fast',
'balanced',
'expensive'] | int,
) → None
© 2020 Ritchie Vink
© 2022 Polars contributors
Licensed under the MIT License.
https://docs.pola.rs/api/python/stable/reference/api/polars.testing.parametric.set_profile.html