Skip to content

Commit b2b1c72

Browse files
Fix method name typo in stub file discovered by mypy
1 parent 9e732d4 commit b2b1c72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/cuda/nvbench/__init__.pyi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,19 +126,19 @@ class State:
126126
def get_int64(self, name: str) -> int:
127127
"Get value for given Int64 axis from this configuration"
128128
...
129-
def get_int64_or_default_value(self, name: str, default_value: int) -> int:
129+
def get_int64_or_default(self, name: str, default_value: int) -> int:
130130
"Get value for given Int64 axis from this configuration"
131131
...
132132
def get_float64(self, name: str) -> float:
133133
"Get value for given Float64 axis from this configuration"
134134
...
135-
def get_float64_or_default_value(self, name: str, default_value: float) -> float:
135+
def get_float64_or_default(self, name: str, default_value: float) -> float:
136136
"Get value for given Float64 axis from this configuration"
137137
...
138138
def get_string(self, name: str) -> str:
139139
"Get value for given String axis from this configuration"
140140
...
141-
def get_string_or_default_value(self, name: str, default_value: str) -> str:
141+
def get_string_or_default(self, name: str, default_value: str) -> str:
142142
"Get value for given String axis from this configuration"
143143
...
144144
def add_element_count(self, count: int, column_name: Optional[str] = None) -> None:

0 commit comments

Comments
 (0)