question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Refactor: all `Proxied*` APIs define `authentication_classes` which could be a Mixin

See original GitHub issue

We have defined several Proxied*API classes that all of them define authentication_classes with a comment about why. It would be good to move this to a mixin and inherit all those API classes from it.

See https://github.com/readthedocs/readthedocs.org/pull/8540/files#r717806346

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
astrojuanlucommented, Oct 7, 2021

Fixed in #8562, thanks for your contribution @deepto98 ! 🙌🏽

1reaction
humitoscommented, Sep 30, 2021

@deepto98 Hi! It’s not assigned already. I just assigned you. Happy hacking! 😉 👨🏼‍💻

Read more comments on GitHub >

github_iconTop Results From Across the Web

Moved authenticated_classes definitions from API classes to ...
Fix for #8542 all Proxied* APIs define authentication_classes which could be a Mixin.
Read more >
Switching multiple inheritance via mixins to composition but ...
I would like to refactor the Asserto class to compose itself of ... I could define every single method in the Asserto class...
Read more >
T. Franzel - drf-spectacular
Sane and flexible OpenAPI 3 schema generation for Django REST framework. Documentation is an integral part of API development and OpenAPI 3 ...
Read more >
Refactoring REST APIs | ReadyAPI Documentation
Create and run automated functional, load and security tests for REST and SOAP APIs. Virtualize APIs and run the mocks.
Read more >
Refactoring a Component from Vue 2 Options API to Vue 3 ...
To emit an event, first, we need to declare it with the defineEmits helper and then use the return value as the emitter....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found