oracle / oracle/oci-cli

Got error: AttributeError: 'list' object has no attribute 'items'

Open Beginner friendly
#659 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
669
Forks
236
Avg merge
1m
Merged PRs (30d)
4

Description

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open services/object_storage/src/oci_cli_object_storage/objectstorage_cli_extended.py at line 2986 and inspect how response.data is used when updating the limit. Reproduce the reported AttributeError if possible, then verify the limit calculation works with the list response data and the error no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, cloud
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.