new temporal scope handling in client.py