pltr-cli 0.18.0__tar.gz → 0.20.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/.github/workflows/ci.yml +3 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/CHANGELOG.md +112 -1
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/PKG-INFO +6 -7
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/README.md +5 -6
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/README.md +2 -1
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/SKILL.md +116 -9
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/ontologies/action.md +4 -4
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/ontologies/ontology-transaction.md +1 -1
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/data-health.md +1 -1
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/ontology.md +3 -32
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/orchestration.md +11 -11
- pltr_cli-0.20.0/claude_skill/reference/curated/osdk.md +24 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/resource.md +11 -1
- pltr_cli-0.20.0/claude_skill/reference/curated/site.md +42 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/index.md +5 -3
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/workflows/builds-and-schedules.md +11 -3
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/workflows/explore-data.md +5 -3
- pltr_cli-0.20.0/claude_skill/workflows/osdk-react-app.md +361 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/docs/api/wrapper.md +1 -2
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/docs/development/command-contract.md +24 -3
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/docs/development/live-verification.md +74 -8
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/docs/development/sdk-guardrail.md +0 -1
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/docs/user-guide/commands.md +173 -10
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/docs/user-guide/troubleshooting.md +5 -5
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/docs/user-guide/workflows.md +1 -1
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/pyproject.toml +1 -1
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/scripts/generate_api_commands.py +8 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/scripts/sdk_calls.py +0 -3
- pltr_cli-0.20.0/src/pltr/__init__.py +1 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/cli.py +10 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/api/_specs/ontologies.py +5 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/data_health.py +13 -3
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/ontology.py +35 -123
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/orchestration.py +151 -22
- pltr_cli-0.20.0/src/pltr/commands/osdk.py +353 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/resource.py +131 -1
- pltr_cli-0.20.0/src/pltr/commands/site.py +466 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/contract/__init__.py +4 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/contract/errors.py +1 -1
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/contract/hints.py +78 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/contract/resources.py +172 -27
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/manifest.py +1 -1
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/services/ontology.py +5 -186
- pltr_cli-0.20.0/src/pltr/services/osdk.py +621 -0
- pltr_cli-0.20.0/src/pltr/services/osdk_generate.mjs +45 -0
- pltr_cli-0.20.0/src/pltr/services/osdk_generator/package-lock.json +1420 -0
- pltr_cli-0.20.0/src/pltr/services/osdk_generator/package.json +8 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/services/resource.py +78 -0
- pltr_cli-0.20.0/src/pltr/services/site.py +275 -0
- pltr_cli-0.20.0/src/pltr/services/third_party_applications.py +143 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/services/waiting.py +4 -2
- pltr_cli-0.20.0/tests/osdk_fakes.py +180 -0
- pltr_cli-0.20.0/tests/test_commands/test_build_paths.py +564 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_ontology.py +181 -219
- pltr_cli-0.20.0/tests/test_commands/test_osdk.py +595 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_resource_paths.py +1 -1
- pltr_cli-0.20.0/tests/test_commands/test_resource_wait.py +407 -0
- pltr_cli-0.20.0/tests/test_commands/test_site.py +722 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/__init__.py +7 -1
- pltr_cli-0.20.0/tests/test_contract/cases/data/site/index.html +2 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/ontology.py +0 -3
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/orchestration.py +5 -3
- pltr_cli-0.20.0/tests/test_contract/cases/osdk.py +24 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/resource.py +1 -0
- pltr_cli-0.20.0/tests/test_contract/cases/site.py +28 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/test_cli_contract.py +14 -2
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/test_hints.py +92 -1
- pltr_cli-0.20.0/tests/test_contract/test_json_paths.py +189 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/test_resource_paths_cli.py +36 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_services/test_ontology.py +0 -153
- pltr_cli-0.20.0/tests/test_services/test_osdk.py +632 -0
- pltr_cli-0.20.0/tests/test_services/test_site.py +413 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/uv.lock +1 -1
- pltr_cli-0.18.0/src/pltr/__init__.py +0 -1
- pltr_cli-0.18.0/src/pltr/services/third_party_applications.py +0 -30
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/.github/workflows/publish.yml +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/.github/workflows/test-publish.yml +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/.gitignore +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/.pre-commit-config.yaml +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/CLAUDE.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/LICENSE +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/RELEASE.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/admin/cbac-banner.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/admin/cbac-marking-restrictions.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/admin/enrollment.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/admin/group.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/admin/marking-category.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/admin/marking.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/admin/organization.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/admin/role.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/admin/user.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/aip-agents.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/audit.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/checkpoints.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/connectivity.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/data-health.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/datasets.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/filesystem.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/functions.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/language-models.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/media-sets.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/models.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/ontologies/action-type-full-metadata.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/ontologies/attachment-property.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/ontologies/attachment.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/ontologies/cipher-text-property.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/ontologies/geotemporal-series-property.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/ontologies/linked-object.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/ontologies/media-reference-property.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/ontologies/ontology-interface.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/ontologies/ontology-object-set.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/ontologies/ontology-object.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/ontologies/ontology-scenario.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/ontologies/ontology-value-type.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/ontologies/ontology.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/ontologies/query.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/ontologies/time-series-property-v2.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/ontologies/time-series-value-bank-property.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/orchestration.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/sql-queries.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/streams.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/third-party-applications.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/widgets.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/admin.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/aip-agents.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/alias.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/assert.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/audit.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/commands.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/completion.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/configure.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/connectivity.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/context.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/cp.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/dataset.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/folder.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/functions.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/hello.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/language-models.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/media-sets.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/models.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/project.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/resource-role.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/shell.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/space.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/sql.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/streams.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/third-party-apps.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/verify.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/curated/widgets.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/workflows/permissions.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/docs/README.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/docs/api-commands.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/docs/examples/csv-upload.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/docs/examples/gallery.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/docs/features/dataset-transactions.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/docs/migration/v2-pagination.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/docs/pagination.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/docs/user-guide/aliases.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/docs/user-guide/authentication.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/docs/user-guide/claude-skill.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/docs/user-guide/quick-start.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/mypy.ini +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/scripts/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/scripts/check_command_metadata.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/scripts/check_sdk_calls.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/scripts/coverage.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/scripts/generate_skill_reference.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/scripts/release.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/scripts/smoke.example.toml +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/scripts/smoke.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/__main__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/auth/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/auth/base.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/auth/environment.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/auth/manager.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/auth/oauth.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/auth/storage.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/auth/token.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/admin.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/aip_agents.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/alias.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/api/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/api/_runtime.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/api/_specs/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/api/_specs/admin.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/api/_specs/aip_agents.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/api/_specs/audit.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/api/_specs/checkpoints.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/api/_specs/connectivity.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/api/_specs/data_health.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/api/_specs/datasets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/api/_specs/filesystem.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/api/_specs/functions.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/api/_specs/language_models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/api/_specs/media_sets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/api/_specs/models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/api/_specs/orchestration.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/api/_specs/sql_queries.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/api/_specs/streams.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/api/_specs/third_party_applications.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/api/_specs/widgets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/assertions.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/audit.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/completion.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/configure.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/connectivity.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/context.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/cp.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/dataset.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/folder.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/functions.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/language_models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/manifest.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/mediasets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/project.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/resource_role.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/shell.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/space.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/sql.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/streams.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/third_party_applications.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/verify.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/commands/widgets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/config/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/config/aliases.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/config/profiles.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/config/settings.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/contract/codegen.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/contract/command.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/contract/emit.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/contract/options.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/contract/output.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/contract/runtime.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/contract/serialize.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/services/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/services/admin.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/services/aip_agents.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/services/audit.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/services/base.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/services/connectivity.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/services/copy.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/services/data_health.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/services/dataset.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/services/folder.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/services/functions.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/services/language_models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/services/mediasets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/services/models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/services/orchestration.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/services/project.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/services/resource_role.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/services/space.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/services/sql.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/services/streams.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/services/verify.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/services/widgets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/utils/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/utils/alias_resolver.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/src/pltr/utils/completion.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/conftest.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/foundry_json.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/foundry_json_admin.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/foundry_json_aip_agents.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/foundry_json_audit.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/foundry_json_connectivity.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/foundry_json_data_health.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/foundry_json_dataset.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/foundry_json_filesystem.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/foundry_json_functions.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/foundry_json_language_models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/foundry_json_mediasets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/foundry_json_models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/foundry_json_ontology.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/foundry_json_orchestration.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/foundry_json_sql.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/foundry_json_streams.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/foundry_json_widgets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/integration/README.md +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/integration/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/integration/conftest.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/integration/test_auth_flow.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/integration/test_cli_integration.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/integration/test_data_workflows.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/integration/test_data_workflows_simple.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/integration/test_simple_integration.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/sdk_call_allowlist.txt +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_api_commands/conftest.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_api_commands/test_behaviour.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_api_commands/test_generator.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_api_commands/test_lazy_loading.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_api_commands/test_namespaces.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_auth/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_auth/fakes.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_auth/test_base.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_auth/test_headless_auth.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_auth/test_manager.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_auth/test_oauth.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_auth/test_storage.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_auth/test_token.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_cli_help.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_admin.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_aip_agents.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_alias.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_assert.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_audit.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_completion.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_configure.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_connectivity.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_context.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_cp.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_data_health.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_dataset.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_dataset_files.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_dataset_transactions.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_dataset_views.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_folder.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_functions.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_language_models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_mediasets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_orchestration.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_project.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_resource.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_resource_role.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_shell.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_space.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_sql.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_streams.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_third_party_applications.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_verify.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_wait.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_commands/test_widgets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_config/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_config/test_aliases.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_config/test_profiles.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_config/test_settings.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/admin.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/aip_agents.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/api.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/assertions.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/audit.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/connectivity.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/context.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/cp.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/data/connectivity-driver.jar +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/data/connectivity-secrets.json +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/data_health.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/dataset.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/folder.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/functions.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/language_models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/local.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/manifest.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/mediasets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/project.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/resource_role.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/space.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/sql.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/streams.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/third_party_applications.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/verify.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/cases/widgets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/test_codegen.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/test_command.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/test_emit_code.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/test_errors.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/test_options.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/test_output.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/test_resources.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/test_runtime.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/test_serialize.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_contract/test_table_rows_timezones.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_debug_tracebacks.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_dependencies.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_docs_examples.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_entry_point.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_manifest/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_manifest/conftest.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_manifest/test_manifest_build.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_manifest/test_manifest_cli.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_manifest/test_manifest_search.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_manifest/test_metadata_crosscheck.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_manifest/test_skill_reference.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_sdk_call_checker.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_sdk_call_guardrail.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_services/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_services/test_admin.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_services/test_aip_agents.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_services/test_audit.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_services/test_base.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_services/test_connectivity.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_services/test_copy.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_services/test_data_health.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_services/test_dataset.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_services/test_dataset_transactions.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_services/test_folder.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_services/test_functions.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_services/test_language_models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_services/test_mediasets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_services/test_models.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_services/test_orchestration.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_services/test_project.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_services/test_resource.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_services/test_resource_role.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_services/test_space.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_services/test_sql.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_services/test_streams.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_services/test_widgets.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_smoke_script.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_smoke_script_stubbed.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_startup.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_utils/__init__.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_utils/test_alias_resolver.py +0 -0
- {pltr_cli-0.18.0 → pltr_cli-0.20.0}/tests/test_utils/test_rid_cache.py +0 -0
|
@@ -103,6 +103,9 @@ jobs:
|
|
|
103
103
|
pltr --version
|
|
104
104
|
pltr --help
|
|
105
105
|
pltr api --help
|
|
106
|
+
# The Node helper and the generator's lockfile of `pltr osdk generate`
|
|
107
|
+
# must ship in the wheel (#220).
|
|
108
|
+
python -c "from pltr.services.osdk import HELPER, LOCK_DIR; assert HELPER.is_file(); assert (LOCK_DIR / 'package-lock.json').is_file()"
|
|
106
109
|
|
|
107
110
|
- name: Check the error contract (JSON error on stderr, documented exit code)
|
|
108
111
|
working-directory: ${{ runner.temp }}
|
|
@@ -12,6 +12,115 @@ and pull requests. Numbers in parentheses are pull requests or issues.
|
|
|
12
12
|
|
|
13
13
|
## [Unreleased]
|
|
14
14
|
|
|
15
|
+
## [0.20.0] - 2026-11-11
|
|
16
|
+
|
|
17
|
+
This release tidies the ontology commands before the dataset-to-OSDK-app
|
|
18
|
+
demo (#203). The two commands that tried to create object and link types
|
|
19
|
+
are removed, since the Platform API has no endpoints for that. Commands
|
|
20
|
+
that apply ontology actions now ask before making edits. **Breaking:**
|
|
21
|
+
scripts that apply actions without `--yes` now stop with exit code 2.
|
|
22
|
+
|
|
23
|
+
### Breaking changes
|
|
24
|
+
|
|
25
|
+
- **Applying an ontology action asks first** (#217). An action's edits can
|
|
26
|
+
create, modify or delete objects, so the commands that apply them are now
|
|
27
|
+
destructive, like deletes and SNAPSHOT uploads: they ask for confirmation,
|
|
28
|
+
`--yes` skips the question, and with `--format json` or without a terminal
|
|
29
|
+
they fail with exit code 2 (`confirmation_required`) and apply nothing
|
|
30
|
+
unless `--yes` is given. **Scripts that apply actions without `--yes` now
|
|
31
|
+
stop.** The commands are `ontology action-apply` and `action-apply-batch`
|
|
32
|
+
(which gain `--yes`), and `pltr api ontologies action apply`, `apply-batch`,
|
|
33
|
+
`apply-with-overrides`, `apply-batch-with-overrides` and
|
|
34
|
+
`pltr api ontologies ontology-transaction post-edits`. `ontology
|
|
35
|
+
action-validate` is unchanged: it never applies anything, and the prompt
|
|
36
|
+
and help point to it as the dry run. The manifest marks all seven
|
|
37
|
+
`destructive: true`.
|
|
38
|
+
|
|
39
|
+
### Removed
|
|
40
|
+
|
|
41
|
+
- **`ontology object-type-create` and `ontology link-type-create`** (#216).
|
|
42
|
+
They could never succeed: the Foundry Platform API has no endpoints for
|
|
43
|
+
creating object types or link types, and every endpoint they tried
|
|
44
|
+
answered 404 (`RouteNotMounted`) on a current stack. Create object, link
|
|
45
|
+
and action types in Ontology Manager, or in an Ontology as Code repository
|
|
46
|
+
with [`@osdk/maker`](https://github.com/palantir/osdk-ts/tree/main/packages/maker)
|
|
47
|
+
where your stack has one; pltr then reads their objects and applies their
|
|
48
|
+
actions.
|
|
49
|
+
|
|
50
|
+
## [0.19.0] - 2026-11-10
|
|
51
|
+
|
|
52
|
+
This release fills the gaps found building a dataset-to-OSDK-app demo with
|
|
53
|
+
a coding agent (#203): build a dataset by its Compass path, wait for a
|
|
54
|
+
pushed transform's output to appear, generate an OSDK package from the pltr
|
|
55
|
+
profile, and deploy a built web app in one command. There are no breaking
|
|
56
|
+
changes.
|
|
57
|
+
|
|
58
|
+
### Added
|
|
59
|
+
|
|
60
|
+
- **Builds from Compass paths: `orchestration builds create --dataset`**
|
|
61
|
+
(#218). `--dataset <RID or path>` (repeatable) builds exactly those
|
|
62
|
+
datasets, the same as a `{"type": "manual", "targetRids": [...]}` TARGET,
|
|
63
|
+
which is then left out; giving both, or neither, is a usage error (exit 2).
|
|
64
|
+
Inside JSON arguments, these RID fields now take Compass paths too,
|
|
65
|
+
resolved in one lookup per command before the request (a missing path is
|
|
66
|
+
`path_not_found`, exit 5): `targetRids`, `inputRids` and
|
|
67
|
+
`ignoredRids` in `builds create`'s TARGET and in `schedules
|
|
68
|
+
create`/`replace`'s ACTION; `datasetRid` and `mediaSetRid` in `--trigger`;
|
|
69
|
+
`projectRids` in `--scope-mode`; and the subject's `datasetRid` in
|
|
70
|
+
`data-health check create`. A bare RID or path given as TARGET is a usage
|
|
71
|
+
error that points at `--dataset`.
|
|
72
|
+
- **A hint when there is nothing to build** (#218). When Foundry refuses a
|
|
73
|
+
build because its targets are up to date (`BuildTargetsUpToDate`, still
|
|
74
|
+
exit 6), the error says so and its `suggestedCommand` repeats the command
|
|
75
|
+
with `--force` (`--force-build` for `pltr api orchestration build create`).
|
|
76
|
+
- **`pltr resource wait <rid-or-path>`: wait until a resource exists**
|
|
77
|
+
(#219). It is for the step between a git push to a code repository and a
|
|
78
|
+
build: on the first push, Foundry's checks create the transform's output
|
|
79
|
+
dataset, which takes a few minutes. pltr polls the path (or RID), 2 s at
|
|
80
|
+
first and growing to at most 10 s, and prints the resource as soon as it
|
|
81
|
+
exists (exit 0). A 404 `PathNotFound` or `ResourceNotFound` means "not
|
|
82
|
+
yet". Other errors fail at once, except rate limits, 5xx and network
|
|
83
|
+
errors once polling has started, which are retried. After `--timeout`
|
|
84
|
+
(default 600 s) it exits 9
|
|
85
|
+
(`wait_timeout`) with a `suggestedCommand` that waits again. A build, job,
|
|
86
|
+
transaction or schedule RID exits 2 (`wrong_resource_type`) before any call,
|
|
87
|
+
since the API answers "not found" for those too. The public API has no
|
|
88
|
+
code repository check or commit status, so there is no `--after-commit`:
|
|
89
|
+
for a dataset that already exists the command returns at once.
|
|
90
|
+
- **`pltr osdk generate`: an OSDK TypeScript package from the pltr profile**
|
|
91
|
+
(#220). `pltr osdk generate --ontology <name|rid> --object-type A
|
|
92
|
+
[--action-type x] [--query-type q] [--link-type A.b] [--interface-type I]
|
|
93
|
+
--out ./osdk [--package-name @app/sdk] [--package-version 0.0.1]` runs
|
|
94
|
+
Palantir's `@osdk/foundry-sdk-generator`, pinned to 2.87.0, with the host
|
|
95
|
+
and token pltr uses: no Developer Console application is needed. It needs
|
|
96
|
+
Node.js 18+ and npm (`missing_dependency`, exit 2, when they're missing or
|
|
97
|
+
too old) and installs the generator into `~/.cache/pltr/osdk-generator`
|
|
98
|
+
on first use, with `npm ci` from a lockfile pltr ships, so its dependencies
|
|
99
|
+
are pinned too. The token is never on a command line: a Node script shipped
|
|
100
|
+
with pltr calls the generator's library entry point in-process and reads
|
|
101
|
+
the token from an environment variable. The result has the package path,
|
|
102
|
+
the `package.json` dependency line, the `@osdk` packages and versions the
|
|
103
|
+
app needs, and the `"overrides": {"@osdk/api": "2.87.0"}` entry that
|
|
104
|
+
avoids TS2322 errors with `@osdk/react`. `--replace` regenerates an
|
|
105
|
+
existing package, which is swapped in only once the new one is complete.
|
|
106
|
+
A failed install, generation or replacement is `work_failed` (exit 8),
|
|
107
|
+
with the generator's errors.
|
|
108
|
+
The skill has a minimal OSDK React app recipe
|
|
109
|
+
(`claude_skill/workflows/osdk-react-app.md`), since `npx @osdk/create-app`
|
|
110
|
+
needs a terminal.
|
|
111
|
+
- **`pltr site deploy DIST_DIR --application <rid>`** deploys a built web app
|
|
112
|
+
(an OSDK React app, say) to a third-party application's website in one
|
|
113
|
+
command (#221): it checks the folder (`index.html` at its root), zips it,
|
|
114
|
+
checks that the version is new, uploads it and deploys it, retrying while
|
|
115
|
+
Foundry scans the upload (`--timeout`, exit 9). The version comes from
|
|
116
|
+
`--version`, or `--auto-version package-json|git-describe` (a dirty tree
|
|
117
|
+
or a non-semver tag is refused); without one the command refuses to run.
|
|
118
|
+
It prints the version, the website's subdomains and its `url`. Deploying
|
|
119
|
+
asks first (`--yes`); `--upload-only` doesn't deploy. `pltr site versions`
|
|
120
|
+
lists the uploaded versions, and `pltr site rollback VERSION` deploys one.
|
|
121
|
+
The one-time setup in Developer Console and Control Panel is in the
|
|
122
|
+
Command Reference and the skill.
|
|
123
|
+
|
|
15
124
|
## [0.18.0] - 2026-11-08
|
|
16
125
|
|
|
17
126
|
This release makes pltr easier for coding agents to build on Foundry with
|
|
@@ -1354,7 +1463,9 @@ No changes to pltr itself; only the version number changed.
|
|
|
1354
1463
|
and OAuth2 profiles, with credentials in the system keyring),
|
|
1355
1464
|
`pltr verify`, `pltr dataset get` and `pltr dataset create`.
|
|
1356
1465
|
|
|
1357
|
-
[Unreleased]: https://github.com/anjor/pltr-cli/compare/v0.
|
|
1466
|
+
[Unreleased]: https://github.com/anjor/pltr-cli/compare/v0.20.0...HEAD
|
|
1467
|
+
[0.20.0]: https://github.com/anjor/pltr-cli/compare/v0.19.0...v0.20.0
|
|
1468
|
+
[0.19.0]: https://github.com/anjor/pltr-cli/compare/v0.18.0...v0.19.0
|
|
1358
1469
|
[0.18.0]: https://github.com/anjor/pltr-cli/compare/v0.17.0...v0.18.0
|
|
1359
1470
|
[0.17.0]: https://github.com/anjor/pltr-cli/compare/v0.16.0...v0.17.0
|
|
1360
1471
|
[0.16.0]: https://github.com/anjor/pltr-cli/compare/v0.15.0...v0.16.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: pltr-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.20.0
|
|
4
4
|
Summary: Command-line interface for Palantir Foundry APIs
|
|
5
5
|
Project-URL: Homepage, https://github.com/anjor/pltr-cli
|
|
6
6
|
Project-URL: Repository, https://github.com/anjor/pltr-cli
|
|
@@ -267,14 +267,14 @@ pltr is built to be scripted, by people and by agents.
|
|
|
267
267
|
|---|---|---|
|
|
268
268
|
| 0 | Success | |
|
|
269
269
|
| 1 | Unexpected error, or "no" at a confirmation prompt | `unexpected_error`, `aborted` |
|
|
270
|
-
| 2 | Usage error: bad or missing arguments, invalid JSON input, a path to the wrong kind of resource, or `--yes` required | `usage_error`, `confirmation_required`, `wrong_resource_type` |
|
|
270
|
+
| 2 | Usage error: bad or missing arguments, invalid JSON input, a path to the wrong kind of resource, or `--yes` required; or Node.js or npm is missing or too old (`pltr osdk generate`) | `usage_error`, `confirmation_required`, `wrong_resource_type`, `missing_dependency` |
|
|
271
271
|
| 3 | Authentication: no usable credentials, or HTTP 401 | `auth_error` |
|
|
272
272
|
| 4 | Permission denied (HTTP 403) | `permission_denied` |
|
|
273
273
|
| 5 | Not found (HTTP 404), or no resource at a path you gave | `not_found`, `api_not_found`, `path_not_found` |
|
|
274
274
|
| 6 | API validation error (HTTP 400, 422) | `validation_error` |
|
|
275
275
|
| 7 | Other API or network error: HTTP 409, 413, 429, 5xx, timeouts, connection errors; or the API's response doesn't match the SDK's model or isn't JSON (`invalid_response`: upgrade pltr, a retry won't help) | `conflict`, `request_too_large`, `rate_limited`, `server_error`, `api_error`, `invalid_response`, `network_error`, `timeout` |
|
|
276
|
-
| 8 | The work finished but failed (a build, query or import waited for with `--wait`), or a `pltr assert` check failed | `work_failed`, `assertion_failed` |
|
|
277
|
-
| 9 | `--wait` timed out; the work keeps running
|
|
276
|
+
| 8 | The work finished but failed (a build, query or import waited for with `--wait`, or the generator `pltr osdk generate` runs), or a `pltr assert` check failed | `work_failed`, `assertion_failed` |
|
|
277
|
+
| 9 | `--wait` timed out; the work keeps running. Or `resource wait` timed out: still nothing at the path. The error's `suggestedCommand` waits again | `wait_timeout` |
|
|
278
278
|
|
|
279
279
|
**Destructive commands ask first.** Commands that delete, remove, revoke,
|
|
280
280
|
reset, cancel, abort or replace something ask for confirmation, and
|
|
@@ -524,9 +524,8 @@ that call beta Foundry endpoints say `[beta]` at the start of their help.
|
|
|
524
524
|
pltr orchestration builds search --status FAILED --branch master
|
|
525
525
|
pltr orchestration builds search --started-after 2026-01-31T00:00:00Z --format json
|
|
526
526
|
|
|
527
|
-
# Start a build of a dataset, follow it, cancel it
|
|
528
|
-
pltr orchestration builds create
|
|
529
|
-
'{"type": "manual", "targetRids": ["<dataset-rid>"]}' --branch master
|
|
527
|
+
# Start a build of a dataset (RID or path), follow it, cancel it
|
|
528
|
+
pltr orchestration builds create --dataset /Space/Project/sales --branch master
|
|
530
529
|
pltr orchestration builds get <build-rid>
|
|
531
530
|
pltr orchestration builds jobs <build-rid>
|
|
532
531
|
pltr orchestration builds cancel <build-rid> --yes
|
|
@@ -224,14 +224,14 @@ pltr is built to be scripted, by people and by agents.
|
|
|
224
224
|
|---|---|---|
|
|
225
225
|
| 0 | Success | |
|
|
226
226
|
| 1 | Unexpected error, or "no" at a confirmation prompt | `unexpected_error`, `aborted` |
|
|
227
|
-
| 2 | Usage error: bad or missing arguments, invalid JSON input, a path to the wrong kind of resource, or `--yes` required | `usage_error`, `confirmation_required`, `wrong_resource_type` |
|
|
227
|
+
| 2 | Usage error: bad or missing arguments, invalid JSON input, a path to the wrong kind of resource, or `--yes` required; or Node.js or npm is missing or too old (`pltr osdk generate`) | `usage_error`, `confirmation_required`, `wrong_resource_type`, `missing_dependency` |
|
|
228
228
|
| 3 | Authentication: no usable credentials, or HTTP 401 | `auth_error` |
|
|
229
229
|
| 4 | Permission denied (HTTP 403) | `permission_denied` |
|
|
230
230
|
| 5 | Not found (HTTP 404), or no resource at a path you gave | `not_found`, `api_not_found`, `path_not_found` |
|
|
231
231
|
| 6 | API validation error (HTTP 400, 422) | `validation_error` |
|
|
232
232
|
| 7 | Other API or network error: HTTP 409, 413, 429, 5xx, timeouts, connection errors; or the API's response doesn't match the SDK's model or isn't JSON (`invalid_response`: upgrade pltr, a retry won't help) | `conflict`, `request_too_large`, `rate_limited`, `server_error`, `api_error`, `invalid_response`, `network_error`, `timeout` |
|
|
233
|
-
| 8 | The work finished but failed (a build, query or import waited for with `--wait`), or a `pltr assert` check failed | `work_failed`, `assertion_failed` |
|
|
234
|
-
| 9 | `--wait` timed out; the work keeps running
|
|
233
|
+
| 8 | The work finished but failed (a build, query or import waited for with `--wait`, or the generator `pltr osdk generate` runs), or a `pltr assert` check failed | `work_failed`, `assertion_failed` |
|
|
234
|
+
| 9 | `--wait` timed out; the work keeps running. Or `resource wait` timed out: still nothing at the path. The error's `suggestedCommand` waits again | `wait_timeout` |
|
|
235
235
|
|
|
236
236
|
**Destructive commands ask first.** Commands that delete, remove, revoke,
|
|
237
237
|
reset, cancel, abort or replace something ask for confirmation, and
|
|
@@ -481,9 +481,8 @@ that call beta Foundry endpoints say `[beta]` at the start of their help.
|
|
|
481
481
|
pltr orchestration builds search --status FAILED --branch master
|
|
482
482
|
pltr orchestration builds search --started-after 2026-01-31T00:00:00Z --format json
|
|
483
483
|
|
|
484
|
-
# Start a build of a dataset, follow it, cancel it
|
|
485
|
-
pltr orchestration builds create
|
|
486
|
-
'{"type": "manual", "targetRids": ["<dataset-rid>"]}' --branch master
|
|
484
|
+
# Start a build of a dataset (RID or path), follow it, cancel it
|
|
485
|
+
pltr orchestration builds create --dataset /Space/Project/sales --branch master
|
|
487
486
|
pltr orchestration builds get <build-rid>
|
|
488
487
|
pltr orchestration builds jobs <build-rid>
|
|
489
488
|
pltr orchestration builds cancel <build-rid> --yes
|
|
@@ -24,7 +24,8 @@ claude_skill/
|
|
|
24
24
|
├── workflows/ # hand-written, longer workflows
|
|
25
25
|
│ ├── explore-data.md
|
|
26
26
|
│ ├── builds-and-schedules.md
|
|
27
|
-
│
|
|
27
|
+
│ ├── permissions.md
|
|
28
|
+
│ └── osdk-react-app.md
|
|
28
29
|
└── reference/ # GENERATED from the command manifest; don't edit
|
|
29
30
|
├── index.md # what's where, and how to read an entry
|
|
30
31
|
├── curated/ # one file per curated group: dataset.md, sql.md, ...
|
|
@@ -93,14 +93,14 @@ Pass `--format json`, or set `PLTR_FORMAT=json` once for the session.
|
|
|
93
93
|
|---|---|---|
|
|
94
94
|
| 0 | success | |
|
|
95
95
|
| 1 | unexpected error, or "no" at a prompt | read the message; `PLTR_DEBUG=1` shows a traceback |
|
|
96
|
-
| 2 | usage error, or `--yes` required; `wrong_resource_type`: a path to the wrong kind of resource | fix the arguments (`pltr commands show ...`) |
|
|
96
|
+
| 2 | usage error, or `--yes` required; `wrong_resource_type`: a path to the wrong kind of resource; `missing_dependency`: Node.js or npm is missing or too old (`pltr osdk generate`) | fix the arguments (`pltr commands show ...`); for `missing_dependency`, tell the user what to install (see `hint`) |
|
|
97
97
|
| 3 | authentication | check credentials with `pltr verify` |
|
|
98
98
|
| 4 | permission denied (403) | the account lacks access; tell the user |
|
|
99
99
|
| 5 | not found (404); `path_not_found`: nothing at a path you gave | check the RID or path and that the account can see it |
|
|
100
100
|
| 6 | the API rejected the request (400, 422) | fix the input; see `errorName` and `parameters` |
|
|
101
101
|
| 7 | other API or network error (409, 429, 5xx, timeouts), or `invalid_response`: the API's response doesn't match the SDK's model or isn't JSON | retry later, or report it; for `invalid_response`, upgrade pltr: a retry won't help |
|
|
102
|
-
| 8 | the work failed (`work_failed`: a build, query or import you waited for) or a `pltr assert` check failed (`assertion_failed`) | read `parameters` (failed jobs) or the assert result on stdout |
|
|
103
|
-
| 9 | `--wait` timed out (`wait_timeout`); the work keeps running | run `suggestedCommand` to wait again |
|
|
102
|
+
| 8 | the work failed (`work_failed`: a build, query or import you waited for, or `pltr osdk generate`'s generator) or a `pltr assert` check failed (`assertion_failed`) | read `parameters` (failed jobs, the generator's `errors`) or the assert result on stdout |
|
|
103
|
+
| 9 | `--wait` timed out (`wait_timeout`); the work keeps running. Or `resource wait` timed out: still nothing at the path | run `suggestedCommand` to wait again |
|
|
104
104
|
|
|
105
105
|
### Errors that say how to recover
|
|
106
106
|
|
|
@@ -121,13 +121,21 @@ When pltr knows how to recover, the error object has a `hint` and often a
|
|
|
121
121
|
- `auth_error` after HTTP 401: the token expired or was revoked; ask the user
|
|
122
122
|
for a new one (`suggestedCommand` shows where it goes);
|
|
123
123
|
- `path_not_found`: what a Compass path looks like.
|
|
124
|
+
- `BuildTargetsUpToDate` (`validation_error`, exit 6): nothing was built
|
|
125
|
+
because the datasets are already up to date. That is usually fine;
|
|
126
|
+
`suggestedCommand` repeats the command with `--force` if you must rebuild.
|
|
124
127
|
|
|
125
128
|
## 4. Safety rules
|
|
126
129
|
|
|
127
130
|
- **Destructive commands** (`destructive: true`: delete, remove, revoke,
|
|
128
|
-
replace, reset, cancel, abort and similar
|
|
129
|
-
|
|
130
|
-
exit code 2 and change
|
|
131
|
+
replace, reset, cancel, abort and similar, and every command that applies
|
|
132
|
+
an ontology action) ask for confirmation. With `--format json`, or without
|
|
133
|
+
a terminal, they never prompt: they fail with exit code 2 and change
|
|
134
|
+
nothing unless you pass `--yes`.
|
|
135
|
+
- **Ontology actions:** check the parameters with
|
|
136
|
+
`pltr ontology action-validate` (it never applies anything), show the user
|
|
137
|
+
the action and its parameters, and only then run `pltr ontology
|
|
138
|
+
action-apply ... --yes`.
|
|
131
139
|
- Pass `--yes` only for a change the user asked for, on resources they
|
|
132
140
|
named. Show them the exact command first when you're unsure. Never loop a
|
|
133
141
|
destructive command over a list you built yourself without confirming the
|
|
@@ -159,6 +167,12 @@ RID-based: output shows RIDs, so save the RID for later calls. Spaces and the
|
|
|
159
167
|
root folder can't be looked up by path. Usage lines show such options as
|
|
160
168
|
`RID|PATH`, and the reference marks such arguments "(RID or path)".
|
|
161
169
|
|
|
170
|
+
Inside JSON arguments, paths work only in the RID fields a command's help
|
|
171
|
+
names: `targetRids`, `inputRids` and `ignoredRids` of a build target
|
|
172
|
+
(`builds create` TARGET, `schedules create`/`replace` ACTION), schedule
|
|
173
|
+
`--trigger` and `--scope-mode`, and a data-health check's subject. Other
|
|
174
|
+
JSON, including every `pltr api` JSON option, takes RIDs only.
|
|
175
|
+
|
|
162
176
|
Users and groups are identified by UUIDs, ontologies by RID or API name, and
|
|
163
177
|
object types by API name. Don't construct RIDs; get them from the user, from
|
|
164
178
|
a path, or from command output:
|
|
@@ -213,8 +227,8 @@ running (then run the error's `suggestedCommand`). Then verify the output
|
|
|
213
227
|
with `pltr assert`, which exits 8 when a check fails:
|
|
214
228
|
|
|
215
229
|
```bash
|
|
216
|
-
pltr orchestration builds create
|
|
217
|
-
pltr assert dataset
|
|
230
|
+
pltr orchestration builds create --dataset "/My Space/My Project/sales" --branch master --wait --format json
|
|
231
|
+
pltr assert dataset "/My Space/My Project/sales" --min-rows 1 --updated-within 1h --format json
|
|
218
232
|
pltr assert build ri.foundry.main.build.abc --succeeded
|
|
219
233
|
pltr assert objects my-ontology Employee --min-count 1
|
|
220
234
|
```
|
|
@@ -228,6 +242,32 @@ work twice. Never re-run the trigger command to "retry" a wait.
|
|
|
228
242
|
`pltr dataset schema get --format json`. To check an ontology action without
|
|
229
243
|
applying it, use `pltr ontology action-validate`.
|
|
230
244
|
|
|
245
|
+
**After a git push to a code repository**, Foundry's checks run first (a few
|
|
246
|
+
minutes) and, on the first push, create the transform's output dataset; you
|
|
247
|
+
can't build it before that. Don't write a polling loop: `pltr resource wait`
|
|
248
|
+
polls until a resource exists at the path (or RID), then prints it (exit 0),
|
|
249
|
+
or exits 9 after `--timeout` (run the error's `suggestedCommand`; it started
|
|
250
|
+
nothing, so waiting again is always safe). Then build the branch you pushed
|
|
251
|
+
with `--wait`, and check the change itself:
|
|
252
|
+
|
|
253
|
+
```bash
|
|
254
|
+
git push origin my-feature
|
|
255
|
+
pltr resource wait "/Space/Project/clean/orders" --timeout 100 --format json
|
|
256
|
+
pltr orchestration builds create --dataset "/Space/Project/clean/orders" --branch my-feature --wait --format json
|
|
257
|
+
pltr assert dataset "/Space/Project/clean/orders" --branch my-feature --schema expected.json --min-rows 1
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
Without `--branch` the build runs the default branch's code. If it fails at
|
|
261
|
+
once with `BuildTargetsMissingJobSpecs` (exit 6), the checks haven't
|
|
262
|
+
published the transform on that branch yet: wait a minute and build again.
|
|
263
|
+
|
|
264
|
+
The public API has no check or commit status: `resource wait` only knows
|
|
265
|
+
that the dataset exists, so after a later push it returns at once, and a
|
|
266
|
+
build started before the checks finish can run the previous code. Fresh
|
|
267
|
+
rows don't prove the new code ran: assert what the change should show
|
|
268
|
+
(`--schema` for a new column), and if it doesn't, wait a few minutes and
|
|
269
|
+
build again.
|
|
270
|
+
|
|
231
271
|
## 6c. Writing app code: `--emit-code`
|
|
232
272
|
|
|
233
273
|
When you write code that calls Foundry (an app, a pipeline, a script), first
|
|
@@ -248,6 +288,72 @@ it's safe on destructive commands. A command that makes several calls (or no
|
|
|
248
288
|
Foundry call) fails with `emit_code_unsupported` (exit 2): use `pltr commands
|
|
249
289
|
show <command>` for its SDK methods and `pltr api ... --emit-code` for each.
|
|
250
290
|
|
|
291
|
+
## 6d. Building an OSDK app: `pltr osdk generate`
|
|
292
|
+
|
|
293
|
+
To build a TypeScript or React app on ontology objects, generate the OSDK
|
|
294
|
+
package with pltr: it needs Node.js 18+ and npm, but no Developer Console
|
|
295
|
+
application, and it keeps the token off command lines. Run it from the app's
|
|
296
|
+
root:
|
|
297
|
+
|
|
298
|
+
```bash
|
|
299
|
+
pltr context ontology <ontology> --types Order # API names: properties, links, actions
|
|
300
|
+
pltr osdk generate --ontology <ontology> --object-type Order --action-type assign-order --out ./osdk --package-name @orders-app/sdk --format json
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
Add the result's `dependency`, `peerDependencies` (and `reactDependencies`)
|
|
304
|
+
to the app's `package.json`, and its `overrides` entry (`@osdk/api`): without
|
|
305
|
+
it `tsc` fails with TS2322. Objects get links only with
|
|
306
|
+
`--link-type Order.customer` (and the linked object type). To change the
|
|
307
|
+
types, run it again with every type and `--replace`.
|
|
308
|
+
`npx @osdk/create-app` needs a terminal, so write the app from
|
|
309
|
+
[workflows/osdk-react-app.md](workflows/osdk-react-app.md). Signing users
|
|
310
|
+
in needs an OAuth client ID from the user, with the app's redirect URIs
|
|
311
|
+
registered in Developer Console. To host the built app on Foundry, see §6e.
|
|
312
|
+
|
|
313
|
+
The object, link and action types must already exist. The Platform API
|
|
314
|
+
can't create them, so neither can pltr: ask the user to create them in
|
|
315
|
+
Ontology Manager (or in an Ontology as Code repository, where their stack
|
|
316
|
+
has one), then check them with `pltr context ontology`.
|
|
317
|
+
|
|
318
|
+
## 6e. Hosting a web app: `pltr site deploy`
|
|
319
|
+
|
|
320
|
+
To put a built web app (an OSDK React app, say) on Foundry, build it, then
|
|
321
|
+
deploy the build folder to its third-party application's website. One command
|
|
322
|
+
zips the folder, uploads it as a new version and deploys it:
|
|
323
|
+
|
|
324
|
+
```bash
|
|
325
|
+
npm run build
|
|
326
|
+
pltr site deploy dist --application ri.third-party-applications.main.application.<id> --auto-version package-json --yes --format json
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
- The JSON has the `version`, the website's `subdomains` and `url`
|
|
330
|
+
(`https://` and the first subdomain); `curl` the `url` to check the deploy.
|
|
331
|
+
No `url` comes with a warning that says why: usually the website has no
|
|
332
|
+
approved subdomain yet.
|
|
333
|
+
- Versions are `MAJOR.MINOR.PATCH` and can't be uploaded twice (exit 7,
|
|
334
|
+
`conflict`, before anything is uploaded): bump `version` in package.json,
|
|
335
|
+
or pass `--version`. `--auto-version git-describe` takes the git tag
|
|
336
|
+
(`v1.2.0` gives `1.2.0`; commits after it give a pre-release, which Foundry
|
|
337
|
+
may refuse) and refuses uncommitted changes to tracked files. Without a
|
|
338
|
+
version flag the command refuses to run.
|
|
339
|
+
- If the deploy fails after the upload, follow the error's message: it says
|
|
340
|
+
whether to deploy the uploaded version with `pltr site rollback` or to
|
|
341
|
+
upload a new one. Don't re-run `site deploy` with the same version.
|
|
342
|
+
- Deploying replaces the live site: pass `--yes` only when the user asked for
|
|
343
|
+
the deploy. `--upload-only` uploads without deploying (no `--yes` needed);
|
|
344
|
+
`pltr site rollback <version> --application <rid> --yes` deploys an
|
|
345
|
+
uploaded version, and `pltr site versions --application <rid>` lists them.
|
|
346
|
+
- Exit 9 means Foundry was still scanning the upload for vulnerabilities after
|
|
347
|
+
`--timeout`: the version is uploaded, and the error's `suggestedCommand`
|
|
348
|
+
deploys it.
|
|
349
|
+
|
|
350
|
+
Hosting needs a one-time setup in the UI that pltr can't do; ask the user for
|
|
351
|
+
it: website hosting turned on for the application in Developer Console, a
|
|
352
|
+
subdomain requested there and approved, the domain added to Control Panel's
|
|
353
|
+
network ingress allowlist (otherwise visitors get an ingress 403), and
|
|
354
|
+
`https://<subdomain>/auth/callback` registered as a redirect URL of the
|
|
355
|
+
application.
|
|
356
|
+
|
|
251
357
|
## 7. Workflows
|
|
252
358
|
|
|
253
359
|
**Inspect a dataset and query it with SQL**
|
|
@@ -262,7 +368,8 @@ pltr sql execute 'SELECT origin, COUNT(*) AS n FROM `ri.foundry.main.dataset.<id
|
|
|
262
368
|
**Build a dataset and follow the build**
|
|
263
369
|
|
|
264
370
|
```bash
|
|
265
|
-
pltr orchestration builds create
|
|
371
|
+
pltr orchestration builds create --dataset ri.foundry.main.dataset.<id> --branch master --format json
|
|
372
|
+
pltr orchestration builds create '{"type": "upstream", "targetRids": ["/My Space/My Project/sales"], "ignoredRids": []}' --branch master --format json
|
|
266
373
|
pltr orchestration builds get ri.foundry.main.build.<id> --format json
|
|
267
374
|
pltr orchestration builds jobs ri.foundry.main.build.<id> --format json
|
|
268
375
|
```
|
|
@@ -15,7 +15,7 @@ Applies an action using the given parameters.
|
|
|
15
15
|
- `ACTION`: The API name of the action to apply.
|
|
16
16
|
- `--parameters` JSON (required): Dict[ParameterId, Optional[DataValue]].
|
|
17
17
|
- Options: `--attribution` TEXT, `--branch` TEXT, `--options` JSON, `--scenario-rid` TEXT, `--sdk-package-rid` TEXT, `--sdk-version` TEXT, `--trace-parent` TEXT, `--trace-state` TEXT, `--transaction-id` TEXT
|
|
18
|
-
- SDK: `ontologies.Action.apply`
|
|
18
|
+
- **destructive** (asks first; `--yes` skips) · SDK: `ontologies.Action.apply`
|
|
19
19
|
|
|
20
20
|
### pltr api ontologies action apply-batch
|
|
21
21
|
|
|
@@ -27,7 +27,7 @@ Applies multiple actions (of the same Action Type) using the given parameters.
|
|
|
27
27
|
- `ACTION`: The API name of the action to apply.
|
|
28
28
|
- `--requests` JSON (required): List[BatchApplyActionRequestItem].
|
|
29
29
|
- Options: `--branch` TEXT, `--options` JSON, `--scenario-rid` TEXT, `--sdk-package-rid` TEXT, `--sdk-version` TEXT
|
|
30
|
-
- SDK: `ontologies.Action.apply_batch`
|
|
30
|
+
- **destructive** (asks first; `--yes` skips) · SDK: `ontologies.Action.apply_batch`
|
|
31
31
|
|
|
32
32
|
### pltr api ontologies action apply-batch-with-overrides
|
|
33
33
|
|
|
@@ -39,7 +39,7 @@ Applies multiple actions (of the same Action Type) using the given parameters.
|
|
|
39
39
|
- `ACTION`: The API name of the action to apply.
|
|
40
40
|
- `--requests` JSON (required): List[BatchApplyActionRequestItemWithOverrides].
|
|
41
41
|
- Options: `--branch` TEXT, `--options` JSON, `--scenario-rid` TEXT, `--sdk-package-rid` TEXT, `--sdk-version` TEXT
|
|
42
|
-
- beta · SDK: `ontologies.Action.apply_batch_with_overrides`
|
|
42
|
+
- beta · **destructive** (asks first; `--yes` skips) · SDK: `ontologies.Action.apply_batch_with_overrides`
|
|
43
43
|
|
|
44
44
|
### pltr api ontologies action apply-with-overrides
|
|
45
45
|
|
|
@@ -52,4 +52,4 @@ Applies multiple actions (of the same Action Type) using the given parameters.
|
|
|
52
52
|
- `--overrides` JSON (required): ApplyActionOverrides.
|
|
53
53
|
- `--request` JSON (required): ApplyActionRequestV2.
|
|
54
54
|
- Options: `--branch` TEXT, `--scenario-rid` TEXT, `--sdk-package-rid` TEXT, `--sdk-version` TEXT, `--transaction-id` TEXT
|
|
55
|
-
- beta · SDK: `ontologies.Action.apply_with_overrides`
|
|
55
|
+
- beta · **destructive** (asks first; `--yes` skips) · SDK: `ontologies.Action.apply_with_overrides`
|
{pltr_cli-0.18.0 → pltr_cli-0.20.0}/claude_skill/reference/api/ontologies/ontology-transaction.md
RENAMED
|
@@ -15,4 +15,4 @@ Commands for the OntologyTransaction resource (SDK: client.ontologies.OntologyTr
|
|
|
15
15
|
- `TRANSACTION_ID`: The ID of the transaction to apply edits to.
|
|
16
16
|
- `--edits` JSON (required): List[TransactionEdit].
|
|
17
17
|
- Options: `--sdk-package-rid` TEXT, `--sdk-version` TEXT
|
|
18
|
-
- beta · SDK: `ontologies.OntologyTransaction.post_edits`
|
|
18
|
+
- beta · **destructive** (asks first; `--yes` skips) · SDK: `ontologies.OntologyTransaction.post_edits`
|
|
@@ -15,7 +15,7 @@ Create, inspect, replace and delete checks
|
|
|
15
15
|
|
|
16
16
|
`pltr data-health check create CONFIG [OPTIONS]`
|
|
17
17
|
|
|
18
|
-
- `CONFIG`: Check configuration as JSON or @file.json (see below).
|
|
18
|
+
- `CONFIG`: Check configuration as JSON or @file.json; the subject's datasetRid can be a Compass path (see below).
|
|
19
19
|
- `--intent`, `-i` TEXT: Why the check was set up.
|
|
20
20
|
- beta · SDK: `data_health.Check.create`
|
|
21
21
|
|
|
@@ -20,7 +20,7 @@ Examples:
|
|
|
20
20
|
pltr ontology action-validate my-ontology transferEmployee '{"employee": "EMP001"}'
|
|
21
21
|
pltr ontology action-apply my-ontology transferEmployee '{"employee": "EMP001"}'
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
14 commands. Shared options (`--profile`, `--format`, `--output`, `--yes`, paging) are left out; [index.md](../index.md) explains the labels. Every option of one command: `pltr commands show <command>`.
|
|
24
24
|
|
|
25
25
|
### pltr ontology action-apply
|
|
26
26
|
|
|
@@ -34,7 +34,7 @@ Apply an action: validate its parameters and make its edits.
|
|
|
34
34
|
- `--return-edits` ALL|ALL_V2_WITH_DELETIONS|NONE: Return the edits the action made (Foundry's default: NONE).
|
|
35
35
|
- `--attribution` TEXT: Attribution to record for the request (sent as the attribution header).
|
|
36
36
|
- `--scenario-rid` TEXT: RID of an ontology scenario to work in.
|
|
37
|
-
- SDK: `ontologies.Action.apply`
|
|
37
|
+
- **destructive** (asks first; `--yes` skips) · SDK: `ontologies.Action.apply`
|
|
38
38
|
|
|
39
39
|
### pltr ontology action-apply-batch
|
|
40
40
|
|
|
@@ -47,7 +47,7 @@ Apply several actions of one action type in a single request.
|
|
|
47
47
|
- `REQUESTS`: The actions to apply: a JSON list of {"parameters": {...}} objects, inline, @file.json or @- (stdin), e.g. [{"parameters": {"employee": "EMP001"}}, {"parameters": {"employee": "EMP002"}}].
|
|
48
48
|
- `--return-edits` ALL|NONE: Return the edits the actions made (Foundry's default: NONE).
|
|
49
49
|
- `--scenario-rid` TEXT: RID of an ontology scenario to work in.
|
|
50
|
-
- SDK: `ontologies.Action.apply_batch`
|
|
50
|
+
- **destructive** (asks first; `--yes` skips) · SDK: `ontologies.Action.apply_batch`
|
|
51
51
|
|
|
52
52
|
### pltr ontology action-validate
|
|
53
53
|
|
|
@@ -69,21 +69,6 @@ Get an ontology's metadata.
|
|
|
69
69
|
- `ONTOLOGY`: Ontology API name or RID (ri.ontology.main.ontology.<id>); find it with 'pltr ontology list'.
|
|
70
70
|
- SDK: `ontologies.Ontology.get`
|
|
71
71
|
|
|
72
|
-
### pltr ontology link-type-create
|
|
73
|
-
|
|
74
|
-
Create a link type (direct HTTP: the SDK can't create link types).
|
|
75
|
-
|
|
76
|
-
`pltr ontology link-type-create ONTOLOGY_RID --api-name TEXT --from TEXT --to TEXT [OPTIONS]`
|
|
77
|
-
|
|
78
|
-
- `ONTOLOGY_RID`: Ontology RID (ri.ontology.main.ontology.<id>); find it with 'pltr ontology list'.
|
|
79
|
-
- `--api-name` TEXT (required): Link type API name.
|
|
80
|
-
- `--from` TEXT (required): API name of the source object type.
|
|
81
|
-
- `--to` TEXT (required): API name of the target object type.
|
|
82
|
-
- `--display-name` TEXT: Link type display name.
|
|
83
|
-
- `--description` TEXT: Link type description.
|
|
84
|
-
- `--reverse-api-name` TEXT: API name of the reverse (target to source) link.
|
|
85
|
-
- HTTP (direct, labeled exception): `POST /v2/ontologies/{ontology}/linkTypes`, `POST /v1/ontologies/{ontology}/linkTypes`, `POST /ontology-manager/api/ontologies/{ontology}/linkTypes`
|
|
86
|
-
|
|
87
72
|
### pltr ontology list
|
|
88
73
|
|
|
89
74
|
List the ontologies you can see.
|
|
@@ -178,20 +163,6 @@ Search the objects of an object type with a typed query.
|
|
|
178
163
|
- `--derived-properties`, `--no-derived-properties`: Whether to load ontology-defined derived properties (loadOntologyDefinedDerivedProperties; experimental in Foundry).
|
|
179
164
|
- paged · SDK: `ontologies.OntologyObject.search`
|
|
180
165
|
|
|
181
|
-
### pltr ontology object-type-create
|
|
182
|
-
|
|
183
|
-
Create an object type (direct HTTP: the SDK can't create object types).
|
|
184
|
-
|
|
185
|
-
`pltr ontology object-type-create ONTOLOGY_RID --api-name TEXT --display-name TEXT --primary-key TEXT --backing-dataset RID|PATH [OPTIONS]`
|
|
186
|
-
|
|
187
|
-
- `ONTOLOGY_RID`: Ontology RID (ri.ontology.main.ontology.<id>); find it with 'pltr ontology list'.
|
|
188
|
-
- `--api-name` TEXT (required): Object type API name.
|
|
189
|
-
- `--display-name` TEXT (required): Object type display name.
|
|
190
|
-
- `--primary-key` TEXT (required): API name of the primary key property.
|
|
191
|
-
- `--backing-dataset` RID|PATH (required): RID of the backing dataset (ri.foundry.main.dataset.<id>).
|
|
192
|
-
- `--description` TEXT: Object type description.
|
|
193
|
-
- HTTP (direct, labeled exception): `POST /v2/ontologies/{ontology}/objectTypes`, `POST /v1/ontologies/{ontology}/objectTypes`, `POST /ontology-manager/api/ontologies/{ontology}/objectTypes`
|
|
194
|
-
|
|
195
166
|
### pltr ontology object-type-get
|
|
196
167
|
|
|
197
168
|
Get an object type: its primary key, title property and properties.
|
|
@@ -7,9 +7,8 @@ Everything is addressed by RID: builds (ri.foundry.main.build.<id>), jobs (ri.fo
|
|
|
7
7
|
|
|
8
8
|
Examples:
|
|
9
9
|
|
|
10
|
-
# Start a build and follow it
|
|
11
|
-
pltr orchestration builds create
|
|
12
|
-
'{"type": "manual", "targetRids": ["ri.foundry.main.dataset.abc"]}'
|
|
10
|
+
# Start a build of a dataset (RID or path) and follow it
|
|
11
|
+
pltr orchestration builds create --dataset /Space/Project/sales
|
|
13
12
|
pltr orchestration builds get <BUILD_RID>
|
|
14
13
|
pltr orchestration builds jobs <BUILD_RID>
|
|
15
14
|
# Find recent failed builds
|
|
@@ -38,9 +37,10 @@ Cancel a build's unfinished jobs.
|
|
|
38
37
|
|
|
39
38
|
Start a build of datasets (or other build targets).
|
|
40
39
|
|
|
41
|
-
`pltr orchestration builds create TARGET [OPTIONS]`
|
|
40
|
+
`pltr orchestration builds create [TARGET] [OPTIONS]`
|
|
42
41
|
|
|
43
|
-
- `TARGET
|
|
42
|
+
- `TARGET` (optional): What to build, as JSON or @file.json, with Compass paths allowed in its RID fields (see the examples below); leave it out when you use --dataset.
|
|
43
|
+
- `--dataset` RID|PATH (repeatable): Dataset RID to build, instead of TARGET (repeat for several): builds exactly these datasets, like a manual target.
|
|
44
44
|
- `--branch` TEXT: Branch to build on.
|
|
45
45
|
- `--fallback-branch` TEXT (repeatable): Branch to read an input from when it doesn't exist on --branch (repeat for several, in order).
|
|
46
46
|
- `--force`: Build even if the outputs are already up to date.
|
|
@@ -137,11 +137,11 @@ Inspect, run and manage schedules
|
|
|
137
137
|
|
|
138
138
|
`pltr orchestration schedules create ACTION [OPTIONS]`
|
|
139
139
|
|
|
140
|
-
- `ACTION`: What the schedule builds, as JSON or @file.json in the
|
|
140
|
+
- `ACTION`: What the schedule builds, as JSON or @file.json (paths work in the target's RID fields), e.g. '{"target": {"type": "manual", "targetRids": ["<dataset RID>"]}, "branchName": "master"}'.
|
|
141
141
|
- `--name` TEXT: Display name of the schedule.
|
|
142
142
|
- `--description` TEXT: Description of the schedule.
|
|
143
|
-
- `--trigger` TEXT: When the schedule runs, as JSON or @file.json in the API's shape, e.g. '{"type": "time", "cronExpression": "0 6 * * *", "timeZone": "UTC"}'.
|
|
144
|
-
- `--scope-mode` TEXT: Whose permissions the schedule's builds use, as JSON or @file.json: '{"type": "project", "projectRids": ["<project RID>"]}' or '{"type": "user"}'.
|
|
143
|
+
- `--trigger` TEXT: When the schedule runs, as JSON or @file.json in the API's shape (a datasetRid or mediaSetRid can be a Compass path), e.g. '{"type": "time", "cronExpression": "0 6 * * *", "timeZone": "UTC"}'.
|
|
144
|
+
- `--scope-mode` TEXT: Whose permissions the schedule's builds use, as JSON or @file.json (projectRids can be Compass paths): '{"type": "project", "projectRids": ["<project RID>"]}' or '{"type": "user"}'.
|
|
145
145
|
- beta · SDK: `orchestration.Schedule.create`
|
|
146
146
|
|
|
147
147
|
### pltr orchestration schedules delete
|
|
@@ -178,11 +178,11 @@ Pause a schedule: its trigger no longer starts builds.
|
|
|
178
178
|
`pltr orchestration schedules replace SCHEDULE_RID ACTION [OPTIONS]`
|
|
179
179
|
|
|
180
180
|
- `SCHEDULE_RID`: Schedule RID (ri.scheduler.main.schedule.<id>).
|
|
181
|
-
- `ACTION`: What the schedule builds, as JSON or @file.json in the
|
|
181
|
+
- `ACTION`: What the schedule builds, as JSON or @file.json (paths work in the target's RID fields), e.g. '{"target": {"type": "manual", "targetRids": ["<dataset RID>"]}, "branchName": "master"}'.
|
|
182
182
|
- `--name` TEXT: Display name of the schedule.
|
|
183
183
|
- `--description` TEXT: Description of the schedule.
|
|
184
|
-
- `--trigger` TEXT: When the schedule runs, as JSON or @file.json in the API's shape, e.g. '{"type": "time", "cronExpression": "0 6 * * *", "timeZone": "UTC"}'.
|
|
185
|
-
- `--scope-mode` TEXT: Whose permissions the schedule's builds use, as JSON or @file.json: '{"type": "project", "projectRids": ["<project RID>"]}' or '{"type": "user"}'.
|
|
184
|
+
- `--trigger` TEXT: When the schedule runs, as JSON or @file.json in the API's shape (a datasetRid or mediaSetRid can be a Compass path), e.g. '{"type": "time", "cronExpression": "0 6 * * *", "timeZone": "UTC"}'.
|
|
185
|
+
- `--scope-mode` TEXT: Whose permissions the schedule's builds use, as JSON or @file.json (projectRids can be Compass paths): '{"type": "project", "projectRids": ["<project RID>"]}' or '{"type": "user"}'.
|
|
186
186
|
- beta · **destructive** (asks first; `--yes` skips) · SDK: `orchestration.Schedule.replace`
|
|
187
187
|
|
|
188
188
|
### pltr orchestration schedules run
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!-- Generated by scripts/generate_skill_reference.py from the pltr command manifest. Do not edit by hand. -->
|
|
2
|
+
# pltr osdk
|
|
3
|
+
|
|
4
|
+
Generate OSDK TypeScript packages for apps from the pltr profile (needs Node.js and npm).
|
|
5
|
+
|
|
6
|
+
1 command. Shared options (`--profile`, `--format`, `--output`, `--yes`, paging) are left out; [index.md](../index.md) explains the labels. Every option of one command: `pltr commands show <command>`.
|
|
7
|
+
|
|
8
|
+
### pltr osdk generate
|
|
9
|
+
|
|
10
|
+
Generate an OSDK TypeScript package for an app, from the pltr profile.
|
|
11
|
+
|
|
12
|
+
`pltr osdk generate --ontology TEXT --out PATH [OPTIONS]`
|
|
13
|
+
|
|
14
|
+
- `--ontology` TEXT (required): Ontology API name or RID (ri.ontology.main.ontology.<id>); find it with 'pltr ontology list'.
|
|
15
|
+
- `--out` PATH (required): Directory for the package: it is written to <out>/<package-name>, e.g. ./osdk/@app/sdk.
|
|
16
|
+
- `--object-type` TEXT (repeatable): Object type API name to include.
|
|
17
|
+
- `--action-type` TEXT (repeatable): Action type API name to include (include the object types its parameters take).
|
|
18
|
+
- `--query-type` TEXT (repeatable): Query (function) API name to include, optionally as name:version.
|
|
19
|
+
- `--link-type` TEXT (repeatable): Link type to include, as ObjectType.linkApiName (both object types must be included); without it objects have no links.
|
|
20
|
+
- `--interface-type` TEXT (repeatable): Interface type API name to include.
|
|
21
|
+
- `--package-name` TEXT (default: @app/sdk): npm name of the generated package.
|
|
22
|
+
- `--package-version` TEXT (default: 0.0.1): Version of the generated package.
|
|
23
|
+
- `--replace`: Generate a package that exists already again (to change its types, or after the ontology changed).
|
|
24
|
+
- SDK: `ontologies.Ontology.get`
|
|
@@ -23,7 +23,7 @@ Examples:
|
|
|
23
23
|
pltr resource list-markings ri.foundry.main.dataset.xyz123
|
|
24
24
|
pltr resource access-requirements ri.foundry.main.dataset.xyz123
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
14 commands. Shared options (`--profile`, `--format`, `--output`, `--yes`, paging) are left out; [index.md](../index.md) explains the labels. Every option of one command: `pltr commands show <command>`.
|
|
27
27
|
|
|
28
28
|
### pltr resource access-requirements
|
|
29
29
|
|
|
@@ -148,3 +148,13 @@ Find resources below a folder by name, path, description, RID or type.
|
|
|
148
148
|
- `--limit` INTEGER: Stop after this many matches.
|
|
149
149
|
- `--max-folders` INTEGER (default: 1000): Stop after listing this many folders (one request per page each).
|
|
150
150
|
- SDK: `filesystem.Folder.children`
|
|
151
|
+
|
|
152
|
+
### pltr resource wait
|
|
153
|
+
|
|
154
|
+
Wait until a resource exists at a Compass path (or RID), then print it.
|
|
155
|
+
|
|
156
|
+
`pltr resource wait RESOURCE [OPTIONS]`
|
|
157
|
+
|
|
158
|
+
- `RESOURCE` (RID or path): Compass path (or RID) of the resource to wait for, such as a transform's output dataset.
|
|
159
|
+
- `--timeout` NUMBER (default: 600): Seconds to wait before giving up (exit 9); 0 checks once.
|
|
160
|
+
- SDK: `filesystem.Resource.get_by_path`, `filesystem.Resource.get`
|