Skip to content

Double fetching when fetching a user items. #2438

Open

Description

@MathieuLegault1

Hello,

Describe the bug
When fetching the items from a user, the properties from the initial fetch are not "saved" which means that when I try to access any properties it will fetch them again.

To Reproduce
Steps to reproduce the behavior:

gis.users.me.user.items(folder=folder, max_items=100)

Expected behavior
The properties from the initial fetch are used

Platform (please complete the following information):

  • OS: Windows 11
  • Python API Version: 2.4.2

Additional context
The reason this is caused is because the itemdict is not provided when instantiating the class. This is done in gis/_impl/_content_manager/folder/core.py in the list function.

This line yield _arcgis_gis.Item(gis=self._gis, itemid=item.get("id", None)) should probably be
yield _arcgis_gis.Item(gis=self._gis, itemid=item.get("id", None), itemdict=item)

Thanks!

Activity

  1. nanaeaubry commented on Jan 28, 2026

    @nanaeaubry
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions