frontend-visualqa 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,49 @@
1
+ """frontend-visualqa package."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from importlib import import_module
6
+ from typing import Any
7
+
8
+
9
+ __version__ = "0.1.0"
10
+
11
+ _LAZY_EXPORTS = {
12
+ "ActionExecutor": ("frontend_visualqa.actions", "ActionExecutor"),
13
+ "ArtifactManager": ("frontend_visualqa.artifacts", "ArtifactManager"),
14
+ "RunArtifacts": ("frontend_visualqa.artifacts", "RunArtifacts"),
15
+ "BrowserManager": ("frontend_visualqa.browser", "BrowserManager"),
16
+ "BrowserSession": ("frontend_visualqa.browser", "BrowserSession"),
17
+ "ClaimVerifier": ("frontend_visualqa.claim_verifier", "ClaimVerifier"),
18
+ "FrontendVisualQAError": ("frontend_visualqa.errors", "FrontendVisualQAError"),
19
+ "ConfigurationError": ("frontend_visualqa.errors", "ConfigurationError"),
20
+ "BrowserActionError": ("frontend_visualqa.errors", "BrowserActionError"),
21
+ "N1ClientError": ("frontend_visualqa.errors", "N1ClientError"),
22
+ "N1Client": ("frontend_visualqa.n1_client", "N1Client"),
23
+ "VisualQARunner": ("frontend_visualqa.runner", "VisualQARunner"),
24
+ "BrowserConfig": ("frontend_visualqa.schemas", "BrowserConfig"),
25
+ "BrowserMode": ("frontend_visualqa.schemas", "BrowserMode"),
26
+ "BrowserSessionStatus": ("frontend_visualqa.schemas", "BrowserSessionStatus"),
27
+ "BrowserStatusResult": ("frontend_visualqa.schemas", "BrowserStatusResult"),
28
+ "ClaimResult": ("frontend_visualqa.schemas", "ClaimResult"),
29
+ "RunResult": ("frontend_visualqa.schemas", "RunResult"),
30
+ "ScreenshotResult": ("frontend_visualqa.schemas", "ScreenshotResult"),
31
+ "VerifyVisualClaimsInput": ("frontend_visualqa.schemas", "VerifyVisualClaimsInput"),
32
+ "ViewportConfig": ("frontend_visualqa.schemas", "ViewportConfig"),
33
+ }
34
+
35
+ __all__ = sorted(_LAZY_EXPORTS)
36
+
37
+
38
+ def __getattr__(name: str) -> Any:
39
+ if name not in _LAZY_EXPORTS:
40
+ raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
41
+ module_name, attribute_name = _LAZY_EXPORTS[name]
42
+ module = import_module(module_name)
43
+ value = getattr(module, attribute_name)
44
+ globals()[name] = value
45
+ return value
46
+
47
+
48
+ def __dir__() -> list[str]:
49
+ return sorted(list(globals()) + __all__)