This content is also available at learn.palantir.com ↗ and is presented here for accessibility purposes.
At this point, you have three interrelated artifacts:
Library: yourName_cleaning_functions
| This will be the discoverable library name, and it can be altered in your repository's gradle.properties
file.
Package: cleaning_functions
| Changing the name of the folder will update the package name.
Modules: cleaning_utils
and type_utils.py
| Code files in shared repository folders containing an __init.py__
will be published as modules.
Looking ahead, repositories that want to make use of your library will first import the library in the Libraries panel and then reference the modules in an import statement, like this:
from cleaning_functions import type_utils as ${alias}
Publishing your library so that it is discoverable by other Foundry users at your organization requires passing CI checks and then tagging your branch or commit with a semantic version.
More ▾
dropdown menu).0.0.1
on creation, which you'll see in the list of tags.Master
) with a new semantic version. For example, consider clicking the Minor button to increment the version to 0.1.0
.More ▾
dropdown menu).