Skip to content

Commit

Permalink
fix a pylint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
falkoschindler committed Jan 28, 2025
1 parent 3c56135 commit 34ca9a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nicegui/native/native.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ async def get_position(self) -> Tuple[int, int]:
def load_url(self, url: str) -> None:
self._send(url)

def load_html(self, content: str, base_uri: str = ...) -> None: # type: ignore
def load_html(self, content: str, base_uri: str = ...) -> None: # type: ignore # pylint: disable=arguments-renamed
# DEPRECATED: `content` will be renamed to `html` in NiceGUI 3.0 to match the parameter name in pywebview>=5.4
self._send(content, base_uri)

def load_css(self, stylesheet: str) -> None:
Expand Down

0 comments on commit 34ca9a6

Please sign in to comment.