Skip to content

Commit

Permalink
chore: add type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Oct 3, 2023
1 parent 8e54d0b commit 379400d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/dask_awkward/lib/inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
import numpy as np

if TYPE_CHECKING:
from awkward.highlevel import Array as AwkArray

from dask_awkward.lib.core import Array


def _random_boolean_like(array_like, probability):
def _random_boolean_like(array_like: AwkArray, probability: float) -> AwkArray:
import awkward as ak

backend = ak.backend(array_like)
Expand Down

0 comments on commit 379400d

Please sign in to comment.