Announcements

REMINDER: Sign up for the Foundry Newsletter to receive a summary of new products, features, and improvements across the platform directly to your inbox. For more information on how to subscribe, see the Foundry Newsletter and Product Feedback channels announcement.

Share your thoughts about these announcements in our Developer Community Forum ↗.


Use Python transforms in VS Code workspaces [Beta]

Date published: 2025-01-14

We are excited to announce that you can now develop Python transforms in VS Code workspaces, allowing you to use the Visual Studio Code IDE to seamlessly develop your Python transforms with Palantir workflows. This beta feature is available to all users who have access to VS Code workspaces (also in beta).

The VS Code workspace interface, featuring improved developer tools.

The VS Code workspace interface, featuring improved developer tools.

Why should I develop my Python transforms in VS Code?

Python transforms with VS Code workspaces unlock significant improvements to tooling and capabilities that meaningfully improve developer workflows. You can expect the following updates to your developer experience:

  • Fully customizable IDE: Customize the VS Code workspace IDE to your preference, with themes, keybindings, interface layouts, and more.
  • Palantir extension for Visual Studio Code: This extension bridges VS Code and Foundry, allowing you to perform and use Python transform operations (such as transforms preview, debugging, and the library panel) natively in VS Code.
  • Full dataset (sample-less) preview: Rather than running a full build, you can run previews on the full dataset to get results.
  • Performant language server: Benefit from fast autocomplete suggestions and linting.
  • Transforms type hints: Use a transforms-aware linter that suggests correct transforms parameter types.
  • Optimized environment setup: Use Palantir’s latest high-performance environment management tool to set up your Python environment quickly and efficiently.
  • Terminal access: Use a powerful and efficient tool to run shell commands. For example, you can run a Python interactive shell or git CLI.
  • Improved source control: Leverage VS Code’s built-in source control interface or the git CLI in the terminal for complex source control operations.

Get started

To start using Python transforms in VS Code workspaces, open your transforms repository in the Code Repositories application. From here, select Open in VS Code from the top right corner of the screen, which will take you to a VS Code workspace:

Open your Python transforms code repository in a VS Code workspace by selecting Open in VS Code.

Open your Python transforms code repository in a VS Code workspace by selecting Open in VS Code.

VS Code workspaces are in a beta state and available by default in all Organizations where Code Workspaces is enabled. If you do not see the option to open your code repository in a VS Code workspace, contact Palantir Support to learn how to enable access.

Limitations

Python transforms in VS Code workspaces is a new feature; some transforms preview components are not yet supported. We are actively working to add support for all missing features. For more information, review our documentation.