Unable to use positional arguments in the decorator for database_sync_to_async #1849
-
Hi, Earlier
Now
File "[file-path]", line 27, in [class-name] using the following versions: Are positional arguments supported in the decorator? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Perhaps not with the decorator syntax... — but I'd have to dig in to look. I'd imagine it would work as:
BUT |
Beta Was this translation helpful? Give feedback.
Perhaps not with the decorator syntax... — but I'd have to dig in to look.
I'd imagine it would work as:
BUT
thread_sensitive
is specifically for database connections... AFAICS it should never beFalse
.