pltr-cli 0.17.0__tar.gz → 0.18.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.17.0 → pltr_cli-0.18.0}/.github/workflows/test-publish.yml +45 -11
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/CHANGELOG.md +97 -1
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/PKG-INFO +100 -4
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/README.md +99 -3
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/SKILL.md +102 -5
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/aip-agents.md +14 -14
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/connectivity.md +26 -26
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/datasets.md +34 -34
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/filesystem.md +29 -29
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/media-sets.md +18 -18
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/models.md +20 -20
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/streams.md +16 -16
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/third-party-applications.md +9 -9
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/widgets.md +2 -2
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/aip-agents.md +4 -4
- pltr_cli-0.18.0/claude_skill/reference/curated/assert.md +40 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/connectivity.md +24 -20
- pltr_cli-0.18.0/claude_skill/reference/curated/context.md +41 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/cp.md +2 -2
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/dataset.md +32 -32
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/folder.md +5 -5
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/media-sets.md +11 -11
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/models.md +5 -5
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/ontology.md +2 -2
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/orchestration.md +17 -3
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/project.md +6 -6
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/resource-role.md +3 -3
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/resource.md +13 -13
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/sql.md +4 -2
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/streams.md +7 -7
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/third-party-apps.md +1 -1
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/widgets.md +1 -1
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/index.md +4 -2
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/docs/development/command-contract.md +104 -3
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/docs/development/live-verification.md +85 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/docs/user-guide/commands.md +7 -4
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/docs/user-guide/quick-start.md +3 -1
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/docs/user-guide/troubleshooting.md +21 -5
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/docs/user-guide/workflows.md +1 -1
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/pyproject.toml +1 -1
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/scripts/generate_api_commands.py +6 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/scripts/generate_skill_reference.py +8 -1
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/scripts/smoke.py +30 -0
- pltr_cli-0.18.0/src/pltr/__init__.py +1 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/cli.py +16 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/aip_agents.py +3 -1
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/api/_runtime.py +68 -4
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/api/_specs/aip_agents.py +14 -14
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/api/_specs/connectivity.py +22 -22
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/api/_specs/datasets.py +32 -32
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/api/_specs/filesystem.py +27 -27
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/api/_specs/media_sets.py +18 -18
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/api/_specs/models.py +17 -17
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/api/_specs/streams.py +15 -15
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/api/_specs/third_party_applications.py +9 -9
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/api/_specs/widgets.py +2 -2
- pltr_cli-0.18.0/src/pltr/commands/assertions.py +351 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/connectivity.py +63 -7
- pltr_cli-0.18.0/src/pltr/commands/context.py +712 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/cp.py +5 -2
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/dataset.py +8 -3
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/folder.py +13 -6
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/mediasets.py +3 -1
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/models.py +6 -2
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/ontology.py +3 -1
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/orchestration.py +106 -3
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/project.py +3 -1
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/resource.py +24 -6
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/resource_role.py +11 -2
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/sql.py +17 -4
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/streams.py +6 -2
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/third_party_applications.py +3 -1
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/widgets.py +3 -1
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/contract/__init__.py +19 -0
- pltr_cli-0.18.0/src/pltr/contract/codegen.py +254 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/contract/command.py +122 -2
- pltr_cli-0.18.0/src/pltr/contract/emit.py +238 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/contract/errors.py +49 -4
- pltr_cli-0.18.0/src/pltr/contract/hints.py +472 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/contract/options.py +27 -0
- pltr_cli-0.18.0/src/pltr/contract/resources.py +522 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/manifest.py +15 -3
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/services/base.py +7 -1
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/services/ontology.py +4 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/services/orchestration.py +91 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/services/sql.py +13 -19
- pltr_cli-0.18.0/src/pltr/services/waiting.py +59 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_api_commands/test_behaviour.py +80 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_api_commands/test_generator.py +43 -0
- pltr_cli-0.18.0/tests/test_commands/test_assert.py +247 -0
- pltr_cli-0.18.0/tests/test_commands/test_context.py +524 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_project.py +12 -2
- pltr_cli-0.18.0/tests/test_commands/test_resource_paths.py +191 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_sql.py +6 -6
- pltr_cli-0.18.0/tests/test_commands/test_wait.py +390 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/__init__.py +18 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/api.py +8 -1
- pltr_cli-0.18.0/tests/test_contract/cases/assertions.py +18 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/connectivity.py +9 -6
- pltr_cli-0.18.0/tests/test_contract/cases/context.py +33 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/dataset.py +2 -2
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/mediasets.py +5 -5
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/orchestration.py +1 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/streams.py +4 -4
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/test_cli_contract.py +4 -1
- pltr_cli-0.18.0/tests/test_contract/test_codegen.py +132 -0
- pltr_cli-0.18.0/tests/test_contract/test_emit_code.py +364 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/test_errors.py +40 -0
- pltr_cli-0.18.0/tests/test_contract/test_hints.py +463 -0
- pltr_cli-0.18.0/tests/test_contract/test_resource_paths_cli.py +324 -0
- pltr_cli-0.18.0/tests/test_contract/test_resources.py +337 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_docs_examples.py +1 -1
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_manifest/test_manifest_build.py +80 -2
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_manifest/test_skill_reference.py +56 -1
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_services/test_sql.py +2 -2
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_smoke_script_stubbed.py +12 -1
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/uv.lock +1 -1
- pltr_cli-0.17.0/src/pltr/__init__.py +0 -1
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/.github/workflows/ci.yml +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/.github/workflows/publish.yml +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/.gitignore +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/.pre-commit-config.yaml +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/CLAUDE.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/LICENSE +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/RELEASE.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/README.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/admin/cbac-banner.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/admin/cbac-marking-restrictions.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/admin/enrollment.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/admin/group.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/admin/marking-category.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/admin/marking.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/admin/organization.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/admin/role.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/admin/user.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/audit.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/checkpoints.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/data-health.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/functions.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/language-models.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/ontologies/action-type-full-metadata.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/ontologies/action.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/ontologies/attachment-property.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/ontologies/attachment.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/ontologies/cipher-text-property.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/ontologies/geotemporal-series-property.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/ontologies/linked-object.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/ontologies/media-reference-property.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/ontologies/ontology-interface.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/ontologies/ontology-object-set.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/ontologies/ontology-object.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/ontologies/ontology-scenario.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/ontologies/ontology-transaction.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/ontologies/ontology-value-type.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/ontologies/ontology.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/ontologies/query.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/ontologies/time-series-property-v2.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/ontologies/time-series-value-bank-property.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/orchestration.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/api/sql-queries.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/admin.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/alias.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/audit.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/commands.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/completion.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/configure.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/data-health.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/functions.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/hello.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/language-models.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/shell.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/space.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/reference/curated/verify.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/workflows/builds-and-schedules.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/workflows/explore-data.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/claude_skill/workflows/permissions.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/docs/README.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/docs/api/wrapper.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/docs/api-commands.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/docs/development/sdk-guardrail.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/docs/examples/csv-upload.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/docs/examples/gallery.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/docs/features/dataset-transactions.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/docs/migration/v2-pagination.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/docs/pagination.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/docs/user-guide/aliases.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/docs/user-guide/authentication.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/docs/user-guide/claude-skill.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/mypy.ini +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/scripts/__init__.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/scripts/check_command_metadata.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/scripts/check_sdk_calls.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/scripts/coverage.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/scripts/release.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/scripts/sdk_calls.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/scripts/smoke.example.toml +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/__main__.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/auth/__init__.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/auth/base.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/auth/environment.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/auth/manager.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/auth/oauth.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/auth/storage.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/auth/token.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/__init__.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/admin.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/alias.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/api/__init__.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/api/_specs/__init__.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/api/_specs/admin.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/api/_specs/audit.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/api/_specs/checkpoints.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/api/_specs/data_health.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/api/_specs/functions.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/api/_specs/language_models.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/api/_specs/ontologies.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/api/_specs/orchestration.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/api/_specs/sql_queries.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/audit.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/completion.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/configure.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/data_health.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/functions.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/language_models.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/manifest.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/shell.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/space.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/commands/verify.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/config/__init__.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/config/aliases.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/config/profiles.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/config/settings.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/contract/output.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/contract/runtime.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/contract/serialize.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/services/__init__.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/services/admin.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/services/aip_agents.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/services/audit.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/services/connectivity.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/services/copy.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/services/data_health.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/services/dataset.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/services/folder.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/services/functions.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/services/language_models.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/services/mediasets.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/services/models.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/services/project.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/services/resource.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/services/resource_role.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/services/space.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/services/streams.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/services/third_party_applications.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/services/verify.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/services/widgets.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/utils/__init__.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/utils/alias_resolver.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/src/pltr/utils/completion.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/__init__.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/conftest.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/foundry_json.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/foundry_json_admin.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/foundry_json_aip_agents.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/foundry_json_audit.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/foundry_json_connectivity.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/foundry_json_data_health.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/foundry_json_dataset.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/foundry_json_filesystem.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/foundry_json_functions.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/foundry_json_language_models.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/foundry_json_mediasets.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/foundry_json_models.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/foundry_json_ontology.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/foundry_json_orchestration.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/foundry_json_sql.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/foundry_json_streams.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/foundry_json_widgets.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/integration/README.md +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/integration/__init__.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/integration/conftest.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/integration/test_auth_flow.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/integration/test_cli_integration.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/integration/test_data_workflows.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/integration/test_data_workflows_simple.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/integration/test_simple_integration.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/sdk_call_allowlist.txt +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_api_commands/conftest.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_api_commands/test_lazy_loading.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_api_commands/test_namespaces.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_auth/__init__.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_auth/fakes.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_auth/test_base.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_auth/test_headless_auth.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_auth/test_manager.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_auth/test_oauth.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_auth/test_storage.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_auth/test_token.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_cli_help.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/__init__.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_admin.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_aip_agents.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_alias.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_audit.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_completion.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_configure.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_connectivity.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_cp.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_data_health.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_dataset.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_dataset_files.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_dataset_transactions.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_dataset_views.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_folder.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_functions.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_language_models.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_mediasets.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_models.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_ontology.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_orchestration.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_resource.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_resource_role.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_shell.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_space.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_streams.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_third_party_applications.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_verify.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_commands/test_widgets.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_config/__init__.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_config/test_aliases.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_config/test_profiles.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_config/test_settings.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/__init__.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/admin.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/aip_agents.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/audit.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/cp.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/data/connectivity-driver.jar +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/data/connectivity-secrets.json +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/data_health.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/folder.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/functions.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/language_models.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/local.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/manifest.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/models.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/ontology.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/project.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/resource.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/resource_role.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/space.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/sql.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/third_party_applications.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/verify.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/cases/widgets.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/test_command.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/test_options.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/test_output.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/test_runtime.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/test_serialize.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_contract/test_table_rows_timezones.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_debug_tracebacks.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_dependencies.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_entry_point.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_manifest/__init__.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_manifest/conftest.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_manifest/test_manifest_cli.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_manifest/test_manifest_search.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_manifest/test_metadata_crosscheck.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_sdk_call_checker.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_sdk_call_guardrail.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_services/__init__.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_services/test_admin.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_services/test_aip_agents.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_services/test_audit.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_services/test_base.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_services/test_connectivity.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_services/test_copy.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_services/test_data_health.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_services/test_dataset.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_services/test_dataset_transactions.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_services/test_folder.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_services/test_functions.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_services/test_language_models.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_services/test_mediasets.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_services/test_models.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_services/test_ontology.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_services/test_orchestration.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_services/test_project.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_services/test_resource.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_services/test_resource_role.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_services/test_space.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_services/test_streams.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_services/test_widgets.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_smoke_script.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_startup.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_utils/__init__.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_utils/test_alias_resolver.py +0 -0
- {pltr_cli-0.17.0 → pltr_cli-0.18.0}/tests/test_utils/test_rid_cache.py +0 -0
|
@@ -108,26 +108,60 @@ jobs:
|
|
|
108
108
|
echo "Checking wheel contents:"
|
|
109
109
|
uv run python -m zipfile -l dist/*.whl
|
|
110
110
|
|
|
111
|
+
# TestPyPI's trusted-publishing token exchange sometimes times out (the
|
|
112
|
+
# action allows it 5 seconds), so a failed first attempt is retried once.
|
|
113
|
+
# skip-existing makes the retry safe if the first attempt uploaded files.
|
|
111
114
|
- name: Publish to TestPyPI
|
|
115
|
+
id: publish
|
|
116
|
+
continue-on-error: true
|
|
112
117
|
uses: pypa/gh-action-pypi-publish@release/v1
|
|
113
118
|
with:
|
|
114
119
|
repository-url: https://test.pypi.org/legacy/
|
|
115
120
|
print-hash: true
|
|
116
121
|
skip-existing: true
|
|
117
122
|
|
|
118
|
-
- name:
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
sleep 30
|
|
123
|
+
- name: Wait before retrying the TestPyPI publish
|
|
124
|
+
if: steps.publish.outcome == 'failure'
|
|
125
|
+
run: sleep 60
|
|
122
126
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
+
- name: Publish to TestPyPI (retry)
|
|
128
|
+
if: steps.publish.outcome == 'failure'
|
|
129
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
130
|
+
with:
|
|
131
|
+
repository-url: https://test.pypi.org/legacy/
|
|
132
|
+
print-hash: true
|
|
133
|
+
skip-existing: true
|
|
127
134
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
135
|
+
- name: Test installation from TestPyPI
|
|
136
|
+
env:
|
|
137
|
+
TEST_VERSION: ${{ steps.test_version.outputs.TEST_VERSION }}
|
|
138
|
+
run: |
|
|
139
|
+
# Install into a fresh virtualenv outside the checkout, so the smoke
|
|
140
|
+
# test runs the published package, not the project's editable install.
|
|
141
|
+
python -m venv "$RUNNER_TEMP/testpypi-venv"
|
|
142
|
+
VENV_BIN="$RUNNER_TEMP/testpypi-venv/bin"
|
|
143
|
+
cd "$RUNNER_TEMP"
|
|
144
|
+
|
|
145
|
+
# TestPyPI's index can take minutes to list a fresh upload, so retry.
|
|
146
|
+
attempts=10
|
|
147
|
+
for attempt in $(seq 1 "$attempts"); do
|
|
148
|
+
if "$VENV_BIN/pip" install --no-cache-dir \
|
|
149
|
+
--index-url https://test.pypi.org/simple/ \
|
|
150
|
+
--extra-index-url https://pypi.org/simple/ \
|
|
151
|
+
"pltr-cli==$TEST_VERSION"; then
|
|
152
|
+
break
|
|
153
|
+
fi
|
|
154
|
+
if [ "$attempt" -eq "$attempts" ]; then
|
|
155
|
+
echo "::error::pltr-cli==$TEST_VERSION was not installable from TestPyPI after $attempts attempts"
|
|
156
|
+
exit 1
|
|
157
|
+
fi
|
|
158
|
+
echo "pltr-cli==$TEST_VERSION is not installable yet (attempt $attempt/$attempts); retrying in 30s"
|
|
159
|
+
sleep 30
|
|
160
|
+
done
|
|
161
|
+
|
|
162
|
+
# Test basic import and CLI functionality of the installed package
|
|
163
|
+
"$VENV_BIN/python" -c "import pltr; print(f'Package import successful: {pltr.__file__}')"
|
|
164
|
+
"$VENV_BIN/pltr" --help
|
|
131
165
|
|
|
132
166
|
- name: Report test results
|
|
133
167
|
if: always()
|
|
@@ -12,6 +12,101 @@ and pull requests. Numbers in parentheses are pull requests or issues.
|
|
|
12
12
|
|
|
13
13
|
## [Unreleased]
|
|
14
14
|
|
|
15
|
+
## [0.18.0] - 2026-11-08
|
|
16
|
+
|
|
17
|
+
This release makes pltr easier for coding agents to build on Foundry with
|
|
18
|
+
(#191): Compass paths wherever a RID is accepted, errors that say how to
|
|
19
|
+
recover, `--emit-code` to turn a command into SDK Python, `--wait` and
|
|
20
|
+
`pltr assert` to check that work finished, and `pltr context` packs to read
|
|
21
|
+
before writing code. Two exit codes change: read "Breaking changes" first.
|
|
22
|
+
|
|
23
|
+
### Breaking changes
|
|
24
|
+
|
|
25
|
+
- **SQL failures and timeouts exit 8 and 9.** `sql wait`, `sql execute`,
|
|
26
|
+
`sql export`, `sql submit` (a query that fails at once) and
|
|
27
|
+
`sql submit --wait` now exit 8 (`work_failed`, was 7 `api_error`) for a
|
|
28
|
+
failed or canceled query and 9 (`wait_timeout`, was 7 `timeout`) when
|
|
29
|
+
`--timeout` passes, like the other `--wait` commands (#195). In JSON mode,
|
|
30
|
+
`--wait` commands write a `{"type": "started", ...}` stderr line with the
|
|
31
|
+
RID as soon as the work starts, and an error while waiting says the work
|
|
32
|
+
keeps running and how to wait again.
|
|
33
|
+
- **A RID of the wrong kind exits 2 before any call** (#197). A folder RID
|
|
34
|
+
given to a dataset parameter (or a dataset RID to a project parameter) is
|
|
35
|
+
now a `wrong_resource_type` error (exit 2), and a folder suggests
|
|
36
|
+
`pltr folder list`. Such a RID used to be sent to the API, which usually
|
|
37
|
+
rejected it as not found (exit 5). Only RID formats pltr is sure of are
|
|
38
|
+
checked.
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
|
|
42
|
+
- **Compass paths wherever a resource RID is accepted** (#193). Every
|
|
43
|
+
argument or option that takes the RID of a Compass resource (datasets and
|
|
44
|
+
views, folders, projects, any resource, media sets, connections, models,
|
|
45
|
+
AIP agents, third-party applications and widget repositories) also takes
|
|
46
|
+
its path, such as `/Space/Project/data/employees`, in curated commands and
|
|
47
|
+
in `pltr api`. pltr resolves the paths before calling the API, with one
|
|
48
|
+
`Resource.get_by_path` call (or one `get_by_path_batch` call for several
|
|
49
|
+
paths) and none when only RIDs are given, and prints
|
|
50
|
+
`Resolved '<path>' to <rid>` on stderr in text mode. A path to the wrong
|
|
51
|
+
kind of resource fails with the new error type `wrong_resource_type`
|
|
52
|
+
(exit 2), naming both types; a path with no visible resource fails with
|
|
53
|
+
`path_not_found` (exit 5). Output still shows RIDs. Spaces and the root
|
|
54
|
+
folder can't be looked up by path. The command manifest marks these
|
|
55
|
+
parameters with `"acceptsPath": true` and their `resourceKind`, and usage
|
|
56
|
+
lines show such an option's value as `RID|PATH`.
|
|
57
|
+
- Errors raised by pltr itself can carry `parameters` in the JSON error
|
|
58
|
+
object, like API errors do.
|
|
59
|
+
- **Errors say how to recover** (#197). The JSON error object gains `hint`
|
|
60
|
+
and `suggestedCommand` when pltr knows what to do next (text mode prints
|
|
61
|
+
`Hint:` and `Try:` lines): the closest API names for an unknown object
|
|
62
|
+
type, property, action type or link type; the open transaction to abort
|
|
63
|
+
for `OpenTransactionAlreadyExists`; the missing OAuth scope for
|
|
64
|
+
`ApiUsageDenied`; the operation and resource for a `...PermissionDenied`
|
|
65
|
+
error, with `pltr resource-role list`; and how to replace a rejected token
|
|
66
|
+
(HTTP 401). Type-level default hints stay in text mode only. To make a hint
|
|
67
|
+
specific pltr may make a few read calls (10 s timeout each) after the failure; suggested commands keep the command's `--profile`.
|
|
68
|
+
- **Context packs: `pltr context`** (#194). Compact summaries for a model to
|
|
69
|
+
read before writing code: `pltr context dataset <rid-or-path>` (columns
|
|
70
|
+
with full types, sample rows, schedules, the latest job and its status),
|
|
71
|
+
`pltr context ontology <ontology> [--types A,B]` (from one
|
|
72
|
+
`Ontology.get_full_metadata` call: each type's primary key, properties and
|
|
73
|
+
link types, and the action and query types that involve them, with their
|
|
74
|
+
parameters; a summary without `--types`) and `pltr context folder
|
|
75
|
+
<rid-or-path> --depth N`. Markdown by default, `--format json` for the same
|
|
76
|
+
content as data. Every list is capped and long values are cut, with a note
|
|
77
|
+
on how to narrow; a Markdown pack is never longer than 15 KB. A dataset
|
|
78
|
+
without a schema, or whose rows, schedules or jobs can't be read, still
|
|
79
|
+
gets a pack with a note. `--fixture-dir` writes the samples for tests
|
|
80
|
+
(`--rows` rows as Parquet plus schema JSON, or JSON objects per type),
|
|
81
|
+
never over an existing file, with a warning that they are real data.
|
|
82
|
+
- **The verify loop: `--wait` and `pltr assert`** (#195). `orchestration
|
|
83
|
+
builds create`, `orchestration schedules run`, `connectivity import
|
|
84
|
+
execute-file`/`execute-table` and `sql submit` take `--wait` (with
|
|
85
|
+
`--timeout`): pltr polls with backoff until the work finishes and prints its
|
|
86
|
+
final state. New exit codes: **8** (`work_failed`) when it finished but
|
|
87
|
+
failed (a failed build names its failed jobs and their outputs), and **9**
|
|
88
|
+
(`wait_timeout`) when `--timeout` passed first; the work keeps running and
|
|
89
|
+
`pltr orchestration builds wait <rid>` (new) resumes. `pltr assert dataset`
|
|
90
|
+
(`--min-rows`, reading at most that many rows; `--schema expected.json`;
|
|
91
|
+
`--updated-within 1h`), `pltr assert build --succeeded` and `pltr assert
|
|
92
|
+
objects --min-count` print a result and exit 8 (`assertion_failed`) when a
|
|
93
|
+
check fails.
|
|
94
|
+
- **`--emit-code`: the SDK code for a command's call** (#192). Add
|
|
95
|
+
`--emit-code` anywhere on a command line and pltr prints runnable
|
|
96
|
+
foundry-platform-sdk Python for the call the command would make, with the
|
|
97
|
+
real argument values, instead of making it: the client is built from
|
|
98
|
+
`FOUNDRY_HOST` and `FOUNDRY_TOKEN`, JSON options become SDK model
|
|
99
|
+
constructors, paged methods are looped the SDK's way, binary content goes
|
|
100
|
+
to the `--output` file or stdout, beta methods get `preview=True`, and
|
|
101
|
+
Compass paths (#193) are looked up with `Resource.get_by_path`. Nothing is
|
|
102
|
+
called and destructive commands don't ask. Secret arguments (connection
|
|
103
|
+
secrets, media-set tokens) come from environment variables in the snippet,
|
|
104
|
+
never inlined; a filter pltr applies locally, and reading every page, are
|
|
105
|
+
noted in a comment. 560 commands support it (every generated `pltr api`
|
|
106
|
+
command and the curated commands that make one SDK call); the others
|
|
107
|
+
(several calls, `resource search`, direct HTTP, local) fail with
|
|
108
|
+
`emit_code_unsupported` (exit 2).
|
|
109
|
+
|
|
15
110
|
## [0.17.0] - 2026-11-07
|
|
16
111
|
|
|
17
112
|
This release puts every pltr command on one set of rules for output, errors
|
|
@@ -1259,7 +1354,8 @@ No changes to pltr itself; only the version number changed.
|
|
|
1259
1354
|
and OAuth2 profiles, with credentials in the system keyring),
|
|
1260
1355
|
`pltr verify`, `pltr dataset get` and `pltr dataset create`.
|
|
1261
1356
|
|
|
1262
|
-
[Unreleased]: https://github.com/anjor/pltr-cli/compare/v0.
|
|
1357
|
+
[Unreleased]: https://github.com/anjor/pltr-cli/compare/v0.18.0...HEAD
|
|
1358
|
+
[0.18.0]: https://github.com/anjor/pltr-cli/compare/v0.17.0...v0.18.0
|
|
1263
1359
|
[0.17.0]: https://github.com/anjor/pltr-cli/compare/v0.16.0...v0.17.0
|
|
1264
1360
|
[0.16.0]: https://github.com/anjor/pltr-cli/compare/v0.15.0...v0.16.0
|
|
1265
1361
|
[0.15.0]: https://github.com/anjor/pltr-cli/compare/v0.14.1...v0.15.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: pltr-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.18.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
|
|
@@ -61,6 +61,17 @@ example `ri.foundry.main.dataset.<uuid>`. Most commands take RIDs, not
|
|
|
61
61
|
names; find them in Foundry's web interface, or with commands such as
|
|
62
62
|
`pltr folder list`, `pltr resource get-by-path` and `pltr ontology list`.
|
|
63
63
|
|
|
64
|
+
Wherever a command takes the RID of a Compass resource (a dataset, folder,
|
|
65
|
+
project, media set, connection, model, agent and so on), you can give its
|
|
66
|
+
path instead, such as `/Space/Project/data/employees`. pltr resolves the path
|
|
67
|
+
to the RID before it calls the API, with one lookup for all the paths in a
|
|
68
|
+
command, and checks that the resource is the right kind: a folder path given
|
|
69
|
+
to `pltr dataset get` fails with a `wrong_resource_type` error. The API itself
|
|
70
|
+
stays RID-based, and output always shows RIDs. A value starting with `/` is a
|
|
71
|
+
path; one starting with `ri.` is a RID. Spaces and the root folder can't be
|
|
72
|
+
looked up by path, so give their RIDs. `pltr commands show <command>` marks the
|
|
73
|
+
parameters that take a path with `"acceptsPath": true`.
|
|
74
|
+
|
|
64
75
|
## ✨ Key Features
|
|
65
76
|
|
|
66
77
|
- **Authentication**: token and OAuth2 profiles with credentials in the
|
|
@@ -177,8 +188,9 @@ pltr folder create "Analysis" --parent-folder <project-or-folder-rid>
|
|
|
177
188
|
# Run a SQL query
|
|
178
189
|
pltr sql execute "SELECT 1 AS test"
|
|
179
190
|
|
|
180
|
-
# Datasets are addressed by RID
|
|
191
|
+
# Datasets are addressed by RID, or by their Compass path
|
|
181
192
|
pltr dataset get <dataset-rid>
|
|
193
|
+
pltr dataset get "/My Space/My Project/data/employees"
|
|
182
194
|
pltr dataset branches list <dataset-rid>
|
|
183
195
|
pltr dataset files list <dataset-rid>
|
|
184
196
|
|
|
@@ -236,17 +248,33 @@ pltr is built to be scripted, by people and by agents.
|
|
|
236
248
|
|
|
237
249
|
Keys that don't apply are left out. In table and CSV mode the same error is
|
|
238
250
|
printed as readable text, including the Foundry `errorName`.
|
|
251
|
+
- **Errors say how to recover** where pltr knows: the error object then has a
|
|
252
|
+
`hint`, and a `suggestedCommand` to run next (text mode prints them as
|
|
253
|
+
`Hint:` and `Try:` lines). To make a hint specific pltr may make a few
|
|
254
|
+
read calls, for example to find the open transaction to abort.
|
|
255
|
+
|
|
256
|
+
| Failure | Error `type` (`errorName`) | `hint` / `suggestedCommand` |
|
|
257
|
+
|---|---|---|
|
|
258
|
+
| An object type, property, action type or link type that doesn't exist | `not_found` or `validation_error` (`ObjectTypeNotFound`, `PropertiesNotFound`, `ActionTypeNotFound`, `LinkTypeNotFound`) | the closest API names; the command that lists them |
|
|
259
|
+
| A RID or path of the wrong kind (a folder for a dataset) | `wrong_resource_type` | for a folder: `pltr folder list <it>` |
|
|
260
|
+
| A branch that already has an open transaction | `conflict` (`OpenTransactionAlreadyExists`) | names the transaction; `pltr dataset transactions abort <dataset> <transaction>` |
|
|
261
|
+
| A missing OAuth scope | `permission_denied` (`ApiUsageDenied`) | the scope the endpoint needs |
|
|
262
|
+
| Permission denied on an operation | `permission_denied` (`<Operation>PermissionDenied`) | the operation and the resource; `pltr resource-role list <rid> --include-inherited` |
|
|
263
|
+
| An expired or revoked token (HTTP 401) | `auth_error` | `export FOUNDRY_TOKEN=<new-token>`, or the `pltr configure configure` command for the profile |
|
|
264
|
+
| No resource at a path | `path_not_found` | what a path looks like |
|
|
239
265
|
|
|
240
266
|
| Exit code | Meaning | Error `type` |
|
|
241
267
|
|---|---|---|
|
|
242
268
|
| 0 | Success | |
|
|
243
269
|
| 1 | Unexpected error, or "no" at a confirmation prompt | `unexpected_error`, `aborted` |
|
|
244
|
-
| 2 | Usage error: bad or missing arguments, invalid JSON input, or `--yes` required | `usage_error`, `confirmation_required` |
|
|
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` |
|
|
245
271
|
| 3 | Authentication: no usable credentials, or HTTP 401 | `auth_error` |
|
|
246
272
|
| 4 | Permission denied (HTTP 403) | `permission_denied` |
|
|
247
|
-
| 5 | Not found (HTTP 404) | `not_found`, `api_not_found` |
|
|
273
|
+
| 5 | Not found (HTTP 404), or no resource at a path you gave | `not_found`, `api_not_found`, `path_not_found` |
|
|
248
274
|
| 6 | API validation error (HTTP 400, 422) | `validation_error` |
|
|
249
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 (the error's `suggestedCommand` waits again) | `wait_timeout` |
|
|
250
278
|
|
|
251
279
|
**Destructive commands ask first.** Commands that delete, remove, revoke,
|
|
252
280
|
reset, cancel, abort or replace something ask for confirmation, and
|
|
@@ -349,6 +377,74 @@ scripts as much as by people. An agent works in four steps:
|
|
|
349
377
|
Destructive commands never prompt without a terminal: they fail with exit
|
|
350
378
|
code 2 and change nothing unless you pass `--yes`.
|
|
351
379
|
|
|
380
|
+
**Know what's there before writing code: `pltr context`.** Context packs
|
|
381
|
+
are compact summaries for a model to read (Markdown; `--format json` for the
|
|
382
|
+
same content as data):
|
|
383
|
+
|
|
384
|
+
```bash
|
|
385
|
+
pltr context dataset /Space/Project/sales # columns, sample rows, schedules, latest job
|
|
386
|
+
pltr context ontology my-ontology --types Employee # keys, properties, links, actions and queries
|
|
387
|
+
pltr context folder /Space/Project --depth 2 # what's in a project: type, path, RID
|
|
388
|
+
```
|
|
389
|
+
|
|
390
|
+
Every list is capped and long values are cut, and the pack says what it cut
|
|
391
|
+
and how to narrow it (`--columns`, `--types`, a subfolder); a Markdown pack is
|
|
392
|
+
never longer than 15 KB. `--fixture-dir tests/fixtures` also writes the
|
|
393
|
+
samples for tests: `--rows` rows (Parquet, with a schema JSON) or objects
|
|
394
|
+
(JSON), never over an existing file. They are real Foundry data, so keep them
|
|
395
|
+
out of git unless you may share them.
|
|
396
|
+
|
|
397
|
+
**The verify loop: `--wait`, then `pltr assert`.** Commands that start
|
|
398
|
+
asynchronous work (`orchestration builds create`, `orchestration schedules
|
|
399
|
+
run`, `connectivity import execute-file/-table`, `sql submit`) take `--wait`:
|
|
400
|
+
pltr polls with backoff until the work finishes, prints its final state, and
|
|
401
|
+
exits 8 if it failed (the error names the failed jobs) or 9 if `--timeout`
|
|
402
|
+
passed first (`pltr orchestration builds wait <rid>` resumes). Then check the
|
|
403
|
+
result with exit codes, like tests:
|
|
404
|
+
|
|
405
|
+
```bash
|
|
406
|
+
pltr orchestration builds create @target.json --wait --timeout 900 --format json
|
|
407
|
+
pltr assert dataset /Space/Project/sales --min-rows 1 --updated-within 1h --schema expected.json
|
|
408
|
+
pltr assert objects my-ontology Employee --min-count 100
|
|
409
|
+
```
|
|
410
|
+
|
|
411
|
+
**From a working command to app code: `--emit-code`.** Add `--emit-code` to
|
|
412
|
+
a command and pltr prints the foundry-platform-sdk Python code for the call it
|
|
413
|
+
would make, with your argument values, instead of making it:
|
|
414
|
+
|
|
415
|
+
```bash
|
|
416
|
+
pltr dataset get "/My Space/My Project/sales" --emit-code
|
|
417
|
+
```
|
|
418
|
+
|
|
419
|
+
```python
|
|
420
|
+
import os
|
|
421
|
+
|
|
422
|
+
from foundry_sdk import FoundryClient, UserTokenAuth
|
|
423
|
+
|
|
424
|
+
client = FoundryClient(
|
|
425
|
+
auth=UserTokenAuth(token=os.environ["FOUNDRY_TOKEN"]),
|
|
426
|
+
hostname=os.environ["FOUNDRY_HOST"],
|
|
427
|
+
)
|
|
428
|
+
|
|
429
|
+
dataset_rid = client.filesystem.Resource.get_by_path(
|
|
430
|
+
path="/My Space/My Project/sales",
|
|
431
|
+
).rid
|
|
432
|
+
result = client.datasets.Dataset.get(
|
|
433
|
+
dataset_rid=dataset_rid,
|
|
434
|
+
)
|
|
435
|
+
print(result)
|
|
436
|
+
```
|
|
437
|
+
|
|
438
|
+
The snippet runs as is: it reads the host and token from the environment
|
|
439
|
+
(never a credential pltr knows), passes SDK models for JSON options
|
|
440
|
+
(`ontologies_models.EqualsQueryV2(...)`), pages the SDK's way and looks up
|
|
441
|
+
Compass paths. Secret arguments (connection secrets, media-set tokens) are
|
|
442
|
+
read from environment variables in the snippet, never written into it.
|
|
443
|
+
Nothing is called, so it's safe on destructive commands too.
|
|
444
|
+
Commands that make several calls (`pltr cp`, uploads in a transaction), call
|
|
445
|
+
Foundry without the SDK, or make no Foundry call say so (exit 2,
|
|
446
|
+
`emit_code_unsupported`) instead of printing part of the code.
|
|
447
|
+
|
|
352
448
|
`pltr commands list --format json` prints the whole manifest, one entry per
|
|
353
449
|
command, deterministically (sorted, no timestamps). The
|
|
354
450
|
[Claude Code skill](docs/user-guide/claude-skill.md) in `claude_skill/` packages
|
|
@@ -18,6 +18,17 @@ example `ri.foundry.main.dataset.<uuid>`. Most commands take RIDs, not
|
|
|
18
18
|
names; find them in Foundry's web interface, or with commands such as
|
|
19
19
|
`pltr folder list`, `pltr resource get-by-path` and `pltr ontology list`.
|
|
20
20
|
|
|
21
|
+
Wherever a command takes the RID of a Compass resource (a dataset, folder,
|
|
22
|
+
project, media set, connection, model, agent and so on), you can give its
|
|
23
|
+
path instead, such as `/Space/Project/data/employees`. pltr resolves the path
|
|
24
|
+
to the RID before it calls the API, with one lookup for all the paths in a
|
|
25
|
+
command, and checks that the resource is the right kind: a folder path given
|
|
26
|
+
to `pltr dataset get` fails with a `wrong_resource_type` error. The API itself
|
|
27
|
+
stays RID-based, and output always shows RIDs. A value starting with `/` is a
|
|
28
|
+
path; one starting with `ri.` is a RID. Spaces and the root folder can't be
|
|
29
|
+
looked up by path, so give their RIDs. `pltr commands show <command>` marks the
|
|
30
|
+
parameters that take a path with `"acceptsPath": true`.
|
|
31
|
+
|
|
21
32
|
## ✨ Key Features
|
|
22
33
|
|
|
23
34
|
- **Authentication**: token and OAuth2 profiles with credentials in the
|
|
@@ -134,8 +145,9 @@ pltr folder create "Analysis" --parent-folder <project-or-folder-rid>
|
|
|
134
145
|
# Run a SQL query
|
|
135
146
|
pltr sql execute "SELECT 1 AS test"
|
|
136
147
|
|
|
137
|
-
# Datasets are addressed by RID
|
|
148
|
+
# Datasets are addressed by RID, or by their Compass path
|
|
138
149
|
pltr dataset get <dataset-rid>
|
|
150
|
+
pltr dataset get "/My Space/My Project/data/employees"
|
|
139
151
|
pltr dataset branches list <dataset-rid>
|
|
140
152
|
pltr dataset files list <dataset-rid>
|
|
141
153
|
|
|
@@ -193,17 +205,33 @@ pltr is built to be scripted, by people and by agents.
|
|
|
193
205
|
|
|
194
206
|
Keys that don't apply are left out. In table and CSV mode the same error is
|
|
195
207
|
printed as readable text, including the Foundry `errorName`.
|
|
208
|
+
- **Errors say how to recover** where pltr knows: the error object then has a
|
|
209
|
+
`hint`, and a `suggestedCommand` to run next (text mode prints them as
|
|
210
|
+
`Hint:` and `Try:` lines). To make a hint specific pltr may make a few
|
|
211
|
+
read calls, for example to find the open transaction to abort.
|
|
212
|
+
|
|
213
|
+
| Failure | Error `type` (`errorName`) | `hint` / `suggestedCommand` |
|
|
214
|
+
|---|---|---|
|
|
215
|
+
| An object type, property, action type or link type that doesn't exist | `not_found` or `validation_error` (`ObjectTypeNotFound`, `PropertiesNotFound`, `ActionTypeNotFound`, `LinkTypeNotFound`) | the closest API names; the command that lists them |
|
|
216
|
+
| A RID or path of the wrong kind (a folder for a dataset) | `wrong_resource_type` | for a folder: `pltr folder list <it>` |
|
|
217
|
+
| A branch that already has an open transaction | `conflict` (`OpenTransactionAlreadyExists`) | names the transaction; `pltr dataset transactions abort <dataset> <transaction>` |
|
|
218
|
+
| A missing OAuth scope | `permission_denied` (`ApiUsageDenied`) | the scope the endpoint needs |
|
|
219
|
+
| Permission denied on an operation | `permission_denied` (`<Operation>PermissionDenied`) | the operation and the resource; `pltr resource-role list <rid> --include-inherited` |
|
|
220
|
+
| An expired or revoked token (HTTP 401) | `auth_error` | `export FOUNDRY_TOKEN=<new-token>`, or the `pltr configure configure` command for the profile |
|
|
221
|
+
| No resource at a path | `path_not_found` | what a path looks like |
|
|
196
222
|
|
|
197
223
|
| Exit code | Meaning | Error `type` |
|
|
198
224
|
|---|---|---|
|
|
199
225
|
| 0 | Success | |
|
|
200
226
|
| 1 | Unexpected error, or "no" at a confirmation prompt | `unexpected_error`, `aborted` |
|
|
201
|
-
| 2 | Usage error: bad or missing arguments, invalid JSON input, or `--yes` required | `usage_error`, `confirmation_required` |
|
|
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` |
|
|
202
228
|
| 3 | Authentication: no usable credentials, or HTTP 401 | `auth_error` |
|
|
203
229
|
| 4 | Permission denied (HTTP 403) | `permission_denied` |
|
|
204
|
-
| 5 | Not found (HTTP 404) | `not_found`, `api_not_found` |
|
|
230
|
+
| 5 | Not found (HTTP 404), or no resource at a path you gave | `not_found`, `api_not_found`, `path_not_found` |
|
|
205
231
|
| 6 | API validation error (HTTP 400, 422) | `validation_error` |
|
|
206
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 (the error's `suggestedCommand` waits again) | `wait_timeout` |
|
|
207
235
|
|
|
208
236
|
**Destructive commands ask first.** Commands that delete, remove, revoke,
|
|
209
237
|
reset, cancel, abort or replace something ask for confirmation, and
|
|
@@ -306,6 +334,74 @@ scripts as much as by people. An agent works in four steps:
|
|
|
306
334
|
Destructive commands never prompt without a terminal: they fail with exit
|
|
307
335
|
code 2 and change nothing unless you pass `--yes`.
|
|
308
336
|
|
|
337
|
+
**Know what's there before writing code: `pltr context`.** Context packs
|
|
338
|
+
are compact summaries for a model to read (Markdown; `--format json` for the
|
|
339
|
+
same content as data):
|
|
340
|
+
|
|
341
|
+
```bash
|
|
342
|
+
pltr context dataset /Space/Project/sales # columns, sample rows, schedules, latest job
|
|
343
|
+
pltr context ontology my-ontology --types Employee # keys, properties, links, actions and queries
|
|
344
|
+
pltr context folder /Space/Project --depth 2 # what's in a project: type, path, RID
|
|
345
|
+
```
|
|
346
|
+
|
|
347
|
+
Every list is capped and long values are cut, and the pack says what it cut
|
|
348
|
+
and how to narrow it (`--columns`, `--types`, a subfolder); a Markdown pack is
|
|
349
|
+
never longer than 15 KB. `--fixture-dir tests/fixtures` also writes the
|
|
350
|
+
samples for tests: `--rows` rows (Parquet, with a schema JSON) or objects
|
|
351
|
+
(JSON), never over an existing file. They are real Foundry data, so keep them
|
|
352
|
+
out of git unless you may share them.
|
|
353
|
+
|
|
354
|
+
**The verify loop: `--wait`, then `pltr assert`.** Commands that start
|
|
355
|
+
asynchronous work (`orchestration builds create`, `orchestration schedules
|
|
356
|
+
run`, `connectivity import execute-file/-table`, `sql submit`) take `--wait`:
|
|
357
|
+
pltr polls with backoff until the work finishes, prints its final state, and
|
|
358
|
+
exits 8 if it failed (the error names the failed jobs) or 9 if `--timeout`
|
|
359
|
+
passed first (`pltr orchestration builds wait <rid>` resumes). Then check the
|
|
360
|
+
result with exit codes, like tests:
|
|
361
|
+
|
|
362
|
+
```bash
|
|
363
|
+
pltr orchestration builds create @target.json --wait --timeout 900 --format json
|
|
364
|
+
pltr assert dataset /Space/Project/sales --min-rows 1 --updated-within 1h --schema expected.json
|
|
365
|
+
pltr assert objects my-ontology Employee --min-count 100
|
|
366
|
+
```
|
|
367
|
+
|
|
368
|
+
**From a working command to app code: `--emit-code`.** Add `--emit-code` to
|
|
369
|
+
a command and pltr prints the foundry-platform-sdk Python code for the call it
|
|
370
|
+
would make, with your argument values, instead of making it:
|
|
371
|
+
|
|
372
|
+
```bash
|
|
373
|
+
pltr dataset get "/My Space/My Project/sales" --emit-code
|
|
374
|
+
```
|
|
375
|
+
|
|
376
|
+
```python
|
|
377
|
+
import os
|
|
378
|
+
|
|
379
|
+
from foundry_sdk import FoundryClient, UserTokenAuth
|
|
380
|
+
|
|
381
|
+
client = FoundryClient(
|
|
382
|
+
auth=UserTokenAuth(token=os.environ["FOUNDRY_TOKEN"]),
|
|
383
|
+
hostname=os.environ["FOUNDRY_HOST"],
|
|
384
|
+
)
|
|
385
|
+
|
|
386
|
+
dataset_rid = client.filesystem.Resource.get_by_path(
|
|
387
|
+
path="/My Space/My Project/sales",
|
|
388
|
+
).rid
|
|
389
|
+
result = client.datasets.Dataset.get(
|
|
390
|
+
dataset_rid=dataset_rid,
|
|
391
|
+
)
|
|
392
|
+
print(result)
|
|
393
|
+
```
|
|
394
|
+
|
|
395
|
+
The snippet runs as is: it reads the host and token from the environment
|
|
396
|
+
(never a credential pltr knows), passes SDK models for JSON options
|
|
397
|
+
(`ontologies_models.EqualsQueryV2(...)`), pages the SDK's way and looks up
|
|
398
|
+
Compass paths. Secret arguments (connection secrets, media-set tokens) are
|
|
399
|
+
read from environment variables in the snippet, never written into it.
|
|
400
|
+
Nothing is called, so it's safe on destructive commands too.
|
|
401
|
+
Commands that make several calls (`pltr cp`, uploads in a transaction), call
|
|
402
|
+
Foundry without the SDK, or make no Foundry call say so (exit 2,
|
|
403
|
+
`emit_code_unsupported`) instead of printing part of the code.
|
|
404
|
+
|
|
309
405
|
`pltr commands list --format json` prints the whole manifest, one entry per
|
|
310
406
|
command, deterministically (sorted, no timestamps). The
|
|
311
407
|
[Claude Code skill](docs/user-guide/claude-skill.md) in `claude_skill/` packages
|
|
@@ -34,7 +34,8 @@ pltr commands list api datasets # everything under a path
|
|
|
34
34
|
commands above generated ones that match as well. `show` prints one command's
|
|
35
35
|
manifest entry:
|
|
36
36
|
|
|
37
|
-
- `usage`, `arguments` and `options` (flags, type, required, choices, default
|
|
37
|
+
- `usage`, `arguments` and `options` (flags, type, required, choices, default;
|
|
38
|
+
`acceptsPath: true` when it takes a Compass path as well as a RID);
|
|
38
39
|
- `beta`, `destructive` and `paged`;
|
|
39
40
|
- `outputFormats` (`binary` means raw bytes);
|
|
40
41
|
- `sdkMethods` (the SDK method it calls, relative to `FoundryClient`);
|
|
@@ -92,12 +93,34 @@ Pass `--format json`, or set `PLTR_FORMAT=json` once for the session.
|
|
|
92
93
|
|---|---|---|
|
|
93
94
|
| 0 | success | |
|
|
94
95
|
| 1 | unexpected error, or "no" at a prompt | read the message; `PLTR_DEBUG=1` shows a traceback |
|
|
95
|
-
| 2 | usage error, or `--yes` required | fix the arguments (`pltr commands show ...`) |
|
|
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
97
|
| 3 | authentication | check credentials with `pltr verify` |
|
|
97
98
|
| 4 | permission denied (403) | the account lacks access; tell the user |
|
|
98
|
-
| 5 | not found (404) | check the RID and that the account can see it |
|
|
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 |
|
|
99
100
|
| 6 | the API rejected the request (400, 422) | fix the input; see `errorName` and `parameters` |
|
|
100
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 |
|
|
104
|
+
|
|
105
|
+
### Errors that say how to recover
|
|
106
|
+
|
|
107
|
+
When pltr knows how to recover, the error object has a `hint` and often a
|
|
108
|
+
`suggestedCommand`. Read them before retrying, and don't retry blindly:
|
|
109
|
+
|
|
110
|
+
- `ObjectTypeNotFound`, `PropertiesNotFound`, `ActionTypeNotFound`,
|
|
111
|
+
`LinkTypeNotFound`: the hint lists the closest API names;
|
|
112
|
+
- `wrong_resource_type`: you passed a RID or path of the wrong kind; for a
|
|
113
|
+
folder, `suggestedCommand` lists it;
|
|
114
|
+
- `OpenTransactionAlreadyExists` (`conflict`): the hint names the open
|
|
115
|
+
transaction and `suggestedCommand` aborts it. Aborting discards its
|
|
116
|
+
uploads: ask the user unless you opened it yourself;
|
|
117
|
+
- `ApiUsageDenied` (`permission_denied`): the OAuth scope that's missing;
|
|
118
|
+
tell the user;
|
|
119
|
+
- `<Operation>PermissionDenied`: the operation and resource;
|
|
120
|
+
`suggestedCommand` shows who has roles on it;
|
|
121
|
+
- `auth_error` after HTTP 401: the token expired or was revoked; ask the user
|
|
122
|
+
for a new one (`suggestedCommand` shows where it goes);
|
|
123
|
+
- `path_not_found`: what a Compass path looks like.
|
|
101
124
|
|
|
102
125
|
## 4. Safety rules
|
|
103
126
|
|
|
@@ -126,9 +149,19 @@ name: `ri.<service>.<instance>.<type>.<id>`. For example:
|
|
|
126
149
|
list the root folder (`ri.compass.main.folder.0`); start from
|
|
127
150
|
`pltr space list`.
|
|
128
151
|
|
|
152
|
+
**Paths work too.** Wherever a command takes the RID of a Compass resource
|
|
153
|
+
(dataset, folder, project, any resource, media set, connection, model, agent,
|
|
154
|
+
...), you can pass the resource's full path instead, starting with its space:
|
|
155
|
+
`pltr dataset get "/My Space/My Project/flights"`. pltr resolves it to the RID
|
|
156
|
+
before calling the API (one lookup for all the paths in a command) and fails
|
|
157
|
+
with `wrong_resource_type` if it's the wrong kind of resource. The API is still
|
|
158
|
+
RID-based: output shows RIDs, so save the RID for later calls. Spaces and the
|
|
159
|
+
root folder can't be looked up by path. Usage lines show such options as
|
|
160
|
+
`RID|PATH`, and the reference marks such arguments "(RID or path)".
|
|
161
|
+
|
|
129
162
|
Users and groups are identified by UUIDs, ontologies by RID or API name, and
|
|
130
|
-
object types by API name. Don't construct RIDs; get them from the user
|
|
131
|
-
from command output:
|
|
163
|
+
object types by API name. Don't construct RIDs; get them from the user, from
|
|
164
|
+
a path, or from command output:
|
|
132
165
|
|
|
133
166
|
```bash
|
|
134
167
|
pltr resource get-by-path "/My Space/My Project/flights" --format json # path -> RID
|
|
@@ -151,6 +184,70 @@ pltr admin user search jane --format json # use
|
|
|
151
184
|
`@file.json` or as `@-` for stdin, and the SDK validates the value before
|
|
152
185
|
anything is sent.
|
|
153
186
|
|
|
187
|
+
## 6a. Before writing code against a resource: `pltr context`
|
|
188
|
+
|
|
189
|
+
Run `pltr context` first instead of several `get`/`schema`/`list` commands:
|
|
190
|
+
it's one compact pack written for you to read (Markdown, at most 15 KB; pass
|
|
191
|
+
`--format table` for it if you set `PLTR_FORMAT=json`, which gives the same
|
|
192
|
+
content as JSON). It says what it cut and how to narrow it.
|
|
193
|
+
|
|
194
|
+
```bash
|
|
195
|
+
pltr context dataset <rid-or-path> # columns + types, sample rows, schedules, latest job
|
|
196
|
+
pltr context ontology <ontology> --types Employee,Department # keys, properties, links, actions, queries
|
|
197
|
+
pltr context folder <rid-or-path> --depth 2 # resources with type, path and RID
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
Without `--types`, `context ontology` is a summary of every object type;
|
|
201
|
+
describe the ones you need with `--types`. For tests that shouldn't call
|
|
202
|
+
Foundry, add `--fixture-dir tests/fixtures` (and `--rows N`, at most 1000):
|
|
203
|
+
it writes sample rows (Parquet + schema JSON) or objects (JSON). They are real
|
|
204
|
+
data: tell the user, and keep them out of git unless they say otherwise.
|
|
205
|
+
|
|
206
|
+
## 6b. The verify loop: trigger with `--wait`, then `pltr assert`
|
|
207
|
+
|
|
208
|
+
After you start a build, a schedule run, an import or a SQL query, don't poll
|
|
209
|
+
by hand and don't stop checking early. Add `--wait` (and `--timeout`
|
|
210
|
+
seconds; default 600, or 300 for SQL): pltr returns once the work finished,
|
|
211
|
+
with exit 0 and the final state, exit 8 if it failed, or exit 9 if it's still
|
|
212
|
+
running (then run the error's `suggestedCommand`). Then verify the output
|
|
213
|
+
with `pltr assert`, which exits 8 when a check fails:
|
|
214
|
+
|
|
215
|
+
```bash
|
|
216
|
+
pltr orchestration builds create '{"type": "manual", "targetRids": ["ri.foundry.main.dataset.abc"]}' --wait --format json
|
|
217
|
+
pltr assert dataset ri.foundry.main.dataset.abc --min-rows 1 --updated-within 1h --format json
|
|
218
|
+
pltr assert build ri.foundry.main.build.abc --succeeded
|
|
219
|
+
pltr assert objects my-ontology Employee --min-count 1
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
Keep `--timeout` below your own tool-call timeout (for example 100 for a
|
|
223
|
+
two-minute limit): the RID is on the `{"type": "started"}` stderr line, and
|
|
224
|
+
after exit 9 the error's `suggestedCommand` waits again without starting the
|
|
225
|
+
work twice. Never re-run the trigger command to "retry" a wait.
|
|
226
|
+
|
|
227
|
+
`--schema expected.json` compares a dataset's columns with the output of
|
|
228
|
+
`pltr dataset schema get --format json`. To check an ontology action without
|
|
229
|
+
applying it, use `pltr ontology action-validate`.
|
|
230
|
+
|
|
231
|
+
## 6c. Writing app code: `--emit-code`
|
|
232
|
+
|
|
233
|
+
When you write code that calls Foundry (an app, a pipeline, a script), first
|
|
234
|
+
get the call working with pltr, then add `--emit-code` to the same command:
|
|
235
|
+
it prints the foundry-platform-sdk Python code for that call, with the same
|
|
236
|
+
arguments, instead of running it. Use it instead of guessing SDK parameter
|
|
237
|
+
names, model classes or pagination:
|
|
238
|
+
|
|
239
|
+
```bash
|
|
240
|
+
pltr ontology object-search my-ontology Employee --where '{"type": "eq", "field": "dept", "value": "R&D"}' --emit-code
|
|
241
|
+
pltr api datasets dataset read-table <dataset-rid> --api-format ARROW --emit-code
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
The snippet reads `FOUNDRY_HOST` and `FOUNDRY_TOKEN` (and any secret
|
|
245
|
+
argument, such as connection secrets) from the environment, looks up any
|
|
246
|
+
Compass path you gave, and pages the SDK's way: read its comments. Nothing runs, so
|
|
247
|
+
it's safe on destructive commands. A command that makes several calls (or no
|
|
248
|
+
Foundry call) fails with `emit_code_unsupported` (exit 2): use `pltr commands
|
|
249
|
+
show <command>` for its SDK methods and `pltr api ... --emit-code` for each.
|
|
250
|
+
|
|
154
251
|
## 7. Workflows
|
|
155
252
|
|
|
156
253
|
**Inspect a dataset and query it with SQL**
|