Skip to content

AttributeError: 'dict_keys' object has no attribute 'sort' #4

@DamonLiu0814

Description

@DamonLiu0814

when i call the method without params, it's raise the error:
AttributeError: 'dict_keys' object has no attribute 'sort'

from jos.client import JDClient

client = JDClient(key='key', secret='secret')
method = 'jingdong.areas.overseasProvince.get'
params = {
}
res = client.call(method, False)
print(res)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions