From 3093fe71b729e905e94fed2b0993841d5cd45a4b Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Tue, 26 Mar 2024 02:19:38 -0600 Subject: [PATCH] fix: Use Access.Roles instead of Userole --- tm_admin/tmdb.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tm_admin/tmdb.py b/tm_admin/tmdb.py index d3e7327..616f03e 100755 --- a/tm_admin/tmdb.py +++ b/tm_admin/tmdb.py @@ -30,11 +30,13 @@ from datetime import datetime from osm_rawdata.pgasync import PostgresClient from progress.bar import Bar, PixelBar -from tm_admin.types_tm import Userrole, Mappinglevel, Organizationtype, Taskcreationmode, Projectstatus, Permissions, Projectpriority, Projectdifficulty, Mappingtypes, Editors, Teamvisibility, Taskstatus +from tm_admin.types_tm import Mappinglevel, Organizationtype, Taskcreationmode, Projectstatus, Permissions, Projectpriority, Projectdifficulty, Mappingtypes, Editors, Teamvisibility, Taskstatus +from tm_admin.access import Roles from tm_admin.yamlfile import YamlFile import concurrent.futures from cpuinfo import get_cpu_info import asyncio + # from asyncpg import create_pool # from tm_admin.users.users import createSQLValues # from tm_admin.organizations.organizations import createSQLValues