Skip to content

List apps returns TypeError #278

@PraveenMundur

Description

@PraveenMundur

I am getting the following error while trying to access the list of apps.
Error: TypeError: init() got an unexpected keyword argument 'role'

Method to reproduce the issue.

from marathon import MarathonClient
host_url = "http://ip/service/marathon"
auth_token = "xxxxx"
client = MarathonClient(host_url, auth_token=auth_token)
client.list_apps()

version of marathon: 0.12.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions