Skip to content

feat: add SAML provider admin viewsets to enterprise API#2550

Draft
pwnage101 wants to merge 1 commit intomasterfrom
pwnage101/ENT-11567
Draft

feat: add SAML provider admin viewsets to enterprise API#2550
pwnage101 wants to merge 1 commit intomasterfrom
pwnage101/ENT-11567

Conversation

@pwnage101
Copy link
Contributor

@pwnage101 pwnage101 commented Mar 5, 2026

Comment on lines +29 to +32
def _get_tpa_classes(self):
# Deferred import — TPA models live in openedx-platform.
from common.djangoapps.third_party_auth.models import SAMLProviderConfig # pylint: disable=import-outside-toplevel
from common.djangoapps.third_party_auth.samlproviderconfig.serializers import SAMLProviderConfigSerializer # pylint: disable=import-outside-toplevel
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might just have to re-evaluate this whole approach because we don't want the view to import a bunch of modules from openedx-platform, which would have unit test implications.

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