diff options
author | Frederick Muriuki Muriithi | 2024-09-25 18:48:07 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-09-25 18:48:33 -0500 |
commit | 1968503b6b01e8612d1d2aaedd7c1d80092ba2de (patch) | |
tree | 3a549e0c46e3f221420ac3aca9fcba7e5ea4c47a /gn_auth/auth/authorisation/resources/models.py | |
parent | a3f0e670635ad4319e241ada50587af75a0a2901 (diff) | |
download | gn-auth-1968503b6b01e8612d1d2aaedd7c1d80092ba2de.tar.gz |
Implement genotype resource creation via API with resource data
Create the resource, assign the resource-owner role and link the
resource's data in a single API call.
Diffstat (limited to 'gn_auth/auth/authorisation/resources/models.py')
-rw-r--r-- | gn_auth/auth/authorisation/resources/models.py | 2 |
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 e86bc24..2855c70 100644 --- a/gn_auth/auth/authorisation/resources/models.py +++ b/gn_auth/auth/authorisation/resources/models.py @@ -24,7 +24,7 @@ from .mrna import ( attach_resources_data as mrna_attach_resources_data, link_data_to_resource as mrna_link_data_to_resource, unlink_data_from_resource as mrna_unlink_data_from_resource) -from .genotype import ( +from .genotypes.models import ( resource_data as genotype_resource_data, attach_resources_data as genotype_attach_resources_data, link_data_to_resource as genotype_link_data_to_resource, |