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.

Assessment

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

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.

Description

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

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.

More from oracle/oci-cli

All issues in oracle/oci-cli

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.