I'm using different dropbox contexts created with dropbox.Dropbox(...). In my application, I have two or more contexts sharing the same target account (and Console Apps) at a time. Example: contexts c1, c2 and c3 use the account foo@mail.com (App Foo) and c4, c5 use the account asd@mail.com (App Asd).
Can I use all of them in different threads (one context for a corresponding thread), assuming they will execute in parallel and will work as expected? Is there any need to use mutexes somewhere (in the case which the contexts that share the same account execute at the same time)?
I tried searching about the term "thread" inside the python dropbox docs in case I would find anything related, but found nothing about it. There's no info about the API being thread-safe anywhere on the site, or similar ones.
As I can see in the dropbox endpoints v2 page, all operations are be performed by using curl. Should I expect that the python's dropbox api also uses curl internally? Or should I use a python libcurl directly in this case, skipping the dropbox api entirely?
By searching in any python libcurl (such as PycURL, for example), it states that these libraries should be thread safe, which is exactly what I want, but if there's any chance to not have to reinvent the wheel, I would take it.
Thanks,
Carl HR.