Skip to content

AttributeError: module 'sib_api_v3_sdk' has no attribute 'ListsApi' #92

Open
@by225

Description

@by225

Received the above error when trying to get an instance of the ListsApi. Turns out that the lists_api module was not included in either of these files:
sib_api_v3_sdk/init.py
sib_api_v3_sdk/api/init.py

Adding an import line to each of these two files seemed to solve the problem:
from sib_api_v3_sdk.api.lists_api import ListsApi

This fix did not seem to work in every environment, though. Ended up downgrading to v.7.5.0 on WSGI apps, and that seems to be working there. Fortunately, don't need the latest features yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions