mammoth-cli 2.2.64__tar.gz → 2.2.66__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.
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/PKG-INFO +1 -1
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/__init__.py +1 -1
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/dataset.py +85 -78
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/view.py +16 -5
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/pyproject.toml +1 -1
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/.gitignore +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/LICENSE +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/README.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/__main__.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/app.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/SKILL.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/about-mammoth.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/auth.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/capabilities-misc.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/capabilities.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/command-index.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/activity.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/addon.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/agent.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/ai.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/annotation.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/auth.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/automation.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/batch.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/billing.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/browse.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/calc.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/capability.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/client-app.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/completion.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/config.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/connector.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/context.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/dashboard-qa.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/dashboard-style.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/dashboard-template.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/dashboard.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/data-app.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/dataset.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/doctor.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/external-key.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/file.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/folder.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/job.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/link.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/log.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/notification.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/parameter.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/project.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/report.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/resolve.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/schedule.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/schema.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/skill.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/snippet.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/support.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/template.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/token.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/trash.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/upgrade.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/user.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/version.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/view-transform.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/view.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/webhook.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/workflow.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/commands/workspace.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/handoff.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/input.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/jobs-drafts.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/machine-output.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/operations.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/auth-scope.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/build-an-agent.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/cleanup.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/dashboards.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/database-import.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/end-to-end.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/exports.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/file-import.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/index.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/need-action.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/resources.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/scheduling.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/transforms.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/recipes/typed-etl-discovery.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/recovery.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/report-checklist.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/retention.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/safety.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/task-start.md +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/__init__.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/_lazy.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/activity.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/addon.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/agent.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/ai.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/annotation.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/auth.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/automation.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/batch.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/billing.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/browse.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/calc.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/capability.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/client_app.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/completion.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/config.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/connector.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/context.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/dashboard.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/data_app.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/doctor.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/external_key.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/file.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/folder.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/help_summaries.json +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/job.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/link.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/notification.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/parameter.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/project.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/registry.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/report.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/resolve.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/schedule.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/schema.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/skill.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/snippet.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/support.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/template.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/trash.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/upgrade.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/user.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/view_ops.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/view_profile.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/webhook.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/workflow.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/commands/workspace.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/context/__init__.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/context/credentials.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/context/endpoint.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/context/keyring_backend.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/context/oauth.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/context/profiles.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/context/resolver.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/contracts/__init__.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/contracts/auth.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/embed.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/errors/__init__.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/errors/envelope.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/manifest/__init__.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/manifest/loader.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/messages/__init__.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/output/__init__.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/output/envelope.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/output/normalize.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/output/policy.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/output/progress.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/output/render.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/py.typed +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/runtime/__init__.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/runtime/confirm.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/runtime/dataset_health.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/runtime/dryrun.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/runtime/dryrun_targets.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/runtime/embedded.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/runtime/executor.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/runtime/input_loader.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/runtime/intent_only.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/runtime/invocation.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/runtime/locked_files.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/runtime/new_data.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/runtime/opens.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/runtime/options.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/runtime/parents.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/runtime/runlog.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/runtime/session.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/runtime/state.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/runtime/strict.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/runtime/updates.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/runtime/validate.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/runtime/verify.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/__init__.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/append_blank_columns.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/argspec.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/board_values.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/coerce.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/command_contract.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/conditional_format.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/conditions.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/dashboard_filters.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/dashboard_pages.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/dashboard_review.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/data_profile.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/data_quality.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/dispatch.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/explore_cards.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/factory.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/folder_ids.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/input_fields.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/job_outcome.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/listing.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/local_time.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/mapping.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/openapi_types.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/positionals.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/protocol.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/read_queries.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/sdk_service.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/sql_check.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/stored_stats.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/testing.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/text_dates.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/type_system.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/view_analysis.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/view_variants.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/services/write_impact.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/skills/__init__.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/skills/installer.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/skills/steering.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/testing.py +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/activity.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/addon.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/agent.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/ai.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/annotation.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/auth.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/automation.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/batch.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/billing.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/browse.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/calc.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/capability.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/client-app.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/completion.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/config.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/connector.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/context.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/dashboard.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/data-app.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/dataset.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/doctor.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/external-key.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/file.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/folder.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/job.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/link.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/log.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/notification.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/parameter.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/project.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/report.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/resolve.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/schedule.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/schema.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/skill.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/snippet.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/support.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/template.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/token.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/trash.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/upgrade.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/user.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/version.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/view.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/webhook.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/workflow.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/commands/workspace.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/edits-target.source.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/openapi-operations.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/schema-v1.json +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/sdk-catalog.source.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/manifests/sdk-methods.yaml +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/openapi/metadata.json +0 -0
- {mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/spec/openapi/openapi.json +0 -0
|
@@ -171,52 +171,62 @@ def _tokens_in_order(needle: str, name: str) -> bool:
|
|
|
171
171
|
return True
|
|
172
172
|
|
|
173
173
|
|
|
174
|
-
def
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
174
|
+
def _search_term(needle: str) -> str:
|
|
175
|
+
"""The longest word of ``needle``: the server searches a substring, the words are
|
|
176
|
+
matched in order here."""
|
|
177
|
+
return max(needle.split(), key=len, default="")
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
def _hit_record(hit: dict[str, Any]) -> dict[str, Any]:
|
|
181
|
+
"""A resource-search hit in the shape of a dataset record, for ``name_hit``/``source_of``."""
|
|
182
|
+
info = hit.get("additional_info")
|
|
183
|
+
original = info.get("ORIGINAL_FILE_PROPS") if isinstance(info, dict) else None
|
|
184
|
+
file_name = original.get("FILE_NAME") if isinstance(original, dict) else None
|
|
185
|
+
return {
|
|
186
|
+
"id": hit.get("object_id"),
|
|
187
|
+
"name": hit.get("name"),
|
|
188
|
+
"status": hit.get("status"),
|
|
189
|
+
"created_at": hit.get("created_at"),
|
|
190
|
+
"updated_at": hit.get("last_updated_at"),
|
|
191
|
+
"stats": {"row_count": hit.get("row_count"), "column_count": hit.get("column_count")},
|
|
192
|
+
"additional_info": info,
|
|
193
|
+
"sources": [
|
|
194
|
+
{
|
|
195
|
+
"type": hit.get("source_type"),
|
|
196
|
+
"details": {"file_name": file_name, "connector_key": hit.get("integration_key")},
|
|
197
|
+
}
|
|
198
|
+
],
|
|
199
|
+
}
|
|
200
|
+
|
|
181
201
|
|
|
182
|
-
|
|
183
|
-
|
|
202
|
+
def _find_by_name(
|
|
203
|
+
service: Any, needle: str, projects: list[dict[str, Any]]
|
|
204
|
+
) -> tuple[list[dict[str, Any]], bool]:
|
|
205
|
+
"""Datasets in ``projects`` whose name has every token of ``needle`` in order, and whether cut.
|
|
206
|
+
|
|
207
|
+
One workspace search returns each hit with its size, times and source, so no
|
|
208
|
+
project's dataset list is read: that route costs the server a few queries per
|
|
209
|
+
dataset, and a project of a few hundred datasets took 20+ s to list.
|
|
184
210
|
"""
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
211
|
+
names = {p.get("id"): p.get("name") for p in projects}
|
|
212
|
+
hits, cut = search_hits(service, "datasource", _search_term(needle), fields="standard")
|
|
213
|
+
matches = []
|
|
214
|
+
for hit in hits:
|
|
215
|
+
name = hit.get("name")
|
|
216
|
+
if hit.get("project_id") not in names or not isinstance(name, str):
|
|
189
217
|
continue
|
|
190
|
-
|
|
191
|
-
response = service.call(
|
|
192
|
-
"mammoth.api.datasets.DatasetsAPI.list_all",
|
|
193
|
-
project_id=project_id,
|
|
194
|
-
fields=DATASET_ROW_FIELDS,
|
|
195
|
-
)
|
|
196
|
-
except CliError as error:
|
|
197
|
-
if skipped is None:
|
|
198
|
-
raise
|
|
199
|
-
skipped.append(
|
|
200
|
-
{
|
|
201
|
-
"project_id": project_id,
|
|
202
|
-
"project_name": project.get("name"),
|
|
203
|
-
"error": error.message,
|
|
204
|
-
}
|
|
205
|
-
)
|
|
218
|
+
if not _tokens_in_order(needle, name):
|
|
206
219
|
continue
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
}
|
|
218
|
-
)
|
|
219
|
-
return matches
|
|
220
|
+
record = _hit_record(hit)
|
|
221
|
+
matches.append(
|
|
222
|
+
{
|
|
223
|
+
"project_id": hit["project_id"],
|
|
224
|
+
"project_name": names[hit["project_id"]],
|
|
225
|
+
**name_hit(record),
|
|
226
|
+
"source": source_of(record),
|
|
227
|
+
}
|
|
228
|
+
)
|
|
229
|
+
return matches, cut
|
|
220
230
|
|
|
221
231
|
|
|
222
232
|
#: Pages of resource search read for one name (100 hits each); past it the result says so.
|
|
@@ -271,15 +281,6 @@ def search_cut_note(kind: str) -> str:
|
|
|
271
281
|
)
|
|
272
282
|
|
|
273
283
|
|
|
274
|
-
def _projects_holding(
|
|
275
|
-
service: Any, needle: str, visible: list[dict[str, Any]]
|
|
276
|
-
) -> tuple[list[dict[str, Any]], bool]:
|
|
277
|
-
"""The visible projects that hold a dataset whose name contains ``needle``."""
|
|
278
|
-
rows, cut = search_hits(service, "datasource", needle)
|
|
279
|
-
holding = {r.get("project_id") for r in rows}
|
|
280
|
-
return [p for p in visible if p.get("id") in holding], cut
|
|
281
|
-
|
|
282
|
-
|
|
283
284
|
def _other_projects(visible: list[dict[str, Any]], project_id: int) -> list[dict[str, Any]]:
|
|
284
285
|
"""Every visible project except ``project_id``."""
|
|
285
286
|
return [p for p in visible if p.get("id") != project_id]
|
|
@@ -394,8 +395,22 @@ def elsewhere_note(dropped: int) -> str:
|
|
|
394
395
|
if not dropped:
|
|
395
396
|
return ""
|
|
396
397
|
return (
|
|
397
|
-
f"{dropped} more match(es) in other projects are not listed
|
|
398
|
-
"
|
|
398
|
+
f"{dropped} more match(es) in other projects are not listed; the match in the "
|
|
399
|
+
"current project is the answer. They matter only when the user names another "
|
|
400
|
+
"""project: then --input '{"all_projects": true}' lists them."""
|
|
401
|
+
)
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
def _find_note(
|
|
405
|
+
matches: list[dict[str, Any]], is_exact: Callable[[dict[str, Any]], bool], needle: str
|
|
406
|
+
) -> str | None:
|
|
407
|
+
"""The ambiguity note, unless exactly one match in the project is the exact name."""
|
|
408
|
+
own = [m for m in matches if m.get("in_project") and is_exact(m)]
|
|
409
|
+
if len(own) != 1 or len(matches) < 2:
|
|
410
|
+
return ambiguity_note(len(matches), needle)
|
|
411
|
+
return (
|
|
412
|
+
f"'{own[0]['name']}' is dataset {own[0]['id']} in the current project; the other "
|
|
413
|
+
f"{len(matches) - 1} match(es) are other datasets or sit in other projects: use this id."
|
|
399
414
|
)
|
|
400
415
|
|
|
401
416
|
|
|
@@ -404,22 +419,20 @@ def _find_scoped(
|
|
|
404
419
|
needle: str,
|
|
405
420
|
visible: list[dict[str, Any]],
|
|
406
421
|
project_id: int,
|
|
407
|
-
skipped: list[dict[str, Any]],
|
|
408
422
|
) -> tuple[list[dict[str, Any]], list[dict[str, Any]], bool]:
|
|
409
423
|
"""``(matches, projects searched, cut)``: the project's own matches, then every other one's."""
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
searched = [home] + _other_projects(visible, project_id)
|
|
415
|
-
return _tag_scope(own + outside, project_id), searched, cut
|
|
424
|
+
searched = [named_project(service, project_id, visible), *_other_projects(visible, project_id)]
|
|
425
|
+
found, cut = _find_by_name(service, needle, searched)
|
|
426
|
+
matches = sorted(_tag_scope(found, project_id), key=lambda m: not m["in_project"])
|
|
427
|
+
return matches, searched, cut
|
|
416
428
|
|
|
417
429
|
|
|
418
430
|
def dataset_find(invocation: Invocation) -> HandlerResult:
|
|
419
431
|
"""Search dataset names for a substring across every visible project.
|
|
420
432
|
|
|
421
433
|
Read-only local composite: lists the projects the credential can see, then
|
|
422
|
-
|
|
434
|
+
reads one workspace search for the name and keeps the datasets whose name has
|
|
435
|
+
every word of the substring, in order, ignoring case. With
|
|
423
436
|
``--project`` the project's own matches come first and the matches in every
|
|
424
437
|
other visible project are returned too, each row marked ``in_project`` and
|
|
425
438
|
carrying its ``project_id`` and ``project_name``: the in-product agent runs
|
|
@@ -431,23 +444,21 @@ def dataset_find(invocation: Invocation) -> HandlerResult:
|
|
|
431
444
|
"""
|
|
432
445
|
name_substring = _require_string_positional(invocation, "name substring")
|
|
433
446
|
needle = name_substring.lower()
|
|
434
|
-
skipped: list[dict[str, Any]] = []
|
|
435
447
|
dropped = 0
|
|
448
|
+
|
|
449
|
+
def is_exact(m: dict[str, Any]) -> bool:
|
|
450
|
+
return str(m.get("name", "")).lower() == needle
|
|
451
|
+
|
|
436
452
|
with open_service(invocation) as (service, auth):
|
|
437
453
|
visible = _visible_projects(service)
|
|
438
454
|
cut = False
|
|
439
455
|
if invocation.project is not None:
|
|
440
|
-
matches, projects, cut = _find_scoped(
|
|
441
|
-
service, needle, visible, invocation.project, skipped
|
|
442
|
-
)
|
|
456
|
+
matches, projects, cut = _find_scoped(service, needle, visible, invocation.project)
|
|
443
457
|
if not all_projects_requested(invocation):
|
|
444
|
-
matches, dropped = narrow_to_project(
|
|
445
|
-
matches, lambda m: str(m.get("name", "")).lower() == needle
|
|
446
|
-
)
|
|
458
|
+
matches, dropped = narrow_to_project(matches, is_exact)
|
|
447
459
|
else:
|
|
448
460
|
projects = visible
|
|
449
|
-
|
|
450
|
-
matches = _find_in_projects(service, needle, holding, skipped)
|
|
461
|
+
matches, cut = _find_by_name(service, needle, visible)
|
|
451
462
|
meta = {
|
|
452
463
|
"profile": invocation.profile,
|
|
453
464
|
"workspace_id": auth.workspace_id,
|
|
@@ -455,11 +466,9 @@ def dataset_find(invocation: Invocation) -> HandlerResult:
|
|
|
455
466
|
}
|
|
456
467
|
result: dict[str, Any] = {
|
|
457
468
|
"matches": matches,
|
|
458
|
-
"projects_searched": len(projects)
|
|
469
|
+
"projects_searched": len(projects),
|
|
459
470
|
}
|
|
460
|
-
|
|
461
|
-
result["projects_skipped"] = skipped
|
|
462
|
-
notes = [ambiguity_note(len(matches), name_substring)]
|
|
471
|
+
notes = [_find_note(matches, is_exact, name_substring)]
|
|
463
472
|
if dropped:
|
|
464
473
|
result["elsewhere"] = dropped
|
|
465
474
|
notes.append(elsewhere_note(dropped))
|
|
@@ -563,10 +572,8 @@ def _dataset_name_search(
|
|
|
563
572
|
records = data.get("datasets", []) if isinstance(data, dict) else []
|
|
564
573
|
page = search_page(records, name, int(document.get("offset", 0)), document.get("limit"))
|
|
565
574
|
if page["matched"] == 0:
|
|
566
|
-
|
|
567
|
-
elsewhere =
|
|
568
|
-
service, name.lower(), _other_projects(holding, project_id)
|
|
569
|
-
)
|
|
575
|
+
found, cut = _find_by_name(service, name.lower(), _visible_projects(service))
|
|
576
|
+
elsewhere = [m for m in found if m["project_id"] != project_id]
|
|
570
577
|
if elsewhere:
|
|
571
578
|
page["in_other_projects"] = elsewhere
|
|
572
579
|
page["note"] = (
|
|
@@ -357,7 +357,9 @@ def _read_meta(
|
|
|
357
357
|
"""Envelope metadata for a data read, naming the dataset and view it read.
|
|
358
358
|
|
|
359
359
|
A number in an answer needs its source; without the names an agent that
|
|
360
|
-
silently used the wrong one of two look-alike datasets never says so.
|
|
360
|
+
silently used the wrong one of two look-alike datasets never says so. Both
|
|
361
|
+
carry their row count: a view's steps can filter rows, so a total read from
|
|
362
|
+
it is not the dataset's total, and the two counts are how an agent sees that.
|
|
361
363
|
"""
|
|
362
364
|
meta = _meta(invocation, workspace_id, project_id)
|
|
363
365
|
view = service.call(
|
|
@@ -365,17 +367,26 @@ def _read_meta(
|
|
|
365
367
|
dataset_id=dataset_id,
|
|
366
368
|
dataview_id=view_id,
|
|
367
369
|
project_id=project_id,
|
|
368
|
-
fields="
|
|
370
|
+
fields="id,name,row_count",
|
|
369
371
|
)
|
|
370
372
|
# The read just proved this dataset holds the view; keep the pair so the
|
|
371
373
|
# next command on it (a transform) needs no ``dataset_id`` of its own.
|
|
372
374
|
parents.remember(_profile_name(invocation), workspace_id, {view_id: dataset_id})
|
|
373
375
|
dataset = service.call(
|
|
374
|
-
_DATASET_GET_SYMBOL,
|
|
376
|
+
_DATASET_GET_SYMBOL,
|
|
377
|
+
dataset_id=dataset_id,
|
|
378
|
+
project_id=project_id,
|
|
379
|
+
fields="id,name,stats",
|
|
375
380
|
)
|
|
376
381
|
dataset = dataset.get("dataset", dataset) if isinstance(dataset, dict) else {}
|
|
377
|
-
|
|
378
|
-
|
|
382
|
+
view = view if isinstance(view, dict) else {}
|
|
383
|
+
stats = dataset.get("stats")
|
|
384
|
+
meta["dataset"] = {
|
|
385
|
+
"id": dataset_id,
|
|
386
|
+
"name": dataset.get("name"),
|
|
387
|
+
"row_count": stats.get("row_count") if isinstance(stats, dict) else None,
|
|
388
|
+
}
|
|
389
|
+
meta["view"] = {"id": view_id, "name": view.get("name"), "row_count": view.get("row_count")}
|
|
379
390
|
return meta
|
|
380
391
|
|
|
381
392
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/auth.md
RENAMED
|
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
|
{mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/input.md
RENAMED
|
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
|
{mammoth_cli-2.2.64 → mammoth_cli-2.2.66}/mammoth_cli/bundled_skill/mammoth-cli/references/safety.md
RENAMED
|
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
|