aboutsummaryrefslogtreecommitdiffstats
path: root/src/resource_inventory
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2021-08-05 18:17:37 +0000
committerSawyer Bergeron <sbergeron@iol.unh.edu>2021-08-05 15:18:36 -0400
commit4e8c162a104a46f7625b0ad624285ed39568d3a1 (patch)
treefafcaaf3276b5dc4a8a38ac2b3e177d936339299 /src/resource_inventory
parentaa06cf305172854a47d61387c4df4f893dd00839 (diff)
Fixing usability critiques
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: I5cbdef6cee6643beeb7c4af402d16c6b9055969b Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Diffstat (limited to 'src/resource_inventory')
-rw-r--r--src/resource_inventory/resource_manager.py7
1 files changed, 6 insertions, 1 deletions
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: