It is possible to carry out local development of transforms Python repositories, allowing for high-speed iterative development.
JAVA_HOME
points to the right Java installation. Java 17 can be downloaded from the Oracle website ↗.Set the JAVA_HOME
environment variable based on your operating system:
SETX JAVA_HOME -m "<java-home-dir>"
in PowerShell. This modifies the system environment variable, so you will need to restart the shell for changes to take effect. Alternatively, you can run [System.Environment]::SetEnvironmentVariable("JAVA_HOME", "<java-home-dir>")
to set JAVA_HOME
in the running process.export JAVA_HOME=<java-home-dir>
.There are two options for developing locally in your Python transforms repository:
The Palantir extension for Visual Studio Code is in the beta phase of development and may not be available on your enrollment. To enable the extension and local preview capabilities, contact your platform administrator to modify Code Repositories settings in Control Panel. The Palantir extension for Visual Studio Code is enabled by default when using VS Code workspaces.
If you experience unexpected language server errors such as broken imports, the Python interpreter's automatic set up may have failed. To fix this, you can manually set up the interpreter by navigating to the Command Palette ↗, then typing Python: Select interpreter
and choosing a Python interpreter matching the path ./maestro/bin/python
. The .maestro
folder should be present if the Palantir extension successfully ran the Palantir: Install Python environment
command.
CI
, JEMMA
, and CA
are not set./usr/sbin/softwareupdate --install-rosetta --agree-to-license
in the terminal.git clone <URL>
on your local machine in a directory of your choice. Then, use the cd
command to navigate to the repository.Dataset previews are supported in local development. Refer to local preview for more details.