Skip to content

Commit fb0b6c3

Browse files
committed
fix rst rendering issues
1 parent d048b0f commit fb0b6c3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/mdio/builder/template_registry.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
templates used by the MDIO builder.
55
66
Key points
7+
78
- Global, thread-safe singleton (safe to use across threads)
89
- Fetching a template returns a deep-copied instance you can modify freely
910
- Comes pre-populated with common seismic templates
@@ -49,12 +50,14 @@ class TemplateRegistry:
4950
or other callers.
5051
5152
Thread-safety
53+
5254
- Creation uses double-checked locking to guarantee a single instance.
5355
- Registry operations are protected by an internal re-entrant lock.
5456
5557
Typical usage
58+
5659
- Use the module helpers: ``get_template``, ``list_templates``, ``register_template``,
57-
and ``is_template_registered``.
60+
and ``is_template_registered``.
5861
- Alternatively, use ``TemplateRegistry.get_instance()`` for direct access.
5962
"""
6063

0 commit comments

Comments
 (0)