pltr-cli 0.5.2__tar.gz → 0.6.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.5.2 → pltr_cli-0.6.0}/PKG-INFO +1 -1
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/pyproject.toml +1 -1
- pltr_cli-0.6.0/src/pltr/__init__.py +1 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/services/dataset.py +7 -1
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/uv.lock +1 -1
- pltr_cli-0.5.2/src/pltr/__init__.py +0 -1
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/.github/workflows/ci.yml +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/.github/workflows/publish.yml +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/.github/workflows/test-publish.yml +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/.gitignore +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/.pre-commit-config.yaml +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/CHANGELOG.md +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/CLAUDE.md +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/LICENSE +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/README.md +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/RELEASE.md +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/children.csv +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/docs/README.md +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/docs/api/wrapper.md +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/docs/examples/csv-upload.md +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/docs/examples/gallery.md +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/docs/features/dataset-transactions.md +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/docs/user-guide/aliases.md +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/docs/user-guide/authentication.md +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/docs/user-guide/commands.md +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/docs/user-guide/quick-start.md +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/docs/user-guide/troubleshooting.md +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/docs/user-guide/workflows.md +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/folder_info.json +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/folders.json +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/mypy.ini +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/scripts/release.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/__main__.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/auth/__init__.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/auth/base.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/auth/manager.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/auth/oauth.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/auth/storage.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/auth/token.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/cli.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/commands/__init__.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/commands/admin.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/commands/alias.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/commands/completion.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/commands/configure.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/commands/connectivity.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/commands/dataset.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/commands/folder.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/commands/mediasets.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/commands/ontology.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/commands/orchestration.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/commands/project.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/commands/resource.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/commands/resource_role.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/commands/shell.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/commands/space.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/commands/sql.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/commands/verify.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/config/__init__.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/config/aliases.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/config/profiles.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/config/settings.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/services/__init__.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/services/admin.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/services/base.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/services/connectivity.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/services/folder.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/services/mediasets.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/services/ontology.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/services/orchestration.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/services/project.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/services/resource.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/services/resource_role.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/services/space.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/services/sql.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/utils/__init__.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/utils/alias_resolver.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/utils/completion.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/utils/formatting.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/src/pltr/utils/progress.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/__init__.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/conftest.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/integration/README.md +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/integration/__init__.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/integration/conftest.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/integration/test_auth_flow.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/integration/test_cli_integration.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/integration/test_data_workflows.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/integration/test_data_workflows_simple.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/integration/test_simple_integration.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_auth/__init__.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_auth/test_base.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_auth/test_manager.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_auth/test_oauth.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_auth/test_storage.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_auth/test_token.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_commands/__init__.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_commands/test_admin.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_commands/test_alias.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_commands/test_completion.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_commands/test_connectivity.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_commands/test_dataset.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_commands/test_folder.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_commands/test_ontology.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_commands/test_orchestration.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_commands/test_shell.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_commands/test_sql.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_commands/test_verify_simple.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_config/__init__.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_config/test_aliases.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_config/test_profiles.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_config/test_settings.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_services/__init__.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_services/test_admin.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_services/test_base.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_services/test_connectivity.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_services/test_dataset.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_services/test_dataset_transactions.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_services/test_folder.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_services/test_ontology.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_services/test_orchestration.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_services/test_project.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_services/test_resource.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_services/test_resource_role.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_services/test_space.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_services/test_sql.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_utils/__init__.py +0 -0
- {pltr_cli-0.5.2 → pltr_cli-0.6.0}/tests/test_utils/test_alias_resolver.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.6.0"
|
|
@@ -149,9 +149,15 @@ class DatasetService(BaseService):
|
|
|
149
149
|
raise FileNotFoundError(f"File not found: {file_path}")
|
|
150
150
|
|
|
151
151
|
try:
|
|
152
|
+
# Read file content as bytes
|
|
153
|
+
with open(file_path, "rb") as f:
|
|
154
|
+
file_content = f.read()
|
|
155
|
+
|
|
156
|
+
# Use the correct method signature with body parameter
|
|
152
157
|
result = self.service.Dataset.File.upload(
|
|
153
158
|
dataset_rid=dataset_rid,
|
|
154
|
-
file_path=
|
|
159
|
+
file_path=file_path.name, # Just the filename, not full path
|
|
160
|
+
body=file_content,
|
|
155
161
|
branch_name=branch,
|
|
156
162
|
transaction_rid=transaction_rid,
|
|
157
163
|
)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.5.2"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|