Skip to content

Package imports fails #501

@thibaudcolas

Description

@thibaudcolas

There’s a JSONDecodeError when triggering the import from: https://wagtail.org/admin/get-djangopackages/. Request to: https://djangopackages.org/api/v4/grids/?q=wagtail

Code:

def process(url="https://djangopackages.org/api/v4/grids/?q=wagtail"):
grid_data = requests.get(url).json() # noqa: S113
for item in grid_data.get("results", []):

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions