aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth/authorisation/resources/models.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-09-30 15:48:30 -0500
committerFrederick Muriuki Muriithi2024-09-30 16:11:18 -0500
commitb9de9e436dd4f84174f6fc1b707e1b303a94fcf4 (patch)
tree14156946d39f9bc15f567634b00286704203faeb /gn_auth/auth/authorisation/resources/models.py
parent5b7cbb34cf0f9a3d6be2fa4122cfaf58f23f3fa6 (diff)
downloadgn-auth-b9de9e436dd4f84174f6fc1b707e1b303a94fcf4.tar.gz
Refactor: Initialise phenotype packageHEADmain
* Move code into a new phenotypes package and update references. * Add new functions to fetch linked resources from GN3 data identifiers — this is useful for auth * Provide endpoint to fetch authorisation details for a specific phenotype.
Diffstat (limited to 'gn_auth/auth/authorisation/resources/models.py')
-rw-r--r--gn_auth/auth/authorisation/resources/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn_auth/auth/authorisation/resources/models.py b/gn_auth/auth/authorisation/resources/models.py
index d3df6dc..8d3cfc3 100644
--- a/gn_auth/auth/authorisation/resources/models.py
+++ b/gn_auth/auth/authorisation/resources/models.py
@@ -29,7 +29,7 @@ from .genotypes.models import (
attach_resources_data as genotype_attach_resources_data,
link_data_to_resource as genotype_link_data_to_resource,
unlink_data_from_resource as genotype_unlink_data_from_resource)
-from .phenotype import (
+from .phenotypes.models import (
resource_data as phenotype_resource_data,
attach_resources_data as phenotype_attach_resources_data,
link_data_to_resource as phenotype_link_data_to_resource,