Skip to content

Conversation

@streino
Copy link
Contributor

@streino streino commented Jan 6, 2026

Prep work for opendatateam/udata-front-kit#961.

Also includes some renaming for more consistent collection-type names (e.g. objects_ids -> object_ids).

+ more consistent collection-type names (e.g. objects_ids -> object_ids)
@streino streino requested a review from abulte January 6, 2026 18:47
objects_ids = datagouv.get_organization_objects_ids(org.id, element_class)
if not objects_ids and not keep_empty:
verbose_print(
f"Fetching {element_class.name} for organization '{grist_org.slug}'..."
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
f"Fetching {element_class.name} for organization '{grist_org.slug}'..."
f"Fetching {element_class.name} for organization '{org.slug}'..."

Comment on lines 184 to 189
{
o["id"]: Organization(id=o["id"], name=o["name"], slug=o["slug"], type=None)
UniverseOrg(id=o.id, name=o.name, slug=o.slug, type=None)
for b in bouquets
if (o := b.get("organization"))
}.values()
if (o := b.organization)
}
)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants