jar.get_jar
jar.get_jar(
mode=JarMode.PROD,
local_path=None,
jar_dir=None,
auto_download=True,
)Get path to a jar, downloading if necessary.
Convenience function equivalent to JarManager().get_jar().
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| mode | JarMode | The jar mode (PROD, DEV, or LOCAL). | JarMode.PROD |
| local_path | Path | None | Custom path for LOCAL mode. | None |
| jar_dir | Path | None | Directory for storing jars. | None |
| auto_download | bool | If True, download if not present. | True |
Returns
| Name | Type | Description |
|---|---|---|
| Path | Path to the jar file. |