Holds the information about a running TensorBoard instance. Attributes: version: Version of the running TensorBoard. start_time: Seconds since epoch. pid: ID of the process running TensorBoard. port: Port on which TensorBoard is running. path_prefix: Relative prefi
| 57 | |
| 58 | @dataclasses.dataclass(frozen=True) |
| 59 | class TensorBoardInfo: |
| 60 | """Holds the information about a running TensorBoard instance. |
| 61 | |
| 62 | Attributes: |
| 63 | version: Version of the running TensorBoard. |
| 64 | start_time: Seconds since epoch. |
| 65 | pid: ID of the process running TensorBoard. |
| 66 | port: Port on which TensorBoard is running. |
| 67 | path_prefix: Relative prefix to the path, may be empty. |
| 68 | logdir: Data location used by the TensorBoard server, may be empty. |
| 69 | db: Database connection used by the TensorBoard server, may be empty. |
| 70 | cache_key: Opaque, as given by `cache_key` below. |
| 71 | """ |
| 72 | |
| 73 | version: str |
| 74 | start_time: int |
| 75 | pid: int |
| 76 | port: int |
| 77 | path_prefix: str |
| 78 | logdir: str |
| 79 | db: str |
| 80 | cache_key: str |
| 81 | |
| 82 | |
| 83 | def data_source_from_info(info): |
no outgoing calls
no test coverage detected
searching dependent graphs…