Skip to content

Comments

Drop "six" package#374

Open
gorodovoy9000 wants to merge 1 commit intoAltSchool:masterfrom
gorodovoy9000:drop_six_package
Open

Drop "six" package#374
gorodovoy9000 wants to merge 1 commit intoAltSchool:masterfrom
gorodovoy9000:drop_six_package

Conversation

@gorodovoy9000
Copy link

Since dynamic-rest is using modern Py3 interpreters - we can now remove "six" package from lib and replace it with Py3 methods

plus: fixed some potent bug in file dynamic_rest/routers.py line 332
fields = getattr(serializer, 'get_link_fields', lambda: [])() to
fields = getattr(serializer, 'get_link_fields', lambda: {})()
because further line 340 use "fields" as dict

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.

1 participant