Jump to content

Remus Avram

Members
  • Posts

    493
  • Joined

  • Days Won

    13

Remus Avram last won the day on May 27 2019

Remus Avram had the most liked content!

Profile Information

  • Location
    Munich

Recent Profile Visitors

3,707 profile views

Remus Avram's Achievements

  1. Can you please invite [email protected] as well?
  2. Hi Johan, is there any plan to implement this soon?
  3. Hi all, is there any update regarding this? This will help a lot our production to keep all the tasks and the information in one place, Ftrack.
  4. I think this is what exactly we are looking for we will give it a try and let you know if works for us
  5. Hi @Mattias Lagergren any updates regarding this? This will help us a lot if we were able to send messages to Artists using the Ftrack notifications.
  6. Thanks @Mattias Lagergren for your quick answer! The checklists are useful for us for the big shows.
  7. Hello, the only documentation which I found is this: http://ftrack.rtd.ftrack.com/en/stable/using/communicating/using_notes.html#using-communicating-using-notes-note-completion. But this is a note completion, not a checklist / todo list. Does anybody know if the checklist / todo list was implemented?
  8. Hello, is this already implemented? I don't find any documentation how to use it. Cheers, Remus
  9. Can you please add me, too my email address is: [email protected]
  10. Thanks for the info! We will try to test this, too.
  11. We already requested this. It makes sens for us as using multiple session it means creating multiple cache files which increase the number of queries to the DB.
  12. We tried multiple ways. It will not work. If you are using multi threads, use multiple session.
  13. Thanks @Martin Pengelly-Phillips for your info. I am interested how others studios are using the `ftrack_api`.
  14. Thanks @Martin Pengelly-Phillips for the info! So as I understand the cache is build per session. If there is a session per thread, then for each thread there is a cache file which can contain the same data as the other sessions. Am I correct? Having only one session, there is only one cache file with all the data and the queries are faster. Less queries to the database. Do you know if the sessions connected? I did a test and it seems that they are. I query in assetBuild in one session and I created a task using as parent the assetbuild from the other session and the task was created. @Martin Pengelly-Phillips: I am interested how are you using the session. Are you creating a new session for each query / commit?
  15. Thanks @Mattias Lagergren for your answer! For us it's quite important because we are planing to use threads in all of our tools. We would like to use at least 1 thread in order to not freeze the UI while it is fetching the data. You mean something like this: from multiprocessing.dummy import Pool as ThreadPool import ftrack_api from ftrack_api.symbol import Symbol session = ftrack_api.Session() def check_keys(entity): for key in entity.keys(): if isinstance(entity[key], Symbol): print entity, ': ', key def check_children(entity_id): entity = session.get('TypedContext', entity_id) if 'children' in entity.keys(): for child in entity['children']: check_keys(entity=child) check_children(entity_id=child['id']) def main(): projects = session.query("Project").all() projects_id = [project["id"] for project in projects] pool = ThreadPool() pool.map(check_children, projects_id) if __name__ == "__main__": main() It still doesn't work. In the thread most of the time session.get('TypedContext', entity_id) returns None.
×
×
  • Create New...