Closed JuhaKiili closed 4 years ago
Another cool API for this could be a partial log scope:
with valohai.logs.log_scope() as l: l['foo'] = 8
You can automagically flush values in
__exit__
then.
Could be nice, but referring to the "Otso principle", having multiple ways of achieving the same goal is adding complexity. I'm also aiming for MVP here and this feels like extra.
Another cool API for this could be a partial log scope:
You can automagically flush values in
__exit__
then.