Skip to content

Commit 184f1a6

Browse files
committed
docs: type hints for NexusExplorer
1 parent ea9f392 commit 184f1a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ess/reflectometry/gui.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import glob
22
import os
33
import uuid
4+
from collections.abc import Callable
45

56
import h5py
67
import ipywidgets as widgets
@@ -28,7 +29,7 @@
2829

2930

3031
class NexusExplorer:
31-
def __init__(self, runs_table, run_to_filepath):
32+
def __init__(self, runs_table: DataGrid, run_to_filepath: Callable[[str], str]):
3233
self.runs_table = runs_table
3334
self.run_to_filepath = run_to_filepath
3435

0 commit comments

Comments
 (0)