From 4e8c162a104a46f7625b0ad624285ed39568d3a1 Mon Sep 17 00:00:00 2001 From: Sawyer Bergeron Date: Thu, 5 Aug 2021 18:17:37 +0000 Subject: Fixing usability critiques Signed-off-by: Sawyer Bergeron Change-Id: I5cbdef6cee6643beeb7c4af402d16c6b9055969b Signed-off-by: Sawyer Bergeron --- src/resource_inventory/resource_manager.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/resource_inventory') diff --git a/src/resource_inventory/resource_manager.py b/src/resource_inventory/resource_manager.py index 1935e0c..37bf33c 100644 --- a/src/resource_inventory/resource_manager.py +++ b/src/resource_inventory/resource_manager.py @@ -6,14 +6,16 @@ # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## +from __future__ import annotations + import re -import typing from typing import Optional from django.db.models import Q from dashboard.exceptions import ResourceAvailabilityException from resource_inventory.models import ( + Resource, ResourceBundle, ResourceTemplate, ResourceConfiguration, @@ -23,6 +25,9 @@ from resource_inventory.models import ( InterfaceConfiguration, ) +from account.models import Lab +from django.contrib.auth.models import User + class ResourceManager: -- cgit 1.2.3-korg