Dereference `self.target` and return the object. Examples -------- :: >>> f = tb.open_file('tables/tests/slink.h5') >>> f.root.arr2 /arr2 (SoftLink) -> /arr >>> print(f.root.arr2()) /arr (Array(2,)) ''
(self)
| 232 | _link_attrprefixes = ("_f_", "_c_", "_g_", "_v_") |
| 233 | |
| 234 | def __call__(self) -> Node | None: |
| 235 | """Dereference `self.target` and return the object. |
| 236 | |
| 237 | Examples |
| 238 | -------- |
| 239 | :: |
| 240 | |
| 241 | >>> f = tb.open_file('tables/tests/slink.h5') |
| 242 | >>> f.root.arr2 |
| 243 | /arr2 (SoftLink) -> /arr |
| 244 | >>> print(f.root.arr2()) |
| 245 | /arr (Array(2,)) '' |
| 246 | >>> f.close() |
| 247 | |
| 248 | """ |
| 249 | return self.dereference() |
| 250 | |
| 251 | def dereference(self) -> Node | None: |
| 252 | """Dereference a link.""" |
nothing calls this directly
no test coverage detected