dap client throwing QueryException on sync table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2024
10:26 PM
Hi all,
I am getting this error
SELECT cls.relname
FROM pg_catalog.pg_class AS cls INNER JOIN pg_catalog.pg_namespace AS nsp ON cls.relnamespace = nsp.oid
WHERE nsp.nspname = 'instructure_dap' AND (cls.relkind = 'c')
;
when syncing the table with dap 1.1.0, PostgreSQL 16, Python 3.12.2, Windows 11
tasks = [
sync_or_init_table(
base_url=base_url,
credentials=credentials,
db_connection=db_connection,
namespace=namespace,
table_name=table_name,
)
for table_name in canvas_tables
]
await asyncio.gather(*tasks)
but sequential execution does not throw QueryException and works fine
but sequential execution does not throw QueryException and works fine
for table_name in canvas_tables:
await sync_or_init_table(
base_url=base_url,
credentials=credentials,
db_connection=db_connection,
namespace=namespace,
table_name=table_name,
)
I am new to Python and its concurrency code. I would appreciate any suggestions in my code.
Thanks!
I am new to Python and its concurrency code. I would appreciate any suggestions in my code.
Thanks!