Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion benchmarks/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ def load_kernel_config(

def process_single_kernel_mapping(
kernel_name: str, mapping: dict[str, Any]
) -> tuple[str, ...]:
) -> tuple[Any, ...]:
"""Process a single kernel mapping configuration."""
if not isinstance(mapping, dict):
raise ValueError(
Expand Down
8 changes: 4 additions & 4 deletions helion/_logging/_internal.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from dataclasses import field
import logging
import os
from typing import Any
from typing import Callable
from typing import ParamSpec

Expand Down Expand Up @@ -86,10 +87,9 @@ class LazyString:
def __init__(
self, func: Callable[P, str], *args: P.args, **kwargs: P.kwargs
) -> None:
# pyrefly: ignore [invalid-type-var]
self.func: Callable[P, str] = func
self.args: tuple[object, ...] = args
self.kwargs: object = kwargs
self.func: Callable[..., str] = func
self.args: tuple[Any, ...] = args
self.kwargs: dict[str, Any] = kwargs

def __str__(self) -> str:
return self.func(*self.args, **self.kwargs)
Loading