-
Notifications
You must be signed in to change notification settings - Fork 1
/
TODO.txt
40 lines (30 loc) · 1.29 KB
/
TODO.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
- send traceback with exception message
- display traceback to user (in collapsed groupbox, or on right click)
- bug report
- max_workers on executor
- priority on jobs
- drag jobs around to reprioritize
- uifutures.worker.did_user_cancel()
- uifutures.Executor(title='Job Queue', app_key='default')
- eventually reconnect to /tmp/uifutures.{app_key}.sock
- this will require a host to have multiple executor connections, and
for workers to know which one they came from
- set app name
- set app icon
- auto dependency tracking by looking in args/kwargs for Futures
- make Future pickleable and able to reconnect to executor from a worker
- if you pass a future then a parent failing doesn't nessesarily mean
that a child will fail, as it may be able to catch the exception
- subjobs
- they appear as additional progress bars and status lines under the main
one
- jobs can prompt for buttons, like the Finder copy override buttons
- uifutures.worker.set_config(close_when_complete=False)
- uifutures.worker.set_actions(*buttons); create buttons which run whatever
{
'name': 'Open Shotgun',
'func': 'subprocess:call',
'args': [['open', entity.url]],
}
- "Report Bug" on uifutures failure
- use the sgactions.ticketui functions