Skip to content

Fix zero feature count display in layer summaries#14

Merged
danmaps merged 1 commit intomainfrom
codex/investigate-issue-with-arcgispro_cli-installation
Feb 6, 2026
Merged

Fix zero feature count display in layer summaries#14
danmaps merged 1 commit intomainfrom
codex/investigate-issue-with-arcgispro_cli-installation

Conversation

@danmaps
Copy link
Owner

@danmaps danmaps commented Feb 6, 2026

Motivation

  • Ensure layers with an explicit 0 feature count are shown as 0 instead of - by distinguishing None from falsy values.

Description

  • Update display logic in cli/arcgispro_cli/commands/query.py and cli/arcgispro_cli/commands/inspect.py to use feature_count = layer.get("featureCount") and format with f"{feature_count:,}" when feature_count is not None, otherwise show "-".

Testing

  • No automated tests were run for this change; the edits are limited to presentation logic in two CLI output locations.

Codex Task

@danmaps danmaps merged commit 37c63d4 into main Feb 6, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant