Drop resolved channel log-guard TODO
Remove the stale `Channel.from_addr()` design note now that its `at_least_level()` guard avoids inactive pretty-rendering work. (this patch was generated in some part by `opencode` using `gpt-5.6-sol` (`openai`))wkt/start_or_cancel_tests_474
parent
67280c2898
commit
84ec895150
|
|
@ -198,9 +198,6 @@ class Channel:
|
||||||
# assert transport.raddr == addr
|
# assert transport.raddr == addr
|
||||||
chan = Channel(transport=transport)
|
chan = Channel(transport=transport)
|
||||||
|
|
||||||
# ?TODO, compact this into adapter level-methods?
|
|
||||||
# -[ ] would avoid extra repr-calcs if level not active?
|
|
||||||
# |_ how would the `calc_if_level` look though? func?
|
|
||||||
if log.at_least_level('runtime'):
|
if log.at_least_level('runtime'):
|
||||||
from tractor.devx import (
|
from tractor.devx import (
|
||||||
pformat as _pformat,
|
pformat as _pformat,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue