updating dummymodules

This commit is contained in:
Ayush Saini 2024-05-19 18:26:20 +05:30
parent ae30ed15ec
commit 1119710804
6 changed files with 90 additions and 43 deletions

View file

@ -30,9 +30,7 @@ NOTE: This file was autogenerated by batools.dummymodule; do not edit by hand.
from __future__ import annotations
from typing import TYPE_CHECKING, overload, Sequence, TypeVar
from typing_extensions import override
from typing import TYPE_CHECKING, overload, override, Sequence, TypeVar
if TYPE_CHECKING:
from typing import Any, Callable
@ -290,12 +288,6 @@ class Env:
arcade: bool
"""Whether the app is targeting an arcade-centric experience."""
build_number: int
"""Integer build number for the engine.
This value increases by at least 1 with each release of the engine.
It is independent of the human readable `version` string."""
config_file_path: str
"""Where the app's config file is stored on disk."""
@ -315,6 +307,19 @@ class Env:
device_name: str
"""Human readable name of the device running this app."""
engine_build_number: int
"""Integer build number for the engine.
This value increases by at least 1 with each release of the engine.
It is independent of the human readable `version` string."""
engine_version: str
"""Human-readable version string for the engine; something like '1.3.24'.
This should not be interpreted as a number; it may contain
string elements such as 'alpha', 'beta', 'test', etc.
If a numeric version is needed, use `build_number`."""
gui: bool
"""Whether the app is running with a gui.
@ -362,13 +367,6 @@ class Env:
tv: bool
"""Whether the app is targeting a TV-centric experience."""
version: str
"""Human-readable version string for the engine; something like '1.3.24'.
This should not be interpreted as a number; it may contain
string elements such as 'alpha', 'beta', 'test', etc.
If a numeric version is needed, use `build_number`."""
vr: bool
"""Whether the app is currently running in VR."""
@ -1305,6 +1303,58 @@ def open_file_externally(path: str) -> None:
return None
def open_url(address: str, force_fallback: bool = False) -> None:
"""Open the provided URL.
Category: **General Utility Functions**
Attempts to open the provided url in a web-browser. If that is not
possible (or force_fallback is True), instead displays the url as
a string and/or qrcode.
"""
return None
def overlay_web_browser_close() -> bool:
"""Close any open overlay web browser.
Category: **General Utility Functions**
"""
return bool()
def overlay_web_browser_is_open() -> bool:
"""Return whether an overlay web browser is open currently.
Category: **General Utility Functions**
"""
return bool()
def overlay_web_browser_is_supported() -> bool:
"""Return whether an overlay web browser is supported here.
Category: **General Utility Functions**
An overlay web browser is a small dialog that pops up over the top
of the main engine window. It can be used for performing simple
tasks such as sign-ins.
"""
return bool()
def overlay_web_browser_open_url(address: str) -> None:
"""Open the provided URL in an overlayw web browser.
Category: **General Utility Functions**
An overlay web browser is a small dialog that pops up over the top
of the main engine window. It can be used for performing simple
tasks such as sign-ins.
"""
return None
def pre_env() -> dict:
"""(internal)

View file

@ -30,9 +30,7 @@ NOTE: This file was autogenerated by batools.dummymodule; do not edit by hand.
from __future__ import annotations
from typing import TYPE_CHECKING, TypeVar
from typing_extensions import override
from typing import TYPE_CHECKING, override, TypeVar
if TYPE_CHECKING:
from typing import Any, Callable

View file

@ -30,9 +30,7 @@ NOTE: This file was autogenerated by batools.dummymodule; do not edit by hand.
from __future__ import annotations
from typing import TYPE_CHECKING, TypeVar
from typing_extensions import override
from typing import TYPE_CHECKING, override, TypeVar
if TYPE_CHECKING:
from typing import Any, Callable

View file

@ -30,9 +30,7 @@ NOTE: This file was autogenerated by batools.dummymodule; do not edit by hand.
from __future__ import annotations
from typing import TYPE_CHECKING, overload, TypeVar
from typing_extensions import override
from typing import TYPE_CHECKING, overload, override, TypeVar
if TYPE_CHECKING:
from typing import Any, Callable, Literal, Sequence
@ -1677,6 +1675,14 @@ def resume_replay() -> None:
return None
def seek_replay(delta: float) -> None:
"""(internal)
Rewind or fast-forward replay.
"""
return None
def set_admins(admins: list[str]) -> None:
"""(internal)"""
return None
@ -1750,6 +1756,16 @@ def set_public_party_name(name: str) -> None:
return None
def set_public_party_public_address_ipv4(address: str | None) -> None:
"""(internal)"""
return None
def set_public_party_public_address_ipv6(address: str | None) -> None:
"""(internal)"""
return None
def set_public_party_queue_enabled(max_size: bool) -> None:
"""(internal)"""
return None

View file

@ -30,9 +30,7 @@ NOTE: This file was autogenerated by batools.dummymodule; do not edit by hand.
from __future__ import annotations
from typing import TYPE_CHECKING, TypeVar
from typing_extensions import override
from typing import TYPE_CHECKING, override, TypeVar
if TYPE_CHECKING:
from typing import Any, Callable

View file

@ -30,9 +30,7 @@ NOTE: This file was autogenerated by batools.dummymodule; do not edit by hand.
from __future__ import annotations
from typing import TYPE_CHECKING, TypeVar
from typing_extensions import override
from typing import TYPE_CHECKING, override, TypeVar
if TYPE_CHECKING:
from typing import Any, Callable, Literal, Sequence
@ -422,18 +420,6 @@ def is_party_icon_visible() -> bool:
return bool()
def open_url(address: str, force_internal: bool = False) -> None:
"""Open a provided URL.
Category: **General Utility Functions**
Open the provided url in a web-browser, or display the URL
string in a window if that isn't possible (or if force_internal
is True).
"""
return None
def rowwidget(
edit: bauiv1.Widget | None = None,
parent: bauiv1.Widget | None = None,
@ -542,6 +528,7 @@ def textwidget(
query_description: bauiv1.Widget | None = None,
adapter_finished: bool | None = None,
glow_type: str | None = None,
allow_clear_button: bool | None = None,
) -> bauiv1.Widget:
"""Create or edit a text widget.