blaym-notebook-types 0.1.0a1__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,18 @@
1
+ from importlib.resources import files
2
+ from pathlib import Path
3
+
4
+ from . import _generated
5
+ from ._generated import * # noqa: F401,F403
6
+
7
+ __all__ = [
8
+ name
9
+ for name, obj in vars(_generated).items()
10
+ if getattr(obj, "__module__", None) == _generated.__name__
11
+ ] + ["schema_path"]
12
+
13
+
14
+ def schema_path() -> Path:
15
+ """Path of the JSON Schema bundle shipped inside this package."""
16
+ return Path(
17
+ str(files(__package__).joinpath("schema", "blaym-jupyter-contracts.schema.json"))
18
+ )